Skip to content

Commit

Permalink
took time
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Feb 17, 2023
1 parent 74a8836 commit 65fd162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/meteor/tests/e2e/config/global-setup.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint no-await-in-loop: 0 */

import { chromium } from '@playwright/test';
import { chromium, expect } from '@playwright/test';

import injectInitialData from '../fixtures/inject-initial-data';
import insertApp from '../fixtures/insert-apps';
Expand All @@ -18,7 +18,7 @@ const loginProcedure = async (credentials: { name: string; username: string; pas

expect(await page.locator('role=button >> text="Login"')).toHaveCount(0);

await page.context().storageState({ path: `${name}-session.json` });
await page.context().storageState({ path: `${credentials.name}-session.json` });

await browser.close();
};
Expand Down

0 comments on commit 65fd162

Please sign in to comment.