update demo.

This commit is contained in:
Wang Qiu
2013-08-17 18:33:09 +08:00
parent acf56056ed
commit 84e140d308
2 changed files with 11 additions and 12 deletions

View File

@@ -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'
};

View 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();
}]
];
})();