Skip to content

Commit

Permalink
Merge pull request #786 from LINCnil/fix-github-workflow-with-tests
Browse files Browse the repository at this point in the history
fix: github workflow with tests
  • Loading branch information
kevin-atnos authored Dec 17, 2024
2 parents d765297 + 9e318b1 commit 72af42e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
start: yarn start
browser: chrome
headless: true
wait-on: http://localhost:4200
wait-on: http://[::1]:4200
env: # Or as an environment variable
CYPRESS_URL: ${{ secrets.CYPRESS_URL }}
CYPRESS_ID: ${{ secrets.CYPRESS_ID }}
Expand Down
1 change: 1 addition & 0 deletions cypress/e2e/pia-angular/client_serveur.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe("Client-Server", () => {
cy.get("#client_id").type(Cypress.env("ID"));
cy.get("#client_secret").type(Cypress.env("SECRET"));
cy.get(".btn-green").click();
cy.wait(500);
cy.get(".pia-modalBlock-buttons-choice button[type=button]").click();
cy.url().should("include", "/");
});
Expand Down

0 comments on commit 72af42e

Please sign in to comment.