File tree Expand file tree Collapse file tree 3 files changed +2067
-1387
lines changed
packages/@vue/cli-plugin-e2e-cypress
generator/template/tests/e2e/plugins Expand file tree Collapse file tree 3 files changed +2067
-1387
lines changed Original file line number Diff line number Diff line change 11// https://docs.cypress.io/guides/guides/plugins-guide.html
2+ const webpack = require ( '@cypress/webpack-preprocessor' )
23
34module . exports = ( on , config ) => {
5+ on ( 'file:preprocessor' , webpack ( {
6+ webpackOptions : require ( '@vue/cli-service/webpack.config' ) ,
7+ watchOptions : { } ,
8+ } ) )
9+
410 return Object . assign ( { } , config , {
511 fixturesFolder : 'tests/e2e/fixtures' ,
612 integrationFolder : 'tests/e2e/specs' ,
Original file line number Diff line number Diff line change 2222 "access" : " public"
2323 },
2424 "dependencies" : {
25+ "@cypress/webpack-preprocessor" : " ^3.0.0" ,
2526 "@vue/cli-shared-utils" : " ^3.0.2" ,
2627 "cypress" : " ^3.0.2" ,
2728 "eslint-plugin-cypress" : " ^2.0.1"
You can’t perform that action at this time.
0 commit comments