add wait to studios int. test to avoid flakyness

This commit is contained in:
BryceLTaylor 2021-11-19 09:52:41 -05:00
parent a3acec48fd
commit 391c0070ba

View file

@ -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