Skip to content

Commit

Permalink
Merge pull request #4067 from zowe/user/markackert/fix-failing-ui-tests
Browse files Browse the repository at this point in the history
all zlux ui plugin tests through apiml
  • Loading branch information
MarkAckert authored Nov 5, 2024
2 parents 6abe8e9 + 1ee3ed9 commit 20638b8
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/sanity/test/e2e/test-07-iframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe.skip(`test ${APP_TO_TEST}`, function() {
// load MVD login page
await loginMVD(
driver,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_ZLUX_HTTPS_PORT}/`,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_API_MEDIATION_GATEWAY_HTTP_PORT}/zlux/ui/v1/ZLUX/plugins/org.zowe.zlux.bootstrap/web/`,
process.env.SSH_USER,
process.env.SSH_PASSWD
);
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/test/e2e/test-08-subsys.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe.skip(`test ${APP_TO_TEST}`, function() {
// load MVD login page
await loginMVD(
driver,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_ZLUX_HTTPS_PORT}/`,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_API_MEDIATION_GATEWAY_HTTP_PORT}/zlux/ui/v1/ZLUX/plugins/org.zowe.zlux.bootstrap/web/`,
process.env.SSH_USER,
process.env.SSH_PASSWD
);
Expand Down
4 changes: 3 additions & 1 deletion tests/sanity/test/e2e/test-10-api-catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe(`test ${APP_TO_TEST}`, function() {
// load MVD login page
await loginMVD(
driver,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_ZLUX_HTTPS_PORT}/`,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_API_MEDIATION_GATEWAY_HTTP_PORT}/zlux/ui/v1/ZLUX/plugins/org.zowe.zlux.bootstrap/web/`,
process.env.SSH_USER,
process.env.SSH_PASSWD
);
Expand Down Expand Up @@ -79,6 +79,8 @@ describe(`test ${APP_TO_TEST}`, function() {
try {
const searchBox = await waitUntilElement(driver, '.search-bar');
expect(searchBox).to.be.an('object');
await saveScreenshotWithIframeAppContext(this, driver, testName, 'login-pre-success', APP_TO_TEST, MVD_IFRAME_APP_CONTENT);

} catch (e) {
// try to save screenshot for debug purpose
await saveScreenshotWithIframeAppContext(this, driver, testName, 'login-failed', APP_TO_TEST, MVD_IFRAME_APP_CONTENT);
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/test/e2e/test-11-workflows.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe.skip(`test ${APP_TO_TEST}`, function() {
// load MVD login page
await loginMVD(
driver,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_ZLUX_HTTPS_PORT}/`,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_API_MEDIATION_GATEWAY_HTTP_PORT}/zlux/ui/v1/ZLUX/plugins/org.zowe.zlux.bootstrap/web/`,
process.env.SSH_USER,
process.env.SSH_PASSWD
);
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/test/e2e/test-12-angular-sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe.skip(`test ${APP_TO_TEST}`, function() {
// load MVD login page
await loginMVD(
driver,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_ZLUX_HTTPS_PORT}/`,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_API_MEDIATION_GATEWAY_HTTP_PORT}/zlux/ui/v1/ZLUX/plugins/org.zowe.zlux.bootstrap/web/`,
process.env.SSH_USER,
process.env.SSH_PASSWD
);
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/test/e2e/test-13-react-sample.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe.skip(`test ${APP_TO_TEST}`, function() {
// load MVD login page
await loginMVD(
driver,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_ZLUX_HTTPS_PORT}/`,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_API_MEDIATION_GATEWAY_HTTP_PORT}/zlux/ui/v1/ZLUX/plugins/org.zowe.zlux.bootstrap/web/`,
process.env.SSH_USER,
process.env.SSH_PASSWD
);
Expand Down
2 changes: 1 addition & 1 deletion tests/sanity/test/e2e/test-14-ip-explorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe(`test ${APP_TO_TEST}`, function() {
// load MVD login page
await loginMVD(
driver,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_ZLUX_HTTPS_PORT}/`,
`https://${process.env.ZOWE_EXTERNAL_HOST}:${process.env.ZOWE_API_MEDIATION_GATEWAY_HTTP_PORT}/zlux/ui/v1/ZLUX/plugins/org.zowe.zlux.bootstrap/web/`,
process.env.SSH_USER,
process.env.SSH_PASSWD
);
Expand Down

0 comments on commit 20638b8

Please sign in to comment.