Add authentication test to cypress (#26337) (#26563)

Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
This commit is contained in:
Aboullos 2024-02-01 14:53:20 +01:00 committed by GitHub
parent 14d97ca9ea
commit 0c3e6d731c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -188,6 +188,23 @@ describe("Authentication test", () => {
modalUtil.confirmModal();
masthead.checkNotificationMessage("Flow successfully deleted");
});
it("add webauthn authentication to browserflow", () => {
const flowName = "WebAuthn Browser";
listingPage.clickRowDetails("Browser").clickDetailMenu("Duplicate");
duplicateFlowModal.fill(flowName);
detailPage.clickRowDelete("WebAuthn Browser Browser - Conditional OTP");
modalUtil.confirmModal();
commonPage
.actionToolbarUtils()
.clickActionToggleButton()
.clickDropdownItem("Bind flow");
new BindFlowModal().fill("Direct grant flow").save();
masthead.checkNotificationMessage("Flow successfully updated");
});
});
describe("Required actions", () => {