new file: .dockerignore
new file: .editorconfig new file: .gitignore new file: .prettierrc.json new file: .vscode/extensions.json new file: Dockerfile new file: README.md new file: cypress.config.ts new file: cypress/e2e/example.cy.ts new file: cypress/fixtures/example.json new file: cypress/support/commands.ts new file: cypress/support/e2e.ts new file: cypress/tsconfig.json new file: docker-compose.yml new file: env.d.ts new file: eslint.config.js new file: index.html new file: package-lock.json new file: package.json new file: postcss.config.js new file: public/favicon.ico new file: src/App.vue new file: src/assets/base.css new file: src/assets/logo.svg new file: src/assets/main.css new file: src/assets/tailwind.css new file: src/components/HelloWorld.vue new file: src/components/TheWelcome.vue new file: src/components/WelcomeItem.vue new file: src/components/__tests__/HelloWorld.spec.ts new file: src/components/icons/IconCommunity.vue new file: src/components/icons/IconDocumentation.vue new file: src/components/icons/IconEcosystem.vue new file: src/components/icons/IconSupport.vue new file: src/components/icons/IconTooling.vue new file: src/main.ts new file: src/router/index.ts new file: src/stores/counter.ts new file: src/views/AboutView.vue new file: src/views/HomeView.vue new file: tailwind.config.js new file: tsconfig.app.json new file: tsconfig.json new file: tsconfig.node.json new file: tsconfig.vitest.json new file: vite.config.ts new file: vitest.config.ts
This commit is contained in:
commit
b23e6f8434
47 changed files with 10221 additions and 0 deletions
8
cypress/e2e/example.cy.ts
Executable file
8
cypress/e2e/example.cy.ts
Executable file
|
@ -0,0 +1,8 @@
|
|||
// https://on.cypress.io/api
|
||||
|
||||
describe('My First Test', () => {
|
||||
it('visits the app root url', () => {
|
||||
cy.visit('/')
|
||||
cy.contains('h1', 'You did it!')
|
||||
})
|
||||
})
|
5
cypress/fixtures/example.json
Executable file
5
cypress/fixtures/example.json
Executable 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"
|
||||
}
|
39
cypress/support/commands.ts
Executable file
39
cypress/support/commands.ts
Executable file
|
@ -0,0 +1,39 @@
|
|||
/// <reference types="cypress" />
|
||||
// ***********************************************
|
||||
// This example commands.ts shows you how to
|
||||
// create various custom commands and overwrite
|
||||
// existing commands.
|
||||
//
|
||||
// For more comprehensive examples of custom
|
||||
// commands please read more here:
|
||||
// https://on.cypress.io/custom-commands
|
||||
// ***********************************************
|
||||
//
|
||||
//
|
||||
// -- This is a parent command --
|
||||
// Cypress.Commands.add('login', (email, password) => { ... })
|
||||
//
|
||||
//
|
||||
// -- This is a child command --
|
||||
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
|
||||
//
|
||||
//
|
||||
// -- This is a dual command --
|
||||
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
|
||||
//
|
||||
//
|
||||
// -- This will overwrite an existing command --
|
||||
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
|
||||
//
|
||||
// declare global {
|
||||
// namespace Cypress {
|
||||
// interface Chainable {
|
||||
// login(email: string, password: string): Chainable<void>
|
||||
// drag(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
|
||||
// dismiss(subject: string, options?: Partial<TypeOptions>): Chainable<Element>
|
||||
// visit(originalFn: CommandOriginalFn, url: string, options: Partial<VisitOptions>): Chainable<Element>
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
export {}
|
20
cypress/support/e2e.ts
Executable file
20
cypress/support/e2e.ts
Executable file
|
@ -0,0 +1,20 @@
|
|||
// ***********************************************************
|
||||
// This example support/index.js is processed and
|
||||
// loaded automatically before your test files.
|
||||
//
|
||||
// This is a great place to put global configuration and
|
||||
// behavior that modifies Cypress.
|
||||
//
|
||||
// You can change the location of this file or turn off
|
||||
// automatically serving support files with the
|
||||
// 'supportFile' configuration option.
|
||||
//
|
||||
// You can read more here:
|
||||
// https://on.cypress.io/configuration
|
||||
// ***********************************************************
|
||||
|
||||
// Import commands.js using ES2015 syntax:
|
||||
import './commands'
|
||||
|
||||
// Alternatively you can use CommonJS syntax:
|
||||
// require('./commands')
|
9
cypress/tsconfig.json
Executable file
9
cypress/tsconfig.json
Executable file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"extends": "@vue/tsconfig/tsconfig.dom.json",
|
||||
"include": ["./e2e/**/*", "./support/**/*"],
|
||||
"exclude": ["./support/component.*"],
|
||||
"compilerOptions": {
|
||||
"isolatedModules": false,
|
||||
"types": ["cypress"]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue