Skip to content

Commit

Permalink
Fix tests for adding events
Browse files Browse the repository at this point in the history
  • Loading branch information
a-pasquale committed Oct 25, 2024
1 parent 4d0ac59 commit 7735f1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/cypress/cypress/e2e/accessmatch/events/events-add.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ describe("Authenticated user tests the Events Form without Affinity Group", () =
cy.get("#edit-moderation-state-0-state").select("Published");

//Event Type
cy.get("#edit-field-event-type").select("Training");
cy.get("#edit-field-event-type-training").click();

//Event Affiliation
cy.get("#edit-field-affiliation-community").click();

//Event Skill Level
cy.get("#edit-field-skill-level").select("Advanced");
cy.get("#edit-field-skill-level-advanced").click();

//Form Submit Button and confirmation
cy.config("defaultCommandTimeout", 10000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,13 @@ describe("Verify the the community-outreach tag page", () => {
cy.get("#edit-moderation-state-0-state").select("Published");

//Event Type
cy.get("#edit-field-event-type").select("Training");
cy.get("#edit-field-event-type-training").click();

//Event Affiliation
cy.get("#edit-field-affiliation").select("Community");
cy.get("#edit-field-affiliation-community").click();

//Event Skill Level
cy.get("#edit-field-skill-level").select("Advanced");
cy.get("#edit-field-skill-level-advanced").click();

//Form Submit Button and confirmation
cy.get("#edit-submit").click();
Expand Down

0 comments on commit 7735f1b

Please sign in to comment.