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

How to run browser tests on local machine? #1045

Closed
michelson opened this issue Oct 24, 2023 · 3 comments
Closed

How to run browser tests on local machine? #1045

michelson opened this issue Oct 24, 2023 · 3 comments

Comments

@michelson
Copy link
Contributor

michelson commented Oct 24, 2023

I'm trying to run specs on my local env, and the browser specs are failing; I'm still trying to figure out why. I see them retrying. I'm my fork; however, they run fine in the GitHub actions. Is there some extra procedure that should be run before running the tests?

Screen Shot 2023-10-24 at 12 31 49 PM

ref: #1042

@afcapel
Copy link
Collaborator

afcapel commented Oct 25, 2023

Did you run yarn install && yarn playwright install --with-deps? After that yarn test:browser should work.

How to run tests is documented here.

Hopefully that will help, but feel free to reopen the issue if not.

@afcapel afcapel closed this as completed Oct 25, 2023
@michelson
Copy link
Contributor Author

Yes, unfortunately, I had already installed the dependencies and ran the tests with: yarn test: browser --project=chrome. I am trying to understand why I have all tests failing, but in GitHub actions they are running fine.

@michelson
Copy link
Contributor Author

I got it; I missed the yarn build step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants