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

Browser end to end tests using playwright #1807

Closed
3 of 4 tasks
Onokaev opened this issue Jun 6, 2022 · 3 comments · Fixed by #2149
Closed
3 of 4 tasks

Browser end to end tests using playwright #1807

Onokaev opened this issue Jun 6, 2022 · 3 comments · Fixed by #2149
Assignees
Labels
type:infrastructure Core back-end work which includes quality work, code refactor, tests etc
Milestone

Comments

@Onokaev
Copy link
Contributor

Onokaev commented Jun 6, 2022

Jest test runner which we use for unit tests is intended for unit testing an application's logic and components rather than for testing it for any DOM quirks it might encounter. For this, we are using a separate tool, (playwright), for browser end-to-end tests.

We have also moved accessibility tests to run together with the E2E tests.

  • Write tests for anonymous scenarios
  • Write tests for authenticated scenarios
  • Write accessibility tests
  • Run tests on Azure pipelines
@Onokaev Onokaev added the type:infrastructure Core back-end work which includes quality work, code refactor, tests etc label Jun 6, 2022
@Onokaev Onokaev added this to the June-2022 milestone Jun 6, 2022
@Onokaev Onokaev self-assigned this Jun 6, 2022
@adhiambovivian
Copy link

@Onokaev we will need to decompose this work-item

@adhiambovivian adhiambovivian modified the milestones: June-2022, July-2022 Jul 7, 2022
@Onokaev Onokaev modified the milestones: July-2022, Backlog Aug 1, 2022
@thewahome thewahome self-assigned this Oct 6, 2022
@thewahome thewahome modified the milestones: Backlog, October-2022 Oct 6, 2022
@ElinorW ElinorW self-assigned this Nov 17, 2022
@Onokaev
Copy link
Contributor Author

Onokaev commented Dec 9, 2022

Currently, there is an issue with authenticating the app instance when the automated tests are running on GitHub CI:
microsoft/playwright#19322
microsoft/playwright#13090
Currently working on workarounds to get the instance authenticated

@Onokaev
Copy link
Contributor Author

Onokaev commented Dec 15, 2022

Working with the playwright team to figure out what the issue is with the authentication. Here is a recreation of the problem on codesandbox: https://codesandbox.io/s/unruffled-lehmann-i8bb1t?file=/src/tests/sample_spec.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:infrastructure Core back-end work which includes quality work, code refactor, tests etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants