element-plus/cypress/support/index.js
jeremywu 3957ffb324
feat(project): adding cypress into element plus (#5281)
* feat(project): adding cypress into element plus

- Introduce Cypress to Element Plus
- Add Action config for running Cypress automatically after workflow for build website done
- Add a base case for button.spec.ts
- Add cypress recordings and screenshots to gitignore
- Add Cypress into tsconfig.json for global typing intelligence
- Add scripts for running cypress

* - Update cpress.yml syntax error

* - Remove cypress from jest running collector
2022-01-10 19:25:48 +08:00

21 lines
670 B
JavaScript

// ***********************************************************
// 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')