Last active
December 21, 2015 02:59
-
-
Save winsonwq/6239305 to your computer and use it in GitHub Desktop.
Viff config file for AAMI prodtest & prod
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
module.exports = { | |
seleniumHost: 'http://localhost:4444/wd/hub', | |
browsers: ['firefox'], | |
envHosts: { | |
prodtest: 'http://prodtest.aami.com.au', | |
prod: 'http://www.aami.com.au' | |
}, | |
paths: [ | |
// /* whole pages */ | |
'/', | |
'/car-insurance', | |
'/car-insurance/third-party-property-car-insurance', | |
'/car-insurance/car-insurance-comparison', | |
'/skilled-drivers', | |
'/sitemap', | |
'/online-services', | |
// /* partial */ | |
['/', '#header'], | |
['/', '#mainnav'], | |
['/', '#tnt-quick-quote-button .btn-standard'], | |
['/', '#superfooter'], | |
['/', '#footer'], | |
['/', '.hp-box.onlinequote'], | |
['/retrieve-quote', '.summary-box-wrapper'], | |
['/retrieve-quote', '.reasons-to-join-panel'], | |
['/motorcycle-insurance', '.summary-box li:first-child'], | |
/* clickable */ | |
['/car-insurance/third-party-property-car-insurance', function (driver, webdriver) { | |
driver.findElement(webdriver.By.css('.accordion-lists h6')).click(); | |
}] | |
], | |
reportFormat: 'file' /* 'html' or 'json' */ | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment