Skip to content

Commit

Permalink
Give admin 5 seconds to start
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Oct 26, 2023
1 parent d654c7b commit 152c9b9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/testAdapter.gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ describe('test-admin-gui', () => {

it('Check admin server', async function (){
this.timeout(15_000);
await gPage.waitForSelector('.MuiTabs-root', { timeout: 15_000 });
return new Promise(resolve => setTimeout(async () => {
await gPage.waitForSelector('.MuiTabs-root', { timeout: 15_000 });
resolve();
}, 5000));
});

after(async function () {
Expand Down

0 comments on commit 152c9b9

Please sign in to comment.