Automattic / wp-e2e-tests

Automated end-to-end tests for WordPress.com

Home Page:https://github.com/Automattic/wp-calypso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support running a local PR against a wp-calypso PR

alisterscott opened this issue · comments

When someone is working on a change in wp-calypso they can create the same branch name in this repository which means this PR will be used for tests against the PR

But we should also support running against a PR from CircleCI on the change itself

Something like

  1. When running in CircleCI for this project on non-master branch - check the branch exists on wp-calypso
  2. If exact same branch exists - then change URL to calypso.live and set branch name and use that

Question:

Should we require that a label is added to the wp-e2e-tests PR to indicate it is matching and for this behaviour to activate - or should it be automatic?