mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
e2e test components refactoring (#76)
This commit is contained in:
committed by
Cilibiu Bogdan
parent
8df9aab5c0
commit
56d62276d7
@@ -121,7 +121,7 @@ describe('Login', () => {
|
||||
|
||||
loginPage
|
||||
.loginWith(username)
|
||||
.then(() => browser.driver.navigate().back())
|
||||
.then(() => browser.navigate().back())
|
||||
.then(() => {
|
||||
expect(browser.getCurrentUrl()).toContain(APP_ROUTES.PERSONAL_FILES);
|
||||
});
|
||||
|
@@ -58,7 +58,7 @@ describe('Logout', () => {
|
||||
|
||||
it('redirects to Login page when pressing browser Back after logout', () => {
|
||||
page.signOut()
|
||||
.then(() => browser.driver.navigate().back())
|
||||
.then(() => browser.navigate().back())
|
||||
.then(() => {
|
||||
expect(browser.getCurrentUrl()).toContain(APP_ROUTES.LOGIN);
|
||||
});
|
||||
|
Reference in New Issue
Block a user