Skip to content

Commit 14a78d9

Browse files
committed
test: update e2e to fix error
1 parent afc907e commit 14a78d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

e2e/tests/envEnable.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ describe('VS Code Extension Testing (EnableEnv)', function () {
5353
const items = await testingSection.getVisibleItems()
5454

5555
await waitForResolved(browser, items[0])
56+
await collapseAllTests(testingSection)
5657

5758
await expect(items).toMatchTreeStructure([
5859
{
@@ -93,6 +94,7 @@ describe('VS Code Extension Testing (EnableEnv)', function () {
9394
await clickTreeItemButton(browser, items[0], 'Run Test')
9495

9596
await waitForTestStatus(browser, items[0], STATUS.PASSED)
97+
await collapseAllTests(testingSection)
9698

9799
await expect(items).toMatchTreeStructure([
98100
{

0 commit comments

Comments
 (0)