Automate Check ssh address of private repo with SSH key with no OAuth or PAT
test-case
#23299
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
https://issues.redhat.com/browse/CRW-7904
Screenshot/screencast of this PR
` The SshFactoryWithoutPAT userstory
Create workspace from factory:https://devspaces.apps.ocp417-sskoryk.crw-qe.com/dashboard/#/[email protected]:crw-qe/private-repo-check.git
▼ LoginTests.loginIntoChe
‣ BrowserTabsUtil.getCurrentUrl
‣ DriverHelper.getDriver
▼ BrowserTabsUtil.navigateTo - https://devspaces.apps.ocp417-sskoryk.crw-qe.com
‣ DriverHelper.navigateToUrl
‣ DriverHelper.getDriver
▼ Dashboard.waitPage
‣ DriverHelper.waitVisibility - By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
‣ DriverHelper.waitVisibility - polling timed out attempt #1, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #2, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #3, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #4, retrying with 1000ms timeout
[ERROR] DriverHelper.waitVisibility - failed with exception, out of attempts - TimeoutError: Waiting for element to be located By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
Wait timed out after 1074ms
▼ LoginTests.loginIntoChe - try to login into application
▼ RegularUserOcpCheLoginPage.login
‣ DriverHelper.waitAndClick - By(xpath, //div[@Class="panel-login"]/div[contains(@Class, "panel-content")]/form/button)
‣ DriverHelper.waitVisibility - By(xpath, //div[@Class="panel-login"]/div[contains(@Class, "panel-content")]/form/button)
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ OcpLoginPage.isIdentityProviderLinkVisible
‣ DriverHelper.waitVisibilityBoolean - By(xpath, //a[text()="htpasswd"])
‣ DriverHelper.isVisible - By(xpath, //a[text()="htpasswd"])
▼ OcpLoginPage.waitAndClickOnLoginProviderTitle
‣ DriverHelper.waitAndClick - By(xpath, //a[text()="htpasswd"])
‣ DriverHelper.waitVisibility - By(xpath, //a[text()="htpasswd"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ OcpLoginPage.waitOpenShiftLoginWelcomePage
‣ DriverHelper.waitVisibility - By(xpath, //*[contains(text(), "Welcome")])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ OcpLoginPage.enterUserNameOpenShift - "admin"
‣ DriverHelper.enterValue - By(css selector, *[id="inputUsername"]) text: admin
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.clear - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.waitAttributeValue - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitAndGetElementAttribute - By(css selector, *[id="inputUsername"]) attribute: 'value'
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.type - By(css selector, *[id="inputUsername"]) text: admin
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.waitAttributeValue - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitAndGetElementAttribute - By(css selector, *[id="inputUsername"]) attribute: 'value'
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputUsername"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ OcpLoginPage.enterPasswordOpenShift
‣ DriverHelper.enterValue - By(css selector, *[id="inputPassword"]) text: ***
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputPassword"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.clear - By(css selector, *[id="inputPassword"])
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputPassword"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.waitAttributeValue - By(css selector, *[id="inputPassword"])
‣ DriverHelper.waitAndGetElementAttribute - By(css selector, *[id="inputPassword"]) attribute: 'value'
‣ DriverHelper.waitVisibility - By(css selector, *[id="inputPassword"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.type - By(css selector, *[id="inputPassword"]) text: ***
‣ DriverHelper.waitVisibility - By(css selector, [id="inputPassword"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.waitAttributeValue - By(css selector, [id="inputPassword"])
‣ DriverHelper.waitAndGetElementAttribute - By(css selector, [id="inputPassword"]) attribute: 'value'
‣ DriverHelper.waitVisibility - By(css selector, [id="inputPassword"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ OcpLoginPage.clickOnLoginButton
‣ DriverHelper.waitAndClick - By(css selector, button[type=submit])
‣ DriverHelper.waitVisibility - By(css selector, button[type=submit])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ OcpLoginPage.waitDisappearanceOpenShiftLoginWelcomePage
‣ DriverHelper.waitDisappearance - By(xpath, //[contains(text(), "Welcome")])
‣ DriverHelper.waitDisappearanceBoolean - By(xpath, //[contains(text(), "Welcome")])
‣ DriverHelper.isVisible - By(xpath, //[contains(text(), "Welcome")])
▼ OcpLoginPage.isAuthorizeOpenShiftIdentityProviderPageVisible
‣ DriverHelper.isVisible - By(xpath, //h1[text()="Authorize Access"])
‣ BrowserTabsUtil.maximize
▼ BrowserTabsUtil.maximize - TS_SELENIUM_LAUNCH_FULLSCREEN is set to true, maximizing window.
‣ DriverHelper.getDriver
▼ Dashboard.waitStartingPageLoaderDisappearance
‣ DriverHelper.waitDisappearance - By(css selector, .main-page-loader)
‣ DriverHelper.waitDisappearanceBoolean - By(css selector, .main-page-loader)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.isVisible - By(css selector, .main-page-loader)
‣ DriverHelper.wait - (1000 milliseconds)
▼ BrowserTabsUtil.navigateTo - https://devspaces.apps.ocp417-sskoryk.crw-qe.com/dashboard/#/[email protected]:crw-qe/private-repo-check.git
‣ DriverHelper.navigateToUrl
‣ DriverHelper.getDriver
▼ Dashboard.waitLoader
‣ DriverHelper.waitAllPresence - By(xpath, //[@data-testid="step-title"])
‣ DriverHelper.waitAllPresence - polling timed out attempt #1, retrying with 1000ms timeout
▼ Dashboard.clickContinueWithDefaultDevfileButton
‣ DriverHelper.waitAndClick - By(xpath, //button[text()="Continue with default devfile"])
‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Continue with default devfile"])
[ERROR] DriverHelper.waitVisibility - failed with exception, out of attempts - TimeoutError: Waiting for element to be located By(xpath, //button[text()="Continue with default devfile"])
Wait timed out after 1115ms
‣ DriverHelper.waitAndClick - polling timed out attempt #1, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Continue with default devfile"])
[ERROR] DriverHelper.waitVisibility - failed with exception, out of attempts - TimeoutError: Waiting for element to be located By(xpath, //button[text()="Continue with default devfile"])
Wait timed out after 1095ms
‣ DriverHelper.waitAndClick - polling timed out attempt #2, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Continue with default devfile"])
[ERROR] DriverHelper.waitVisibility - failed with exception, out of attempts - TimeoutError: Waiting for element to be located By(xpath, //button[text()="Continue with default devfile"])
Wait timed out after 1114ms
‣ DriverHelper.waitAndClick - polling timed out attempt #3, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Continue with default devfile"])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.getDriver
‣ WorkspaceHandlingTests.obtainWorkspaceNameFromStartingPage - failed to obtain name from workspace start page, element not visible yet. Retrying.
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.getDriver
‣ WorkspaceHandlingTests.obtainWorkspaceNameFromStartingPage - failed to obtain name from workspace start page, element not visible yet. Retrying.
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.getDriver
‣ WorkspaceHandlingTests.obtainWorkspaceNameFromStartingPage - failed to obtain name from workspace start page, element not visible yet. Retrying.
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.getDriver
‣ WorkspaceHandlingTests.obtainWorkspaceNameFromStartingPage - failed to obtain name from workspace start page, element not visible yet. Retrying.
‣ DriverHelper.wait - (1000 milliseconds)
‣ DriverHelper.getDriver
‣ WorkspaceHandlingTests.obtainWorkspaceNameFromStartingPage - obtained starting workspace getText():Starting workspace private-repo-check-vut0
‣ WorkspaceHandlingTests.obtainWorkspaceNameFromStartingPage - trimmed workspace name from getText():private-repo-check-vut0
• WorkspaceHandlingTests.obtainWorkspaceNameFromStartingPage - obtained workspace name from workspace loader page: private-repo-check-vut0
▼ registerRunningWorkspace - with workspaceName:private-repo-check-vut0
▼ ProjectAndFileTests.waitWorkspaceReadinessForCheCodeEditor - waiting for editor.
‣ DriverHelper.waitVisibility - By(css selector, .monaco-workbench)
‣ DriverHelper.waitVisibility - polling timed out attempt #1, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #2, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #3, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #4, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #5, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #6, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #7, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #8, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #9, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #10, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #11, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #12, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #13, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #14, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #15, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #16, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #17, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #18, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #19, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #20, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #21, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #22, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #23, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #24, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #25, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #26, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #27, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #28, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #29, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #30, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #31, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #32, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #33, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #34, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #35, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #36, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #37, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #38, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #39, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #40, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #41, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #42, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #43, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #44, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #45, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #46, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #47, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #48, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #49, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #50, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ ProjectAndFileTests.waitWorkspaceReadinessForCheCodeEditor - editor was opened in 76757 seconds.
✔ Check creating workspace using default devfile (86847ms)
▼ Function.getProjectNameFromGitUrl - https://devspaces.apps.ocp417-sskoryk.crw-qe.com/dashboard/#/[email protected]:crw-qe/private-repo-check.git
▼ Function.getProjectNameFromGitUrl - private-repo-check
▼ ProjectAndFileTests.getProjectViewSession
‣ DriverHelper.waitVisibility - By(css selector, .monaco-list-row)
‣ DriverHelper.waitVisibility - polling timed out attempt #1, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ ProjectAndFileTests.getProjectTreeItem - private-repo-check
‣ DriverHelper.waitVisibility - By(xpath, .//div[@ROLE='treeitem' and @aria-level='2'])
‣ DriverHelper.waitVisibility - element is located and is visible.
✔ Check a project folder has been created
▼ ProjectAndFileTests.getProjectTreeItem - devfile.yaml
‣ DriverHelper.waitVisibility - By(xpath, .//div[@ROLE='treeitem' and @aria-level='2'])
‣ DriverHelper.waitVisibility - element is located and is visible.
✔ Check the project files was imported
▼ Dashboard.openDashboard
‣ DriverHelper.navigateToUrl
‣ DriverHelper.getDriver
▼ Dashboard.waitPage
‣ DriverHelper.waitVisibility - By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
‣ DriverHelper.waitVisibility - polling timed out attempt #1, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #2, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.waitVisibility - By(xpath, //div[@id="page-sidebar"]//a[text()="Create Workspace"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Dashboard.stopWorkspaceByUI - "private-repo-check-vut0"
▼ Dashboard.clickWorkspacesButton
‣ DriverHelper.waitAndClick - By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
‣ DriverHelper.waitVisibility - By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitPage
‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Add Workspace"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitWorkspaceListItem - "private-repo-check-vut0"
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitWorkspaceWithRunningStatus - "private-repo-check-vut0"
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//span[@data-testid='workspace-status-indicator' and @aria-label='Workspace status is Running'])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.stopWorkspaceByActionsButton
▼ Workspaces.waitWorkspaceListItem - "private-repo-check-vut0"
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.openActionsPopup - for the 'private-repo-check-vut0' list item
▼ Workspaces.clickActionsButton - of the 'private-repo-check-vut0' list item
‣ DriverHelper.waitAndClick - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]/td/div/button[@aria-label='Actions'])
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]/td/div/button[@aria-label='Actions'])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitActionsPopup - of the 'private-repo-check-vut0' list item
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//button[@aria-label='Actions' and @aria-expanded='true'])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.clickActionsStopWorkspaceButton - for the 'private-repo-check-vut0' list item
‣ DriverHelper.waitAndClick - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//button[text()='Stop Workspace'])
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//button[text()='Stop Workspace'])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitWorkspaceWithStoppedStatus - "private-repo-check-vut0"
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//span[@data-testid='workspace-status-indicator' and @aria-label='Workspace status is Stopped'])
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ BrowserTabsUtil.closeAllTabsExceptCurrent
▼ BrowserTabsUtil.getAllWindowHandles
‣ DriverHelper.getDriver
▼ BrowserTabsUtil.getCurrentWindowHandle
‣ DriverHelper.getDriver
▼ BrowserTabsUtil.switchToWindow
‣ DriverHelper.getDriver
✔ Stop the workspace by UI
▼ Dashboard.openDashboard
‣ DriverHelper.navigateToUrl
‣ DriverHelper.getDriver
▼ Dashboard.waitPage
‣ DriverHelper.waitVisibility - By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
‣ DriverHelper.waitVisibility - polling timed out attempt #1, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #2, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - polling timed out attempt #3, retrying with 1000ms timeout
‣ DriverHelper.waitVisibility - element is located and is visible.
‣ DriverHelper.waitVisibility - By(xpath, //div[@id="page-sidebar"]//a[text()="Create Workspace"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Dashboard.deleteStoppedWorkspaceByUI - "private-repo-check-vut0"
▼ Dashboard.clickWorkspacesButton
‣ DriverHelper.waitAndClick - By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
‣ DriverHelper.waitVisibility - By(xpath, //div[@id="page-sidebar"]//a[contains(text(), "Workspaces (")])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitPage
‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Add Workspace"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitWorkspaceListItem - "private-repo-check-vut0"
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.deleteWorkspaceByActionsButton
▼ Workspaces.waitWorkspaceListItem - "private-repo-check-vut0"
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.openActionsPopup - for the 'private-repo-check-vut0' list item
▼ Workspaces.clickActionsButton - of the 'private-repo-check-vut0' list item
‣ DriverHelper.waitAndClick - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]/td/div/button[@aria-label='Actions'])
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]/td/div/button[@aria-label='Actions'])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitActionsPopup - of the 'private-repo-check-vut0' list item
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//button[@aria-label='Actions' and @aria-expanded='true'])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.clickActionsDeleteButton - for the 'private-repo-check-vut0' list item
‣ DriverHelper.waitAndClick - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//button[text()='Delete Workspace'])
‣ DriverHelper.waitVisibility - By(xpath, //tr[td//a[text()='private-repo-check-vut0']]//button[text()='Delete Workspace'])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitDeleteWorkspaceConfirmationWindow
‣ DriverHelper.waitVisibility - By(xpath, //div[@aria-label="Delete workspaces confirmation window"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.clickToDeleteConfirmationCheckbox
‣ DriverHelper.waitAndClick - By(xpath, //input[@data-testid="confirmation-checkbox"])
‣ DriverHelper.waitVisibility - By(xpath, //input[@data-testid="confirmation-checkbox"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitAndClickEnabledConfirmationWindowDeleteButton
‣ DriverHelper.waitAndClick - By(xpath, //button[@data-testid="delete-workspace-button" and not(@disabled)])
‣ DriverHelper.waitVisibility - By(xpath, //button[@data-testid="delete-workspace-button" and not(@disabled)])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitPage
‣ DriverHelper.waitVisibility - By(xpath, //button[text()="Add Workspace"])
‣ DriverHelper.waitVisibility - element is located and is visible.
▼ Workspaces.waitWorkspaceListItemAbsence - "private-repo-check-vut0"
‣ DriverHelper.waitDisappearance - By(xpath, //tr[td//a[text()='private-repo-check-vut0']])
‣ DriverHelper.waitDisappearanceBoolean - By(xpath, //tr[td//a[text()='private-repo-check-vut0']])
‣ DriverHelper.isVisible - By(xpath, //tr[td//a[text()='private-repo-check-vut0']])
✔ Delete the workspace by UI
▼ at /home/sskoryk/codenvy-projects/che/tests/e2e/specs/MochaHooks.ts:39:12 - delete workspace name
5 passing (2m)`
What issues does this PR fix or reference?
How to test this PR?
PR Checklist
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completed