Page Router E2E Tests
Closed this issue · 6 comments
Sub issue of #702
As discussed in #1064
E2E tests of the current pages should be created in order to migrate from pages router to app router more confident.
The pages to cover with E2E tests are:
- account #1099
- admin #1101
- api
authAlready enough covered with the existing create/delete-user-* tests- courses Already enough covered with the existing user-course-session-behaviour tests
- partner-admin #1102
- partnership
- subscription #1103
- therapy Already enough covered with the existing therapy-usage tests
- welcome #1092
- [slug] Already enough covered with the existing activities and grounding-exercises tests
- 404 Already covered but skipped due to an issue in the dev server
- 500 #1111
- about-our-courses #1109
- action-handler #1110
- chat #1115
- index #1098
- maintenance #1112
- meet-the-team #1090
- sitemap #1116
If a test already exists for the page, add missing tests if required.
@kyleecodes, @eleanorreem or @annarhughes could you assign it to me please?
Thank you @boodland you have been assigned this issue!
Please follow the directions in our Contributing Guide. We look forward to reviewing your pull request shortly ✨
Support Chayn's mission? ⭐ Please star this repo to help us find more contributors like you!
Learn more about Chayn here and explore our projects. 🌸
@eleanorreem, @annarhughes
Could you tell me how I could access to /partnership/badoo or /partnership/bumble or /partnership/fruitz?
I have tried either without a login user or any available ones (super admin, public and partner admin) and I am always getting the same page:
Thanks!
@eleanorreem, @annarhughes
Could you tell me how I could access to properly call /api/preview, I have seen it is expecting an slug parameter as well as a secret one that should be NEXT_PUBLIC_STORYBLOK_TOKEN value. I have tried using chat as the slug value but I am getting the following page:
Thanks!
@boodland sorry i missed all these questions!
don't worry about having a test for /partnership/badoo or /partnership/bumble or /partnership/fruitz and also /api/preview.
Thanks I'll mark this as complete! Everything you have done so far should safeguard enough. ⭐