mirror of
https://github.com/hcengineering/platform.git
synced 2025-03-14 10:09:59 +00:00
Improve WS tests stability (#8196)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
633e3d8fa1
commit
f3beec9265
@ -69,6 +69,10 @@ test.describe('Workspace Archive tests', () => {
|
||||
return url.pathname.startsWith('/login/selectWorkspace') || url.pathname.startsWith('/workbench/')
|
||||
})
|
||||
|
||||
await loginPage2.page.waitForURL((url) => {
|
||||
return url.pathname.startsWith('/login/selectWorkspace') || url.pathname.startsWith('/workbench/')
|
||||
})
|
||||
|
||||
const adminPage = new AdminPage(page2)
|
||||
await adminPage.gotoAdmin()
|
||||
|
||||
|
@ -190,6 +190,9 @@ test.describe('Workspace tests', () => {
|
||||
|
||||
const signUpPage2 = new SignUpPage(page2)
|
||||
await signUpPage2.signUp(newUser2)
|
||||
await page2.waitForURL((url) => {
|
||||
return url.pathname.startsWith('/login/createWorkspace')
|
||||
})
|
||||
|
||||
await page2.waitForURL((url) => {
|
||||
return url.pathname.startsWith('/login/createWorkspace')
|
||||
|
@ -71,6 +71,10 @@ test.describe('Workspace Migration tests', () => {
|
||||
return url.pathname.startsWith('/login/selectWorkspace') || url.pathname.startsWith('/workbench/')
|
||||
})
|
||||
|
||||
await loginPage2.page.waitForURL((url) => {
|
||||
return url.pathname.startsWith('/login/selectWorkspace') || url.pathname.startsWith('/workbench/')
|
||||
})
|
||||
|
||||
const adminPage = new AdminPage(page2)
|
||||
await adminPage.gotoAdmin()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user