Skip to content

Commit

Permalink
Perform 'Trust Author' popup when obtain workspace name from starting…
Browse files Browse the repository at this point in the history
… page

Signed-off-by: Dmytro Nochevnov <[email protected]>
  • Loading branch information
dmytro-ndp committed Aug 14, 2024
1 parent 105f4b8 commit cad4b18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/pageobjects/dashboard/CreateWorkspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class CreateWorkspace {
try {
await this.trustAuthorPopup.clickContinue();
} catch (e) {
Logger.info('Trust author popup was not shown');
Logger.info('"Trust author" popup was not shown');
}
}

Expand Down
2 changes: 2 additions & 0 deletions tests/e2e/tests-library/WorkspaceHandlingTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ export class WorkspaceHandlingTests {
}

async obtainWorkspaceNameFromStartingPage(): Promise<void> {
await this.createWorkspace.performTrustAuthorPopup();

const timeout: number = TIMEOUT_CONSTANTS.TS_SELENIUM_START_WORKSPACE_TIMEOUT;
const polling: number = TIMEOUT_CONSTANTS.TS_SELENIUM_DEFAULT_POLLING;
const attempts: number = Math.ceil(timeout / polling);
Expand Down

0 comments on commit cad4b18

Please sign in to comment.