Skip to content

Commit 73e954b

Browse files
authored
Fix 'NoSetupRepoFactory' to delete workspace from private repository(#23386)
1 parent 7d4c8a9 commit 73e954b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/e2e/specs/factory/NoSetupRepoFactory.spec.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -252,18 +252,18 @@ suite(
252252
);
253253
expect(isCommitButtonDisabled).to.be.true;
254254
});
255+
}
255256

256-
suiteTeardown('Open dashboard and close all other tabs', async function (): Promise<void> {
257-
await dashboard.openDashboard();
258-
await browserTabsUtil.closeAllTabsExceptCurrent();
259-
});
257+
suiteTeardown('Open dashboard and close all other tabs', async function (): Promise<void> {
258+
await dashboard.openDashboard();
259+
await browserTabsUtil.closeAllTabsExceptCurrent();
260+
});
260261

261-
suiteTeardown('Stop and delete the workspace by API', async function (): Promise<void> {
262-
// to avoid a possible creating workspace which is not appeared on Dashboard yet. TODO: implement a better solution.
263-
await driverHelper.wait(30000);
264-
await testWorkspaceUtil.stopAndDeleteWorkspaceByName(WorkspaceHandlingTests.getWorkspaceName());
265-
});
266-
}
262+
suiteTeardown('Stop and delete the workspace by API', async function (): Promise<void> {
263+
// to avoid a possible creating workspace which is not appeared on Dashboard yet. TODO: implement a better solution.
264+
await driverHelper.wait(30000);
265+
await testWorkspaceUtil.stopAndDeleteWorkspaceByName(WorkspaceHandlingTests.getWorkspaceName());
266+
});
267267

268268
suiteTeardown('Unregister running workspace', function (): void {
269269
registerRunningWorkspace('');

0 commit comments

Comments
 (0)