Skip to content

Commit 32b551a

Browse files
authored
[Playwright] Fix bug in dsm-fixture.ts (#2153)
fix bug in dsm-fixture.ts
1 parent 9e235d6 commit 32b551a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

playwright-e2e/fixtures/dsm-fixture.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { Fixtures } from '@playwright/test';
2+
import { login } from 'authentication/auth-dsm';
23
import { fixtureBase as base } from 'fixtures/fixture-base';
34

5+
// Use this fixture for login in DSM tests
46
const fixture = base.extend<Fixtures>({
57
page: async ({ page }, use) => {
8+
await login(page);
69
await use(page);
710
}
811
});

0 commit comments

Comments
 (0)