Skip to content

Commit

Permalink
feat: move cypress code to apps/web/app/test
Browse files Browse the repository at this point in the history
  • Loading branch information
toshick committed Feb 9, 2024
1 parent 376cd0b commit 14088bb
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 24 deletions.
File renamed without changes.
15 changes: 15 additions & 0 deletions apps/web/app/tests/cypress.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { defineConfig } from 'cypress';

export default defineConfig({
e2e: {
setupNodeEvents(on, config) {

Check warning on line 5 in apps/web/app/tests/cypress.config.ts

View workflow job for this annotation

GitHub Actions / lint (18.17.0)

'on' is defined but never used

Check warning on line 5 in apps/web/app/tests/cypress.config.ts

View workflow job for this annotation

GitHub Actions / lint (18.17.0)

'config' is defined but never used
// implement node event listeners here
},
supportFile: 'app/tests/cypress/support/e2e.ts',
specPattern: 'app/tests/cypress/e2e/*.cy.ts',
},
downloadsFolder: 'app/tests/cypress/downloads',
fixturesFolder: 'app/tests/cypress/fixtures',
screenshotsFolder: 'app/tests/cypress/screenshots',
videosFolder: 'app/tests/cypress/videos',
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"preview": "nuxt preview",
"lint": "eslint . --ext js,jsx,ts,tsx,vue --ignore-path .eslintignore",
"lint-fix": "eslint . --ext js,jsx,ts,tsx,vue --ignore-path .eslintignore --fix",
"cypress:open": "cypress open --config-file app/tests/cypress.config.ts",
"postinstall": "nuxt prepare"
},
"devDependencies": {
"@vuejs-jp/eslint-config": "workspace:*",
"@vuejs-jp/typescript-config": "workspace:*",
"@vuejs-jp/vuefes-ui": "workspace:*",
"cypress": "13.6.4",
"nuxt": "3.10.0"
}
}
Binary file modified bun.lockb
Binary file not shown.
9 changes: 0 additions & 9 deletions packages/integration/cypress.config.ts

This file was deleted.

15 changes: 0 additions & 15 deletions packages/integration/package.json

This file was deleted.

0 comments on commit 14088bb

Please sign in to comment.