Skip to content

Commit

Permalink
1837/Update cypress tests for okta (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
LKCSmith authored Nov 22, 2022
1 parent d572061 commit af6036d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clients/admin-ui/cypress/e2e/config-wizard.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ describe.skip("Config Wizard", () => {
cy.getByTestId("okta-btn").click();
// Fill form
cy.getByTestId("authenticate-okta-form");
cy.getByTestId("input-orgUrl").type("fakeOrgUrl");
cy.getByTestId("input-orgUrl").type("https://ethyca.com/");
cy.getByTestId("input-token").type("fakeToken");
});

Expand Down Expand Up @@ -186,9 +186,9 @@ describe.skip("Config Wizard", () => {
}).as("postGenerate403");
cy.getByTestId("submit-btn").click();
cy.wait("@postGenerate403");
// Expect the custom message for this specific error.
// Expect the general message with a log.
cy.getByTestId("scanner-error");
cy.getByTestId("permission-msg");
cy.getByTestId("generic-msg");

cy.intercept("POST", "/api/v1/generate", {
statusCode: 500,
Expand Down

0 comments on commit af6036d

Please sign in to comment.