Skip to content

Commit

Permalink
fix tests again
Browse files Browse the repository at this point in the history
  • Loading branch information
stacey-gammon committed Feb 23, 2017
1 parent 2d44889 commit 3212c91
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions test/support/page_objects/dashboard_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,11 @@ export default class DashboardPage {
if (!onPage) {
await PageObjects.common.try(async () => {
const goToDashboardLink = await PageObjects.common.findByCssSelector('a[href="#/dashboard"]');
PageObjects.common.debug('Clicking dashboard landing page link');
await goToDashboardLink.click();
await PageObjects.common.sleep(1000);
});
// Once the searchFilter can be found, we know the page finished loading.
await PageObjects.common.try(async () => {
// Once the searchFilter can be found, we know the page finished loading.
const searchFilter = await PageObjects.common.findTestSubject('searchFilter');
PageObjects.common.debug('Search Filter object found: ' + searchFilter);
});
}
PageObjects.common.debug('Leaving go to dashboard landing page');
}

clickNewDashboard() {
Expand Down

0 comments on commit 3212c91

Please sign in to comment.