Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playwright Tests! #147

Closed
6 tasks done
RyanR712 opened this issue Oct 16, 2023 · 0 comments · Fixed by #149
Closed
6 tasks done

Playwright Tests! #147

RyanR712 opened this issue Oct 16, 2023 · 0 comments · Fixed by #149
Assignees
Labels
Bug Something isn't working. Rightmost number in semantic versioning Enhancement New feature required This feature is required to be implemented by the current implementation team

Comments

@RyanR712
Copy link
Collaborator

RyanR712 commented Oct 16, 2023

After some consideration, it seems like Selenium isn't going to be compatible with vite and vitest. Playwright, on the other hand, seems syntactically familiar to vitest and has compatibility with vite. Follow a similar checklist to issue #28 and get those tests testing!

  • Install Playwright via npm
  • Write high level UI unit tests that encompass all features and ensure the output is expected. Some examples:
    • Draw a complex AEG with multiple nested cuts and atoms, save it as a file, and ensure the AEG structure matches the expected values.
    • Load an AEG from a file, try to place several illegal atoms and cuts on it, save that file and ensure none were added.
  • Add the entire Playwright test suite to be executable via npm script.
  • Add a github workflow that runs the npm script and use it as a check for pushing to master.
@RyanR712 RyanR712 added Bug Something isn't working. Rightmost number in semantic versioning Enhancement New feature labels Oct 16, 2023
@RyanR712 RyanR712 added this to the Milestone 5: Demo 2 milestone Oct 16, 2023
@RyanR712 RyanR712 linked a pull request Oct 16, 2023 that will close this issue
@RyanR712 RyanR712 added the required This feature is required to be implemented by the current implementation team label Oct 16, 2023
@RyanR712 RyanR712 changed the title Replace Selenium with Playwright! Playwright Tests! Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working. Rightmost number in semantic versioning Enhancement New feature required This feature is required to be implemented by the current implementation team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants