docbrown/cypress
Miguel Guardia 364c3a8252
Fix subscribe to discussion button when user is not logged in (#12837)
* Add logic to subscribe button that shows login modal if user is not logged in
Pass in userstatus to CommentSubscription
Remove logic that loads comment subscription button for logged-in users only

* Modify test to account for new userStatus input in CommentSubscription

* Change UserStatus to isLoggedIn
Add propType to isLoggedIn
Remove preventDefault from click event

* Fix indentation and input on commentSubscription test
Create new isLoggedIn variable that returns boolean
Replace all instances of userStatus to isLoggedIn
Create test for showLoginModal when subscribing
2021-03-03 18:50:29 -06:00
..
fixtures Added E2E tests for #12585. (#12597) 2021-02-05 10:30:54 -06:00
integration Fix subscribe to discussion button when user is not logged in (#12837) 2021-03-03 18:50:29 -06:00
plugins Cleaning Test Runs for End to End (E2E) Tests (#12143) 2021-01-29 13:34:01 +01:00
support Cypress tests for /admin/config Authentication Section (#12539) 2021-02-03 15:31:55 -05:00
.eslintrc.js E2E Test: Initial Adminisitrator Login Flow (#11840) 2020-12-11 13:44:18 -05:00