Skip to content

Commit

Permalink
Merge pull request #92 from XuluWarrior/resume-cli-3.0.8
Browse files Browse the repository at this point in the history
Use resume-cli 3.0.8 in CI
  • Loading branch information
XuluWarrior committed Sep 23, 2023
2 parents 0024fac + 0e5fa5d commit f0a14ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ before_install:

install:
- npm ci
- npm install -g resume-cli@1.2.8
- npm install -g resume-cli@3.0.8
- npm install --no-save @percy/script

cache:
Expand All @@ -15,7 +15,7 @@ cache:

script:
- npm run build:styles
- resume serve --resume=example-resume.json --port 5001 --silent &
- resume serve --theme . --resume=example-resume.json --port 5001 --silent &
- sleep 2s
- npx percy exec -- node tests/percy.js

Expand Down
1 change: 1 addition & 0 deletions tests/percy.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ async function clickMenuLink(page, percySnapshot, linkName) {

PercyScript.run(async (page, percySnapshot) => {
await page.goto('http://localhost:5001/index.html');
await page.waitFor(3000); // Wait for browser sync notification to disappear
await page.waitFor(".pace-inactive");
await percySnapshot('homepage');

Expand Down

0 comments on commit f0a14ca

Please sign in to comment.