Skip to content

Commit

Permalink
ORV2-3221: use TRKTRAC instead of DOLLIES
Browse files Browse the repository at this point in the history
ORV2-3221: use TRKTRAC instead of DOLLIES
  • Loading branch information
bcgov-brwang committed Jan 30, 2025
1 parent 356ea4b commit b3cc110
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
22 changes: 17 additions & 5 deletions tests/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -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,
},
},
});
2 changes: 1 addition & 1 deletion tests/cypress/e2e/bceid-new-term-overweight.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit b3cc110

Please sign in to comment.