-
Notifications
You must be signed in to change notification settings - Fork 43
Hacktoberfest: Cypress E2E tests #392
Comments
I would like to contribute, may I be assigned? |
Certainly. I'll update the Addons (Create, Read, Update, Delete) to in progress. Please let me know if you need any help to get started. If you have any questions or need any input please reach out to me either here or through our slack community: https://join.slack.com/t/unleash-community/shared_invite/zt-8b6l1uut-LL67kLpIXm9bcN3~6RVaRQ Thanks! |
Do you need any help? Can I contribute to this? |
yes please @devcer |
Hey @ivarconr , How do I run the unleash-api? I did not find any repo with that name. I'm getting this error without running api on I started frontend with heroku using |
If you want to run the E2E tests against the heroku instance you must add omit the PASSWORD_AUTH=true parameter in the e2e test command. You can try running the same command without this parameter, or you could set up your own local instance of unleash as outlined here I recommend you set up your own instance in order to run the test as without an API key the cleanup (deleting the toggles) won't work correctly. |
Want to contribute for hactoberfest? Help us improve our frontend E2E testing. We use a framework called Cypress and would like to extend the E2E testing to more CRUD based operations in our frontend application:
Examples on how to implement the tests can be found in:
cypress/integration/feature.spec.js
The tests needs a user to run. Before you begin you should create a test user in the application. Currently the tests expects a user to exists with the following credentials:
[email protected] / qY70$NDcJNXA
After you've set up the test user, try running the tests by running
yarn e2e
.The text was updated successfully, but these errors were encountered: