Skip to content

Commit

Permalink
removing cypress skelaton code
Browse files Browse the repository at this point in the history
  • Loading branch information
shameerrehman committed Aug 29, 2023
1 parent c1c9127 commit a3748ee
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 60 deletions.
5 changes: 0 additions & 5 deletions cypress/fixtures/example.json

This file was deleted.

38 changes: 1 addition & 37 deletions cypress/support/commands.ts
Original file line number Diff line number Diff line change
@@ -1,37 +1 @@
/// <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>
// }
// }
// }
/// <reference types="cypress" />
18 changes: 0 additions & 18 deletions cypress/support/e2e.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,2 @@
// ***********************************************************
// 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')

0 comments on commit a3748ee

Please # to comment.