forked from Mirrors/elk
Compare commits
2 commits
main
...
feat/cypre
Author | SHA1 | Date | |
---|---|---|---|
|
bf86e83ea1 | ||
|
5c81029626 |
7 changed files with 759 additions and 2 deletions
8
cypress.config.ts
Normal file
8
cypress.config.ts
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import { defineConfig } from 'cypress'
|
||||||
|
|
||||||
|
export default defineConfig({
|
||||||
|
e2e: {
|
||||||
|
baseUrl: 'http://localhost:5314',
|
||||||
|
video: false,
|
||||||
|
},
|
||||||
|
})
|
5
cypress/fixtures/example.json
Normal file
5
cypress/fixtures/example.json
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"name": "Using fixtures to represent data",
|
||||||
|
"email": "hello@cypress.io",
|
||||||
|
"body": "Fixtures are a great way to mock data for responses to routes"
|
||||||
|
}
|
1
cypress/support/commands.ts
Normal file
1
cypress/support/commands.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import '@testing-library/cypress/add-commands'
|
1
cypress/support/e2e.ts
Normal file
1
cypress/support/e2e.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
import './commands'
|
6
cypress/tsconfig.json
Normal file
6
cypress/tsconfig.json
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"types": ["cypress", "@testing-library/cypress"]
|
||||||
|
},
|
||||||
|
"extends": "../tsconfig.json"
|
||||||
|
}
|
|
@ -18,6 +18,7 @@
|
||||||
"typecheck": "nuxi typecheck",
|
"typecheck": "nuxi typecheck",
|
||||||
"prepare": "esno scripts/prepare.ts",
|
"prepare": "esno scripts/prepare.ts",
|
||||||
"generate": "nuxi generate",
|
"generate": "nuxi generate",
|
||||||
|
"cypress:open": "cypress open",
|
||||||
"test:unit": "vitest",
|
"test:unit": "vitest",
|
||||||
"test:typecheck": "vue-tsc --noEmit && vue-tsc --noEmit --project service-worker/tsconfig.json",
|
"test:typecheck": "vue-tsc --noEmit && vue-tsc --noEmit --project service-worker/tsconfig.json",
|
||||||
"test": "nr test:unit",
|
"test": "nr test:unit",
|
||||||
|
@ -77,6 +78,7 @@
|
||||||
"@iconify-json/twemoji": "^1.1.7",
|
"@iconify-json/twemoji": "^1.1.7",
|
||||||
"@nuxtjs/i18n": "^8.0.0-beta.7",
|
"@nuxtjs/i18n": "^8.0.0-beta.7",
|
||||||
"@pinia/nuxt": "^0.4.6",
|
"@pinia/nuxt": "^0.4.6",
|
||||||
|
"@testing-library/cypress": "^9.0.0",
|
||||||
"@types/file-saver": "^2.0.5",
|
"@types/file-saver": "^2.0.5",
|
||||||
"@types/fnando__sparkline": "^0.3.4",
|
"@types/fnando__sparkline": "^0.3.4",
|
||||||
"@types/fs-extra": "^9.0.13",
|
"@types/fs-extra": "^9.0.13",
|
||||||
|
@ -88,6 +90,7 @@
|
||||||
"@vue-macros/nuxt": "^0.2.2",
|
"@vue-macros/nuxt": "^0.2.2",
|
||||||
"@vueuse/nuxt": "^9.9.0",
|
"@vueuse/nuxt": "^9.9.0",
|
||||||
"bumpp": "^8.2.1",
|
"bumpp": "^8.2.1",
|
||||||
|
"cypress": "^12.3.0",
|
||||||
"emoji-mart": "^5.4.0",
|
"emoji-mart": "^5.4.0",
|
||||||
"eslint": "^8.30.0",
|
"eslint": "^8.30.0",
|
||||||
"esno": "^0.16.3",
|
"esno": "^0.16.3",
|
||||||
|
|
737
pnpm-lock.yaml
737
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue