From b3cc11097dd97eca5dd6a3b7636eb05673cd2351 Mon Sep 17 00:00:00 2001 From: bcgov-brwang <87880048+bcgov-brwang@users.noreply.github.com> Date: Thu, 30 Jan 2025 15:24:12 -0800 Subject: [PATCH] ORV2-3221: use TRKTRAC instead of DOLLIES ORV2-3221: use TRKTRAC instead of DOLLIES --- tests/cypress.config.js | 22 ++++++++++++++----- .../e2e/bceid-new-term-overweight.cy.js | 2 +- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/tests/cypress.config.js b/tests/cypress.config.js index 618008651..3a8dbe955 100644 --- a/tests/cypress.config.js +++ b/tests/cypress.config.js @@ -6,12 +6,23 @@ module.exports = defineConfig({ setupNodeEvents(on, config) { // implement node event listeners here }, - baseUrl: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca', + // baseUrl: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca', + baseUrl: 'https://onroutebc-uat-frontend.apps.silver.devops.gov.bc.ca', + // baseUrl: 'https://onroutebc-1725-frontend.apps.silver.devops.gov.bc.ca', + // baseUrl: 'https://onroutebc-1729-frontend.apps.silver.devops.gov.bc.ca', env: { - idir_username: '', - idir_password: '', - bceid_username: '', - bceid_password: '', + idir_username: 'TRORBCT1', + idir_password: 'ydYa,GWCus4q5eGjuPoJ', + // DEV + // bceid_username: 'Tomstrucking', + // bceid_password: 'Orbc123#', + // TEST + // bceid_username: 'ORBCTST1', + // bceid_password: 'orbcTST2023+', + // UAT + bceid_username: 'ORBCBLANE', + bceid_password: 'Ilmylilmm-Dn8', + update_term_oversize_url: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca/applications/581', new_tros_url: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca/create-application/TROS', new_trow_url: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca/create-application/TROW', @@ -20,6 +31,7 @@ module.exports = defineConfig({ manage_vehicle_url: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca/manage-vehicles', new_trailer_url: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca/manage-vehicles/add-trailer', update_trailer_url: 'https://onroutebc-test-frontend.apps.silver.devops.gov.bc.ca/manage-vehicles/trailers/106', + wait_time: 5000, }, }, }); diff --git a/tests/cypress/e2e/bceid-new-term-overweight.cy.js b/tests/cypress/e2e/bceid-new-term-overweight.cy.js index 3d5990d3d..556e5b206 100644 --- a/tests/cypress/e2e/bceid-new-term-overweight.cy.js +++ b/tests/cypress/e2e/bceid-new-term-overweight.cy.js @@ -62,7 +62,7 @@ describe('Login Test for OnRouteBC', () => { cy.get('[id="mui-component-select-permitData.vehicleDetails.vehicleSubType"]').click({ force: true }); cy.wait(wait_time); - cy.get('[data-value="DOLLIES"]').click(); + cy.get('[data-value="TRKTRAC"]').click(); cy.wait(wait_time); cy.get('[data-testid="continue-application-button"]').click({ force: true });