Skip to content

Commit

Permalink
confirm and decline events tests updated (#277)
Browse files Browse the repository at this point in the history
* confirm and decline events tests updated

* confirm and decline e2e functionality tests updated
  • Loading branch information
AdiMakkar authored Apr 12, 2024
1 parent a3c0a18 commit f4fbdd8
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 1 deletion.
6 changes: 5 additions & 1 deletion haibun-e2e-tests/local/backgrounds/pages/site.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
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")]
8 changes: 8 additions & 0 deletions haibun-e2e-tests/local/features/events/confirm-event.feature
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions haibun-e2e-tests/local/features/events/decline-event.feature
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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

Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f4fbdd8

Please sign in to comment.