Event Subscribe/Unsubscribe E2E Tests

Let's add E2E tests for our members' list component.

To test this feature within Cypress, we’ll need a user that creates an event and another that subscribes to that event. Let’s add another Cypress command for logging in users.

Login command

First, we’ll create a new file for the login command.

touch cypress/support/login.js

Then, create a new file for our new E2E tests.

touch cypress/integration/event-subscribe.js

Get hands-on with 1400+ tech skills courses.