fix flaky tests (#1461)

This commit is contained in:
Adina Parpalita
2020-05-09 03:36:28 -07:00
committed by GitHub
parent 0e7eed3cd5
commit 03a1a5c0e9
5 changed files with 32 additions and 25 deletions

View File

@@ -87,6 +87,10 @@ describe('Library actions', () => {
done();
});
beforeEach(async () => {
await Utils.pressEscape();
});
afterEach(async (done) => {
await Utils.pressEscape();
await page.header.expandSideNav();