Skip to content

Commit

Permalink
test: updated to follow changes in @e2e-support
Browse files Browse the repository at this point in the history
  • Loading branch information
fmartingr committed Jan 16, 2025
1 parent 206e39c commit 2daf648
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion e2e/playwright/tests/create_legal_hold.spec.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import {test, expect} from '@e2e-support/test_fixture';
import {getRandomId} from '@e2e-support/util';
import pages from '@e2e-support/ui/pages';

import LegalHoldPluginPage from '../pages/legal_hold_plugin';
import {createLegalHold} from '../support/legal_hold';

test('Admin user can create a legal hold successfully', async ({pw, pages}) => {
test('Admin user can create a legal hold successfully', async ({pw}) => {
// Do setup and log in as admin user
const {adminUser, adminClient, user} = await pw.initSetup();
const {page} = await pw.testBrowser.login(adminUser);
Expand Down
3 changes: 2 additions & 1 deletion e2e/playwright/tests/release_legal_hold.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import {test, expect} from '@e2e-support/test_fixture';
import {getRandomId} from '@e2e-support/util';
import pages from '@e2e-support/ui/pages';

import PluginPage from '../pages/legal_hold_plugin';
import {createLegalHold} from '../support/legal_hold';

let pluginPage: PluginPage;
const legalHoldName = `New Hold ${getRandomId()}`;

test.beforeEach(async ({pw, pages}) => {
test.beforeEach(async ({pw}) => {
// Do setup and log in as admin user
const {adminUser, adminClient, user} = await pw.initSetup();
const {page} = await pw.testBrowser.login(adminUser);
Expand Down

0 comments on commit 2daf648

Please sign in to comment.