Skip to content

Commit

Permalink
homepage connections e2e tests (#283)
Browse files Browse the repository at this point in the history
* homepage connections e2e tests

* linter issue fixes
  • Loading branch information
AdiMakkar authored Jun 7, 2024
1 parent 743f396 commit d481088
Show file tree
Hide file tree
Showing 8 changed files with 4,862 additions and 17,109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ Set privacy to http://localhost:4200/privacy
Set statistics to http://localhost:4200/stats
Set terms to http://localhost:4200/terms
Set events to http://localhost:4200/events
Set eventsdescription to http://localhost:4200/events/0
Set eventsdescription to http://localhost:4200/events/0
Set connections to http://localhost:4200/connections
7 changes: 6 additions & 1 deletion haibun-e2e-tests/local/backgrounds/pages/site.feature
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ Set RemoveConfirmationEvent to //*[contains(@ng-reflect-message, "Remove confirm
Set DeclineEvent to //*[contains(@ng-reflect-message, "Decline event")]
Set RescindDeclinationEvent to //*[contains(@ng-reflect-message, "Rescind declination")]
Set SmallEventRouter to //*[contains(@ng-reflect-router-link, '/events/0')]
Set LargeEventRouter to //*[contains(@ng-reflect-router-link, '/events/0')]
Set LargeEventRouter to //*[contains(@ng-reflect-router-link, '/events/0')]
Set Connections to //*[@id="gcc-connections-more-connections"]
Set AddConnection to //*[contains(@ng-reflect-message, "Add connection")]
Set RemoveAddedConnection to //*[contains(@ng-reflect-message, "Remove connection")]
Set DeclineConnection to //*[contains(@ng-reflect-message, "Decline connection")]
Set RescindDeclinationConnection to //*[contains(@ng-reflect-message, "Rescind declination")]
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

Feature: Confirmed connections button feature

Backgrounds: environment/service, pages/site

go to the home webpage
click the button AddConnection
wait for RemoveAddedConnection
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

Feature: Declined connections button feature

Backgrounds: environment/service, pages/site

go to the home webpage
click the button DeclineConnection
wait for RescindDeclinationConnection
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

Feature: More connections feature

Backgrounds: environment/service, pages/site

go to the home webpage
click the button Connections
#be on the connections webpage

#page is accessible serious 0 and moderate 0
14 changes: 7 additions & 7 deletions haibun-e2e-tests/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d481088

Please sign in to comment.