Skip to content

Commit

Permalink
Merge pull request #718 from LINCnil/add-summary-to-pdf
Browse files Browse the repository at this point in the history
feat: add a summary page in the .pdf
  • Loading branch information
kevin-atnos authored Jun 9, 2023
2 parents d4267f8 + 089c94d commit b77db42
Show file tree
Hide file tree
Showing 6 changed files with 400 additions and 575 deletions.
6 changes: 2 additions & 4 deletions cypress/integration/pia-angular/client_serveur.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@ describe("Client-Server", () => {
it("Click on save", () => {
cy.get(".btn-green").click();
cy.wait(5000);
cy.get("button[type=button]").click();

cy.url().should("include", "/");
});

it("Verify URL", () => {
it("Go back home", () => {
cy.get(".pia-modalBlock-buttons-choice button[type=button]").click();
cy.url().should("include", "/");
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe("Validation", () => {

it("should show report", () => {
cy.closeValidationEvaluationModal();
cy.get("a.btn.pia-previewBlock").click();
cy.get(".pia-entryContentBlock-header a.btn.pia-previewBlock").click();

cy.url().should("include", "/preview/" + visit_id);

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@ngx-translate/core": "^13.0.0",
"@ngx-translate/http-loader": "^6.0.0",
"@types/intro.js": "^2.4.8",
"angular2-csv": "git+https://github.com/dauledk/angular2-csv.git",
"angular2-csv": "git+https://github.com/alexbjorlig/angular2-csv",
"core-js": "^3.6.5",
"cypress": "^6.2.1",
"cypress-file-upload": "^4.1.1",
Expand Down
Loading

0 comments on commit b77db42

Please sign in to comment.