From 7735f1bacfc0b801e9e37ad6c994bcf3b07d1599 Mon Sep 17 00:00:00 2001 From: Andrew Pasquale Date: Fri, 25 Oct 2024 12:26:20 -0400 Subject: [PATCH] Fix tests for adding events --- .../cypress/cypress/e2e/accessmatch/events/events-add.cy.js | 4 ++-- .../cypress/e2e/accessmatch/tags/tag-individual.cy.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/cypress/cypress/e2e/accessmatch/events/events-add.cy.js b/tests/cypress/cypress/e2e/accessmatch/events/events-add.cy.js index 332db01d2..f001679dc 100644 --- a/tests/cypress/cypress/e2e/accessmatch/events/events-add.cy.js +++ b/tests/cypress/cypress/e2e/accessmatch/events/events-add.cy.js @@ -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); diff --git a/tests/cypress/cypress/e2e/accessmatch/tags/tag-individual.cy.js b/tests/cypress/cypress/e2e/accessmatch/tags/tag-individual.cy.js index 4f7d86131..0f5799b5b 100644 --- a/tests/cypress/cypress/e2e/accessmatch/tags/tag-individual.cy.js +++ b/tests/cypress/cypress/e2e/accessmatch/tags/tag-individual.cy.js @@ -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();