Skip to content

Commit

Permalink
test: try protractor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
3cp committed Mar 11, 2020
1 parent 4d6d438 commit 64467ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion skeleton/protractor/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ const config = {
'--disable-renderer-backgrounding',
'--disable-device-discovery-notifications',
'--no-sandbox',
'--disable-dev-shm-usage'
'--disable-dev-shm-usage',
'--window-size=1024,768'
]
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ describe('aurelia skeleton app', function() {

it('should navigate to users page', async () => {
await poSkeleton.navigateTo('#/users');
browser.sleep(2000);
await expect(await poSkeleton.getCurrentPageTitle()).toBe('Github Users | Aurelia');
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export class PageObjectSkeleton {
const navigatingReady = browser.waitForRouterComplete();
await element(by.css('a[href="' + href + '"]')).click();
await navigatingReady;
await browser.sleep(200);
}
}

0 comments on commit 64467ff

Please sign in to comment.