Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rblaine95 committed Feb 27, 2024
1 parent 48f772b commit 64dbc8f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions cypress/e2e/opportunities.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ describe(`Opportunities`, function () {
});

//* step 1: fill out form and click next
cy.wait(2000);
cy.get("input[name=title]").type(`Test Opportunity ${this.magicNumber}`);
cy.get("input[id=input_typeid]").type("Learning{enter}");
cy.get("input[id=input_categories]").type("Agriculture{enter}Business and Entrepreneurship{enter}");
Expand Down Expand Up @@ -108,21 +109,22 @@ describe(`Opportunities`, function () {
cy.get("button[type=submit]").should("exist").click();

//* step 5: fill out form and click next
cy.wait(2000);
cy.get("button[type=submit]").should("exist").click();
cy.get("input[id=verificationEnabledManual]").check();
cy.get(`input[id="chk_verificationType_File Upload"]`).check();
cy.get("input[id=verificationEnabledManual]").click();
cy.get(`input[id="chk_verificationType_File Upload"]`).click();
cy.get(`input[id="input_verificationType_File Upload"]`).type("2", { moveToEnd: true });
cy.get(`input[id="chk_verificationType_Location"]`).check();
cy.get(`input[id="chk_verificationType_Location"]`).click();
cy.get(`input[id="input_verificationType_Location"]`).type("2", { moveToEnd: true });
cy.get(`input[id="chk_verificationType_Picture"]`).check();
cy.get(`input[id="chk_verificationType_Picture"]`).click();
cy.get(`input[id="input_verificationType_Picture"]`).type("2", { moveToEnd: true });
cy.get(`input[id="chk_verificationType_Voice Note"]`).check();
cy.get(`input[id="chk_verificationType_Voice Note"]`).click();
cy.get(`input[id="input_verificationType_Voice Note"]`).type("2", { moveToEnd: true });

cy.get("button[type=submit]").should("exist").click();

//* step 6: fill out form and click next
cy.get("input[name=credentialIssuanceEnabled]").check();
cy.get("input[name=credentialIssuanceEnabled]").click();
cy.wait(500);
cy.get("input[id=input_ssiSchemaName]").type("Default{enter}");

Expand Down

0 comments on commit 64dbc8f

Please sign in to comment.