pohutukawa-2022 / gardenz

Empowering community gardens in New Zealand
0 stars 0 forks source link

E2E: A member can volunteer to events #29

Open ahnwarez opened 2 years ago

ahnwarez commented 2 years ago

The test file in tests/e2e/memberVolunteerToEvent.test.js is broken and we need to fix it. This e2e test is simulating user input as if it's an automated bot. The reason it's broken is because it was written for an old UI design that does not exist anymore. Run the app in the browser and read the statements in the e2e, you'll notice that there are missing elements that don't show up in the UI, hence the test is broken.

Your task is to fix this test. IMPORTANT: To successfully run the e2e test, you have to open another Terminal tab and run the server npm run dev.

Look at other tests under the same folder to get a better understanding of how e2e is working.