Percy's frontend web application, built with Ember.
First, install yarn.
Then, run:
yarnPERCY_DEV_MIRAGE=yes yarn run startThen, access http://localhost:4200
Edit /etc/hosts to add a local hostname (required):
# Add this to /etc/hosts:
127.0.0.1 dev.percy.localThen, run:
yarn run startFirst, add the dev.percy.local hostname above. Then, two environment variables must be set:
export PERCY_WEB_AUTH_TOKEN=...
export PERCY_WEB_API_HOST=https://percy.io
yarn run startPERCY_WEB_AUTH_TOKEN is a full-access user token, different than the normal project PERCY_TOKEN.
Then, access http://dev.percy.local:4200
yarn testOr, visit http://dev.percy.local:4200/tests.
Or, to run in ember test --server mode:
yarn run test:serverPERCY_TOKEN=... PERCY_BRANCH=local yarn test-
Determine the version of Ember Percy's is currently using from the
ember-clipackage version in yarn.lock. -
Determine the latest Ember release.
-
Read the changelog to review changes between the source version and target version.
-
View the release notes for each version between the source and target. If there are any unusual notes for an upgrade step, follow them.
-
Update using the Setup and Project Update notes for the current release.
-
When running the
ember-init, usedto do a diff on each file. Most changes can be ignored (n). The package.json will have a few packages that need to have version numbers updated. Do these manually one by one. ember-cli-qunit doesn't need to be added. -
Run
yarn install. -
Run
yarn run testand make sure all tests pass. There might be deprecation warnings and breakages to fix. -
After a CI build, ensure that the same number of screenshots have been taken, and that no unexpected visual diffs are present.