Skip to content

Commit

Permalink
Merge pull request #941 from bcgov/bugs/automationFix
Browse files Browse the repository at this point in the history
Changes to DOM model for testing
  • Loading branch information
SodhiA1 authored Aug 1, 2023
2 parents db444dc + 8e5219e commit c7f9eaa
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
>
<v-col class="d-flex justify-center">
<v-btn
id="login-button"
id="login-button-microsoft"
variant="outlined"
:href="authRoutes.LOGIN_ENTRA"
class="ma-2"
Expand All @@ -53,7 +53,7 @@
>
<v-col class="d-flex justify-center">
<v-btn
id="login-button"
id="login-button-bceid"
variant="outlined"
:href="authRoutes.LOGIN_BCEID"
class="ma-2"
Expand Down
2 changes: 1 addition & 1 deletion tests-e2e/cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function createLoginSession(username: string = Cypress.env('USER_ID'), password:
[username, password],
() => {
cy.visit('/login');
cy.get('#login-button').click();
cy.get('#login-button-bceid').click();
cy.get('input[name="user"]').type(username);
cy.get('input[name="password"]').type(password);
cy.get('input[name="btnSubmit"][value="Continue"]').click();
Expand Down

0 comments on commit c7f9eaa

Please sign in to comment.