Skip to content

Commit

Permalink
1671 e2e fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dheitzer committed Nov 21, 2024
1 parent 1c3da5d commit 46d4710
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions front-end/cypress/e2e/pages/loginPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ function loginDotGovLogin() {
cy.intercept('POST', 'http://localhost:8080/api/v1/committees/*/activate/').as('ActivateCommittee');

cy.visit('/');
cy.get('#dropdownMenuButton').click();
cy.get('[data-test="login-dot-gov-login-button"]').click();
cy.get('#loginButton').click();
cy.wait('@GetLoggedIn');
cy.visit('/login/security-notice');
cy.get('.p-checkbox-box').click();
Expand Down
4 changes: 3 additions & 1 deletion front-end/src/app/login/login/login.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ <h1 class="login-box-header header-productivity">Built to work anywhere.</h1>
</span>
</p>
<div class="button-container">
<button (click)="navigateToLoginDotGov()" class="login-button" type="button">Sign in with Login.gov</button>
<button (click)="navigateToLoginDotGov()" class="login-button" type="button" id="loginButton">
Sign in with Login.gov
</button>
</div>
<div class="">
<a class="learn-more-link" href="https://www.login.gov/what-is-login/">Learn more about Login.gov</a>
Expand Down

0 comments on commit 46d4710

Please sign in to comment.