chore: test flakiness

pull/5911/head
k3yi0 2022-04-28 13:38:16 +02:00
parent beef7d7f5a
commit 751843fa09
1 changed files with 4 additions and 2 deletions

View File

@ -65,8 +65,10 @@ export const OAuthLogout = () => {
}
export const OAuthLoginAsDiffUser = (name: string) => {
setTimeout(changeUserInfo(name), 2000)
return cy.visit('/oauth/oauth-mock/logout')
changeUserInfo(name)
setTimeout(function() {
return cy.visit('/oauth/oauth-mock/logout')
}, 2000)
}
// Change enviromental values in cypress.json
export const createConnection = (url?: string) => {