-
Notifications
You must be signed in to change notification settings - Fork 24
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 #742 from numerique-gouv/remove-agentconnect-occur…
…ences refactor: remove occurences of AgentConnect
- Loading branch information
Showing
13 changed files
with
37 additions
and
37 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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// | ||
|
||
describe("sign-in from agentconnect client", () => { | ||
describe("sign-in from proconnect federation client", () => { | ||
it("should sign-in", () => { | ||
cy.visit("http://localhost:4001"); | ||
cy.get("button.proconnect-button").click(); | ||
|
@@ -10,7 +10,7 @@ describe("sign-in from agentconnect client", () => { | |
.contains("S’identifier") | ||
.click(); | ||
|
||
cy.contains("moncomptepro-agentconnect-client"); | ||
cy.contains("moncomptepro-proconnect-federation-client"); | ||
cy.contains("[email protected]"); | ||
cy.contains("21340126800130"); | ||
}); | ||
|
@@ -22,7 +22,7 @@ describe("sign-in from agentconnect client", () => { | |
cy.visit("http://localhost:4001"); | ||
cy.get("button.proconnect-button").click(); | ||
|
||
cy.contains("moncomptepro-agentconnect-client"); | ||
cy.contains("moncomptepro-proconnect-federation-client"); | ||
cy.contains("[email protected]"); | ||
}); | ||
|
||
|
@@ -38,7 +38,7 @@ describe("sign-in from agentconnect client", () => { | |
.contains("S’identifier") | ||
.click(); | ||
|
||
cy.contains("moncomptepro-agentconnect-client"); | ||
cy.contains("moncomptepro-proconnect-federation-client"); | ||
cy.contains("[email protected]"); | ||
}); | ||
}); |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -240,16 +240,14 @@ describe("isPasswordSecure", () => { | |
true, | ||
); | ||
}); | ||
["cheval exact agrafe pile", "MonComptePro-2023!"].forEach( | ||
(blacklistedWord) => { | ||
it("should not contains blacklisted word", () => { | ||
assert.equal( | ||
isPasswordSecure(blacklistedWord, "[email protected]"), | ||
false, | ||
); | ||
}); | ||
}, | ||
); | ||
["Pro Connect forever", "MonComptePro-2023!"].forEach((blacklistedWord) => { | ||
it("should not contains blacklisted word", () => { | ||
assert.equal( | ||
isPasswordSecure(blacklistedWord, "[email protected]"), | ||
false, | ||
); | ||
}); | ||
}); | ||
it("should not contains users email address", () => { | ||
assert.equal( | ||
isPasswordSecure("[email protected]!", "[email protected]"), | ||
|