From f4fbdd8df286812e1683b5b0a3bd657eb0a7a74f Mon Sep 17 00:00:00 2001 From: Adii <73539670+AdiMakkar@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:20:56 -0400 Subject: [PATCH] confirm and decline events tests updated (#277) * confirm and decline events tests updated * confirm and decline e2e functionality tests updated --- haibun-e2e-tests/local/backgrounds/pages/site.feature | 6 +++++- .../local/features/events/confirm-event.feature | 8 ++++++++ .../local/features/events/decline-event.feature | 8 ++++++++ .../local/features/events/remove-confirm-event.feature | 10 ++++++++++ .../features/events/rescind-declination-event.feature | 9 +++++++++ 5 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 haibun-e2e-tests/local/features/events/confirm-event.feature create mode 100644 haibun-e2e-tests/local/features/events/decline-event.feature create mode 100644 haibun-e2e-tests/local/features/events/remove-confirm-event.feature create mode 100644 haibun-e2e-tests/local/features/events/rescind-declination-event.feature diff --git a/haibun-e2e-tests/local/backgrounds/pages/site.feature b/haibun-e2e-tests/local/backgrounds/pages/site.feature index 8131f71..e890416 100644 --- a/haibun-e2e-tests/local/backgrounds/pages/site.feature +++ b/haibun-e2e-tests/local/backgrounds/pages/site.feature @@ -17,4 +17,8 @@ Set Privacy to //*[@id="gcc-footer-privacy-btn"] Set Terms to //*[@id="gcc-footer-terms-btn"] Set FAQs to //*[@id="gcc-footer-faqs-btn"] Set Help to //*[@id="gcc-footer-support-btn"] -Set Events to //*[@id="gcc-events-more-events"] \ No newline at end of file +Set Events to //*[@id="gcc-events-more-events"] +Set ConfirmEvent to //*[contains(@ng-reflect-message, "Confirm event")] +Set RemoveConfirmationEvent to //*[contains(@ng-reflect-message, "Remove confirmation")] +Set DeclineEvent to //*[contains(@ng-reflect-message, "Decline event")] +Set RescindDeclinationEvent to //*[contains(@ng-reflect-message, "Rescind declination")] \ No newline at end of file diff --git a/haibun-e2e-tests/local/features/events/confirm-event.feature b/haibun-e2e-tests/local/features/events/confirm-event.feature new file mode 100644 index 0000000..21399a6 --- /dev/null +++ b/haibun-e2e-tests/local/features/events/confirm-event.feature @@ -0,0 +1,8 @@ + +Feature: Confirmed events button feature + + Backgrounds: environment/service, pages/site + + go to the home webpage + click the button ConfirmEvent + wait for RemoveConfirmationEvent \ No newline at end of file diff --git a/haibun-e2e-tests/local/features/events/decline-event.feature b/haibun-e2e-tests/local/features/events/decline-event.feature new file mode 100644 index 0000000..d5838be --- /dev/null +++ b/haibun-e2e-tests/local/features/events/decline-event.feature @@ -0,0 +1,8 @@ + +Feature: Declined events button feature + + Backgrounds: environment/service, pages/site + + go to the home webpage + click the button DeclineEvent + wait for RescindDeclinationEvent diff --git a/haibun-e2e-tests/local/features/events/remove-confirm-event.feature b/haibun-e2e-tests/local/features/events/remove-confirm-event.feature new file mode 100644 index 0000000..3ddcace --- /dev/null +++ b/haibun-e2e-tests/local/features/events/remove-confirm-event.feature @@ -0,0 +1,10 @@ + +Feature: Remove confirm events button feature + + Backgrounds: environment/service, pages/site + + go to the home webpage + click the button ConfirmEvent + click the button RemoveConfirmationEvent + wait for ConfirmEvent + diff --git a/haibun-e2e-tests/local/features/events/rescind-declination-event.feature b/haibun-e2e-tests/local/features/events/rescind-declination-event.feature new file mode 100644 index 0000000..51af5cc --- /dev/null +++ b/haibun-e2e-tests/local/features/events/rescind-declination-event.feature @@ -0,0 +1,9 @@ + +Feature: Rescind declined events button feature + + Backgrounds: environment/service, pages/site + + go to the home webpage + click the button DeclineEvent + click the button RescindDeclinationEvent + wait for DeclineEvent