Skip to content

Commit

Permalink
chore(#92): update docs e2e tests setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Aug 30, 2022
1 parent 171585a commit ec46719
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 1,042 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ jobs:

- run:
name: Run DruxtJS.org end-to-end tests
command: cd docs/nuxt && nvm i && nvm use && npm install --global yarn && yarn && yarn test
command: yarn:docs:test
- store_artifacts:
path: ./docs/nuxt/test/cypress/screenshots
- store_artifacts:
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.16.0
2 changes: 1 addition & 1 deletion docs/nuxt/.nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v17.9.1
v16.16.0
10 changes: 3 additions & 7 deletions docs/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,11 @@
"scripts": {
"cypress:open": "npx cypress open --project test",
"cypress:run": "npx cypress run --project test",
"dev": "NODE_OPTIONS='--openssl-legacy-provider' nuxt",
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate",
"storybook": "nuxt storybook",
"test": "start-server-and-test 'yarn dev' http://localhost:3000 'yarn cypress:run'",
"test:open": "start-server-and-test 'yarn dev' http://localhost:3000 'yarn cypress:open'"
"storybook": "nuxt storybook"
},
"dependencies": {
"@nuxt/content": "1.15.1",
Expand All @@ -27,8 +25,6 @@
"@nuxtjs/google-analytics": "2.4.0",
"@nuxtjs/pwa": "3.3.5",
"@nuxtjs/storybook": "4.2.0",
"@nuxtjs/tailwindcss": "4.2.1",
"cypress": "^10.6.0",
"start-server-and-test": "^1.14.0"
"@nuxtjs/tailwindcss": "4.2.1"
}
}
Loading

0 comments on commit ec46719

Please sign in to comment.