PR-440978: Adding Cypress Component Testing.

This commit is contained in:
2023-03-03 08:27:25 -06:00
parent d76372d1e0
commit 24987d7c09
17 changed files with 2252 additions and 69 deletions

15
cypress.config.ts Normal file
View File

@ -0,0 +1,15 @@
import { defineConfig } from "cypress";
import webpackConfig from './webpack.cy.config';
export default defineConfig({
component: {
specPattern: 'src/**/*.cy.{js,jsx,ts,tsx}',
devServer: {
framework: "react",
bundler: "webpack",
webpackConfig: webpackConfig,
},
viewportWidth: 1280,
viewportHeight: 720,
},
});