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

Create an infrastructure for E2E tests #82

Closed
4 tasks done
baruchiro opened this issue May 9, 2023 · 3 comments
Closed
4 tasks done

Create an infrastructure for E2E tests #82

baruchiro opened this issue May 9, 2023 · 3 comments
Assignees
Labels
help wanted Extra attention is needed tests

Comments

@baruchiro
Copy link
Collaborator

baruchiro commented May 9, 2023

We want to run End to End tests by running a browser instance, installing the extension, and clicking on the page to see the extension in action.

The requirements:

  • Run a real browser
  • Install the extension
  • Run on headless mode
  • Run with a real URL (or do you have another suggestion?)

Cypress

Currently can't visit StackOverflow.

Selenium

Headless Chrome can't load extensions.

Playwright

Managed to run Chrome with an extension, but the solution for headless didn't work.
Firefox extension is not supported.

@baruchiro baruchiro added help wanted Extra attention is needed tests labels May 9, 2023
@ETtestim
Copy link
Contributor

I can try to use Playwright I have some experience with it. not with extensions but I think they have some sort of solution for it.

@baruchiro
Copy link
Collaborator Author

@ETtestim Yes, please! I will appreciate it.

Please see the updated first message here, I listed the requirements.

@baruchiro
Copy link
Collaborator Author

@ETtestim implemented it with Playwright and Chrome, works in headless mode.
#84

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed tests
Projects
None yet
Development

No branches or pull requests

2 participants