How can I specify which url Playwright will run the tests on CI? #8000
Unanswered
lucasfelixc
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
To contextualize, I have a turborepo project that there are two apps, preview deployments are made in all prs of these two projects, and I want to run the e2e tests with playwright pointing to the preview deploy url. I already did this flow in other project that is not a turborepo, is just a normal next project, and it works perfectly. I want to do the same thing but now in the turborepo project, running the tests of all apps, but I don't know how to specify which url the tests will run on.
For example, in the normal next project that I already did, I specify the url passing
${{ github.event.deployment_status.target_url }}
, but how it will works if I have two preview deployments in PR? I was thinking to create two ci configuration to both projects appoint to eachdeployment_status.target_url
but I don't know how to access each deployment_url.This is the .yaml configuration to run e2e tests in the another project, I would like to do the same thing in the turborepo project:
Additional information
No response
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions