mirror of
https://github.com/zhigang1992/viff.git
synced 2026-01-12 17:53:17 +08:00
update demo.
This commit is contained in:
@@ -9,14 +9,14 @@ module.exports = {
|
||||
},
|
||||
paths: [
|
||||
['/', '.region.region-sidebar-second.sidebar'],
|
||||
// ['/', '#block-menu-block-1'],
|
||||
// ['/', '#columns'],
|
||||
// ['/', '#page-footer'],
|
||||
// '/savings',
|
||||
// '/savings-accounts',
|
||||
// '/savings/savings-accounts/help-me-choose',
|
||||
// ['/savings/savings-accounts/help-me-choose', '.call-to-action'],
|
||||
// ['/bank-accounts/personal-transactions/compare-accounts', '#main-content']
|
||||
['/', '#block-menu-block-1'],
|
||||
['/', '#columns'],
|
||||
['/', '#page-footer'],
|
||||
'/savings',
|
||||
'/savings-accounts',
|
||||
'/savings/savings-accounts/help-me-choose',
|
||||
['/savings/savings-accounts/help-me-choose', '.call-to-action'],
|
||||
['/bank-accounts/personal-transactions/compare-accounts', '#main-content']
|
||||
],
|
||||
reportFormat: 'file'
|
||||
};
|
||||
@@ -4,10 +4,9 @@ module.exports = (function initLinks() {
|
||||
|
||||
return [
|
||||
'/404.html',
|
||||
'/'
|
||||
// ['/', function (driver, webdriver) {
|
||||
// driver.findElement(webdriver.By.partialLinkText('Drupal初体验')).click();
|
||||
// }]
|
||||
['/', function (driver, webdriver) {
|
||||
driver.findElement(webdriver.By.partialLinkText('Drupal初体验')).click();
|
||||
}]
|
||||
];
|
||||
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user