Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephVolosin committed Nov 26, 2024
1 parent 9e90903 commit 8fcbd48
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions e2e-tests/tests/external-sources.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ test.beforeAll(async ({ browser }) => {
});

test.afterAll(async () => {
await externalSources.goto();
await externalSources.deleteSource(externalSources.externalSourceFileName);
await externalSources.gotoTypeManager();
await externalSources.deleteDerivationGroup(externalSources.exampleDerivationGroup);
await externalSources.deleteExternalSourceType(externalSources.exampleSourceType);
await externalSources.deleteExternalEventType(externalSources.exampleEventType);
await page.close();
await context.close();
});
Expand Down
12 changes: 11 additions & 1 deletion e2e-tests/tests/plan-external-source.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,23 @@ test.afterAll(async () => {
await models.deleteModel();

await externalSources.goto();
// Cleanup all test files that *may* have been uploaded
await externalSources.deleteSource(externalSources.externalSourceFileName);
await externalSources.deleteSource(externalSources.derivationTestFileKey1);
await externalSources.deleteSource(externalSources.derivationTestFileKey2);
await externalSources.deleteSource(externalSources.derivationTestFileKey3);
await externalSources.deleteSource(externalSources.derivationTestFileKey4);

await externalSources.gotoTypeManager();
await externalSources.deleteDerivationGroup(externalSources.exampleDerivationGroup);
await externalSources.deleteDerivationGroup(externalSources.derivationTestGroupName);
await externalSources.deleteExternalSourceType(externalSources.exampleSourceType);
await externalSources.deleteExternalSourceType(externalSources.derivationTestSourceTypeName);
await externalSources.deleteExternalEventType(externalSources.exampleEventType);
await externalSources.deleteExternalEventType(externalSources.derivationATypeName);
await externalSources.deleteExternalEventType(externalSources.derivationBTypeName);
await externalSources.deleteExternalEventType(externalSources.derivationCTypeName);
await externalSources.deleteExternalEventType(externalSources.derivationDTypeName);

await page.close();
await context.close();
});
Expand Down

0 comments on commit 8fcbd48

Please sign in to comment.