...
/Event Subscribe/Unsubscribe E2E Tests
Event Subscribe/Unsubscribe E2E Tests
Let's add E2E tests for our members' list component.
We'll cover the following...
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
Below is the updated code. Use this to make further changes.
your_API_key
Not Specified...
�PNG IHDR ?�~� pHYs ��~� fIDATH��WKLQ���̔�uG�� e�n�.6qcb�l?���D`�F#� Ku�F 1Qc� ��!���� ��C�P�|B?$���ܱ3����I&}��}�̽s�[*�ɀU�A� �K��yx�gY�Ajq��3L Š� ��˫�OD�4��3Ϗ:X�3��o�PJ�ğo#IH�a����,{>1/�2$�R AR]�)w��?�sZw^��q�Y�m_��e���r[8�^� �&p��-���A}c��- ������!����2_)E�)㊪j���v�m� �ZOi�g�nW�{<n8�P����o�=$8�K��9|$����@��v�P<�j�>�n.|�e2�a&�0aŸ����be�̀��C�fˤE%-{�ֺ��C��N��jXi�~c�C,t��T�����r �{� �L)s��V��6%�(�#ᤙ!�]��H�ҐH$R���^R�A�61(?Y舚�>���(Z����Qm�L2�K�ZIc�� ���̧�C��2!⅄ �(����"