Skip to content

Add Playwright testing framework and initial test cases for the CMS#951

Open
MrDirkelz wants to merge 42 commits intomainfrom
cms-add-changerequest-e2e-tests
Open

Add Playwright testing framework and initial test cases for the CMS#951
MrDirkelz wants to merge 42 commits intomainfrom
cms-add-changerequest-e2e-tests

Conversation

@MrDirkelz
Copy link
Collaborator

No description provided.

@MrDirkelz MrDirkelz self-assigned this Jul 3, 2025
@MrDirkelz MrDirkelz linked an issue Jul 3, 2025 that may be closed by this pull request
@MrDirkelz MrDirkelz force-pushed the cms-add-changerequest-e2e-tests branch from 208f954 to 6ef778a Compare July 8, 2025 06:10
@MrDirkelz
Copy link
Collaborator Author

Status:

  1. Local tests have been set up and are working
  2. Specific Auth0 instance has been set up for end to end tests

Todo:

  • Set up github env variables set specifically for end to end tests.
  • Ensure timings are correct for github actions and how slow it is.
  • Ensure API is running correctly, alongside user access has to be set to super-admin for the e2e test user

@MrDirkelz MrDirkelz force-pushed the cms-add-changerequest-e2e-tests branch from 36df539 to b38ab5e Compare July 17, 2025 09:10
@MrDirkelz MrDirkelz force-pushed the cms-add-changerequest-e2e-tests branch from df09bdb to 9238f10 Compare July 23, 2025 12:15
…llation in favor of using Playwright GitHub Action
…riable references, and enhance timeout settings
- Updated the test for creating a new document.
- Fixed the Auth0 login button selector.
- Removed the failing login test.
- Updated the baseURL in playwright config.
- Updated the create button selector

Fix: Update e2e tests for CMS and Auth0 login

- Updated Auth0 login to click the "accept" button.
- Fixed CMS create new document flow.
- Updated the vite preview port.
- Removed the login test, as login is implicit in other tests.
- Added data-test attributes to the create button.
- Added retry to test
@MrDirkelz MrDirkelz force-pushed the cms-add-changerequest-e2e-tests branch from 2a44dbb to 4cc2404 Compare December 8, 2025 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CMS: Write E2E test for change requests/local changes.

2 participants