Skip to content

Commit bbbf0d5

Browse files
authored
add workaround to ExtensionActivationTest test (#23618)
1 parent e4fff42 commit bbbf0d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/e2e/specs/miscellaneous/ExtensionActivationTest.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,10 @@ suite(`Extension Activation Test ${BASE_TEST_CONSTANTS.TEST_ENVIRONMENT}`, funct
138138
await workspaces.waitWorkspaceWithStoppedStatus(currentWorkspaceName);
139139

140140
const originalWindowHandle: string = await browserTabsUtil.getCurrentWindowHandle();
141+
142+
// workaround: Wait before restarting workspace to avoid "Container tools has state Error" issue
143+
// see: https://issues.redhat.com/browse/CRW-9526
144+
await driverHelper.wait(TIMEOUT_CONSTANTS.TS_COMMON_DASHBOARD_WAIT_TIMEOUT);
141145
await workspaces.clickOpenButton(currentWorkspaceName);
142146

143147
await browserTabsUtil.waitAndSwitchToAnotherWindow(originalWindowHandle, WORKSPACE_RESTART_TIMEOUT);

0 commit comments

Comments
 (0)