remove integration tests

This commit is contained in:
Elio Bischof
2023-06-08 07:19:49 +02:00
parent bb96b0d067
commit 9f8a24ad7c
18 changed files with 3 additions and 943 deletions

View File

@@ -1,5 +0,0 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io",
"body": "Fixtures are a great way to mock data for responses to routes"
}

View File

@@ -1,13 +0,0 @@
- key: verify_email_custom
expect:
grpc:
service: zitadel.user.v2alpha.UserService
method: VerifyEmail
actions:
- reply_grpc:
payload: >
{
"details": {
"resourceOwner": "dinigrossmueter"
}
}

View File

@@ -1,10 +0,0 @@
describe('/verify', () => {
it('redirects after successful email verification', () => {
cy.visit("/verify?userID=123&code=abc&submit=true")
cy.location('pathname').should('eq', '/username')
})
it('shows an error if validation failed', () => {
cy.visit("/verify?userID=123&code=abc&submit=true")
cy.contains('error validating code')
})
})

View File

@@ -1,3 +0,0 @@
*
!.gitignore
!.gitkeep

View File

@@ -1,37 +0,0 @@
/// <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>
// }
// }
// }

View File

@@ -1,20 +0,0 @@
// ***********************************************************
// This example support/e2e.ts 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')

View File

@@ -1,17 +0,0 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"target": "es5",
"lib": [
"es5",
"dom"
],
"types": [
"cypress",
"node"
]
},
"include": [
"**/*.ts"
],
}

View File

@@ -1,3 +0,0 @@
*
!.gitignore
!.gitkeep