Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ import { waitForAllLoadersToDisappear } from '../../../utils/entity';

test.use({ storageState: 'playwright/.auth/admin.json' });

const classification = new ClassificationClass();
const tag = new TagClass({ classification: classification.data.name });
const glossary = new Glossary();
const glossaryTerm = new GlossaryTerm(glossary);
const domain = new Domain();
const table = new TableClass();
let classification: ClassificationClass;
let tag: TagClass;
let glossary: Glossary;
let glossaryTerm: GlossaryTerm;
let domain: Domain;
let table: TableClass;

const testCaseResult = {
result: 'Found value outside expected range.',
Expand All @@ -58,6 +58,13 @@ const watchDashboardResponse = (page: Page, filterKey: string) =>
test.beforeAll('setup', async ({ browser }) => {
const { apiContext, afterAction } = await createNewPage(browser);

classification = new ClassificationClass();
tag = new TagClass({ classification: classification.data.name });
glossary = new Glossary();
glossaryTerm = new GlossaryTerm(glossary);
domain = new Domain();
table = new TableClass();

await classification.create(apiContext);
await tag.create(apiContext);
await glossary.create(apiContext);
Expand Down
Loading