Skip to content

Commit 6aba753

Browse files
committed
chore: adding uninstall of text to avoid test overlapping
1 parent c8a89cd commit 6aba753

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/tools/extensions.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ describe('extension', () => {
122122
assert.ok(list.length === 1, 'List should have only one extension');
123123
const reinstalled = list.find(e => e.id === extensionId);
124124
assert.ok(reinstalled, 'Extension should be present after reload');
125+
try {
126+
await context.uninstallExtension(EXTENSION_WITH_SW_PATH);
127+
} catch (e) {}
125128
});
126129
});
127130
it('triggers an extension action', async () => {
@@ -147,6 +150,9 @@ describe('extension', () => {
147150
t => t.type() === 'page' && t.url().includes(extensionId),
148151
);
149152
assert.ok(pageTargetAfter, 'Page should exist after action');
153+
try {
154+
await context.uninstallExtension(EXTENSION_WITH_SW_PATH);
155+
} catch (e) {}
150156
},
151157
{},
152158
{

0 commit comments

Comments
 (0)