mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
add wait to studios int. test to avoid flakyness
This commit is contained in:
parent
a3acec48fd
commit
391c0070ba
1 changed files with 2 additions and 1 deletions
|
@ -128,7 +128,8 @@ describe('studio management', () => {
|
|||
// sign in as user2
|
||||
await signIn(username2, password);
|
||||
await findByXpath('//span[contains(@class, "profile-name")]');
|
||||
// for some reason the user isn't showing up without reloading the page
|
||||
// for some reason the user isn't showing up without waiting and reloading the page
|
||||
await driver.sleep(2000);
|
||||
await driver.get(curatorTab);
|
||||
|
||||
// promote user3
|
||||
|
|
Loading…
Reference in a new issue