Home
Support Forums

Question) E2E Testing Environment

I would like to build an environment with this kind of scenario, is it possible?

  1. A PR is created.
  2. Deploy Previews are created.
  3. Among the Deploy Previews contents, the preview domain is imported into Github Action.
  4. Test by injecting domain into E2E Script.

is it possible, if not is there other way?

Hi @mystyle2006,

I think the only way to do this would be by triggering your GitHub action from within Netlify’s build environment. You’d have to send the $DEPLOY_PRIME_URL variable to achieve this.

1 Like