Skip to content

Commit

Permalink
add verification for installing WTO on UI
Browse files Browse the repository at this point in the history
  • Loading branch information
musienko-maxim committed Aug 3, 2023
1 parent 0d6bda1 commit 235d880
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ export const verifyAndInstallWebTerminalOperator = () => {
);
cy.contains('Succeeded', { timeout: 300000 });
performPostInstallationSteps(operators.WebTerminalOperator);
operatorsPage.navigateToInstallOperatorsPage();
operatorsPage.searchOperatorInInstallPage('Web Terminal');
cy.contains('span[data-test="status-text"]', 'Succeeded');
};

cy.get('body').then(($e1) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ Given('user has installed Web Terminal operator', () => {
});

Given('user has logged in as admin user', () => {
cy.logout();
cy.login(
Cypress.env('KUBEADMIN_IDP'),
Cypress.env('KUBEADMIN_USERNAME'),
Cypress.env('BRIDGE_KUBEADMIN_PASSWORD'),
); // make sure we are logged in as kubeadmin
perspective.switchTo(switchPerspective.Administrator);
nav.sidenav.switcher.shouldHaveText(switchPerspective.Administrator);
});
Expand Down
2 changes: 1 addition & 1 deletion test-cypress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if [ -n "${headless-}" ] && [ -z "${pkg-}" ]; then
yarn run test-cypress-topology-headless
yarn run test-cypress-pipelines-headless
# yarn run test-cypress-shipwright-headless
# yarn run test-cypress-webterminal-headless
yarn run test-cypress-webterminal-headless
exit;
fi

Expand Down

0 comments on commit 235d880

Please sign in to comment.