-
Notifications
You must be signed in to change notification settings - Fork 274
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #611 from LINCnil/feature/add-editmode-checking-on…
…-attachment-and-revision Feature/add editmode checking on attachment and revision
- Loading branch information
Showing
29 changed files
with
346 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
cypress/integration/pia-angular/dpo_and_pia_refuse.spec.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
describe("Validation", () => { | ||
before(() => { | ||
cy.init(); | ||
}); | ||
|
||
beforeEach(() => { | ||
// Skip tutorial | ||
cy.disable_onboarding(); | ||
}); | ||
|
||
context("Prepare data with import", () => { | ||
// TODO: Import pia with .json | ||
it("File Upload using cypress-file-upload package", () => { | ||
cy.import_pia(); | ||
cy.get("a.btn.btn-green") | ||
.first() | ||
.click(); | ||
}); | ||
}); | ||
|
||
context("Refuse or ask pia signature", () => { | ||
it("should refuse pia", () => { | ||
cy.get_current_pia_id(id => { | ||
cy.go_edited_pia(id, 4, 3).then(() => { | ||
cy.validateDPO(); | ||
cy.refusePia(); | ||
}); | ||
}); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.