From 8581f7febd3e8f97474c62ca0c18a1e0e840ae53 Mon Sep 17 00:00:00 2001
From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com>
Date: Mon, 4 Dec 2023 16:55:51 +0700
Subject: [PATCH] chore: remove cypress
---
Services/client/cypress.config.ts | 8 ----
Services/client/cypress/e2e/example.cy.ts | 8 ----
Services/client/cypress/e2e/tsconfig.json | 10 -----
Services/client/cypress/fixtures/example.json | 5 ---
Services/client/cypress/support/commands.ts | 39 -------------------
Services/client/cypress/support/e2e.ts | 20 ----------
6 files changed, 90 deletions(-)
delete mode 100644 Services/client/cypress.config.ts
delete mode 100644 Services/client/cypress/e2e/example.cy.ts
delete mode 100644 Services/client/cypress/e2e/tsconfig.json
delete mode 100644 Services/client/cypress/fixtures/example.json
delete mode 100644 Services/client/cypress/support/commands.ts
delete mode 100644 Services/client/cypress/support/e2e.ts
diff --git a/Services/client/cypress.config.ts b/Services/client/cypress.config.ts
deleted file mode 100644
index 4a22885..0000000
--- a/Services/client/cypress.config.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { defineConfig } from 'cypress'
-
-export default defineConfig({
- e2e: {
- specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
- baseUrl: 'http://localhost:4173',
- },
-})
diff --git a/Services/client/cypress/e2e/example.cy.ts b/Services/client/cypress/e2e/example.cy.ts
deleted file mode 100644
index 7a8c909..0000000
--- a/Services/client/cypress/e2e/example.cy.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-// https://docs.cypress.io/api/introduction/api.html
-
-describe('My First Test', () => {
- it('visits the app root url', () => {
- cy.visit('/')
- cy.contains('h1', 'You did it!')
- })
-})
diff --git a/Services/client/cypress/e2e/tsconfig.json b/Services/client/cypress/e2e/tsconfig.json
deleted file mode 100644
index be213ae..0000000
--- a/Services/client/cypress/e2e/tsconfig.json
+++ /dev/null
@@ -1,10 +0,0 @@
-{
- "extends": "@vue/tsconfig/tsconfig.web.json",
- "include": ["./**/*", "../support/**/*"],
- "compilerOptions": {
- "isolatedModules": false,
- "target": "es5",
- "lib": ["es5", "dom"],
- "types": ["cypress"]
- }
-}
diff --git a/Services/client/cypress/fixtures/example.json b/Services/client/cypress/fixtures/example.json
deleted file mode 100644
index 02e4254..0000000
--- a/Services/client/cypress/fixtures/example.json
+++ /dev/null
@@ -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"
-}
diff --git a/Services/client/cypress/support/commands.ts b/Services/client/cypress/support/commands.ts
deleted file mode 100644
index 9b7bb8e..0000000
--- a/Services/client/cypress/support/commands.ts
+++ /dev/null
@@ -1,39 +0,0 @@
-///
-// ***********************************************
-// 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
-// drag(subject: string, options?: Partial): Chainable
-// dismiss(subject: string, options?: Partial): Chainable
-// visit(originalFn: CommandOriginalFn, url: string, options: Partial): Chainable
-// }
-// }
-// }
-
-export {}
diff --git a/Services/client/cypress/support/e2e.ts b/Services/client/cypress/support/e2e.ts
deleted file mode 100644
index d68db96..0000000
--- a/Services/client/cypress/support/e2e.ts
+++ /dev/null
@@ -1,20 +0,0 @@
-// ***********************************************************
-// 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')