File tree Expand file tree Collapse file tree 4 files changed +2
-25
lines changed
packages/server/test/integration Expand file tree Collapse file tree 4 files changed +2
-25
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,12 @@ const { makeLegacyDataContext } = require('../../lib/makeDataContext')
77let ctx
88
99describe ( 'lib/plugins' , ( ) => {
10- < << << << HEAD
11- beforeEach ( ( ) => {
10+ beforeEach ( async ( ) => {
1211 ctx = makeLegacyDataContext ( )
1312 Fixtures . scaffold ( )
14-
15- ctx . actions . project . setActiveProjectForTestSetup ( Fixtures . projectPath ( 'plugin-before-browser-launch-deprecation' ) )
16- === = ===
17- beforeEach ( async ( ) => {
1813 Fixtures . scaffoldProject ( 'plugin-before-browser-launch-deprecation' )
1914 await Fixtures . scaffoldCommonNodeModules ( )
20- >>> > >>> 71 d92e0e49 ( test : node_modules installs for system - tests , other improvements ( # 18574 ) )
15+ ctx . actions . project . setActiveProjectForTestSetup ( Fixtures . projectPath ( 'plugin-before-browser-launch-deprecation' ) )
2116 } )
2217
2318 afterEach ( ( ) => {
Original file line number Diff line number Diff line change @@ -690,15 +690,12 @@ const systemTests = {
690690 } else {
691691 this . servers = null
692692 }
693- < < < << << HEAD
694693
695694 const s = options . settings
696695
697696 if ( s ) {
698697 await settings . writeOnly ( e2ePath , s )
699698 }
700- = === ===
701- >>> >>> > 71 d92e0e49 ( test : node_modules installs for system - tests , other improvements ( #18574 ) )
702699 } )
703700
704701 afterEach ( async function ( ) {
@@ -779,12 +776,8 @@ const systemTests = {
779776 const args = [
780777 // hides a user warning to go through NPM module
781778 `--cwd=${ serverPath } ` ,
782- < < < << << HEAD
783- `--run-project=${ options . project } ` ,
784- = === ===
785779 `--run-project=${ Fixtures . projectPath ( options . project ) } ` ,
786780 `--testingType=${ options . testingType || 'e2e' } ` ,
787- > >>> >>> 71 d92e0e49 ( test : node_modules installs for system - tests , other improvements ( #18574 ) )
788781 ]
789782
790783 if ( options . testingType ) {
Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ describe('e2e config', () => {
7777 } )
7878
7979 it ( 'throws error when multiple default config file are found in project' , function ( ) {
80- < << << << HEAD
8180 const projectRoot = Fixtures . projectPath ( 'pristine-with-config-file' )
8281
8382 return fs . writeFile ( path . join ( projectRoot , 'cypress.config.ts' ) , 'export default {}' ) . then ( ( ) => {
@@ -90,9 +89,7 @@ describe('e2e config', () => {
9089 } )
9190
9291 it ( 'throws error when cypress.json is found in project and need migration' , function ( ) {
93- = === ===
9492 Fixtures . scaffoldProject ( 'pristine' )
95- >>> > >>> 71 d92e0e49 ( test : node_modules installs for system - tests , other improvements ( #18574 ) )
9693 const projectRoot = Fixtures . projectPath ( 'pristine' )
9794
9895 return fs . writeFile ( path . join ( projectRoot , 'cypress.json' ) , '{}' ) . then ( ( ) => {
Original file line number Diff line number Diff line change @@ -24,25 +24,17 @@ describe('e2e specs', () => {
2424 // @see https://github.com/cypress-io/cypress/issues/14226
2525 it ( 'handles the same integration and fixtures folders' , function ( ) {
2626 return systemTests . exec ( this , {
27- < << < << < HEAD
28- project ,
2927 testingType : 'e2e' ,
30- === === =
3128 project : 'same-fixtures-integration-folders' ,
32- >>> >>> > 71d92e0e49 (test: node_modules installs for system-tests, other improvements (#18574))
3329 snapshot : false ,
3430 expectedExitCode : 0 ,
3531 } )
3632 } )
3733
3834 it ( 'handles the fixtures folder being the subfolder of integration' , function ( ) {
3935 return systemTests . exec ( this , {
40- < << < << < HEAD
41- project ,
4236 testingType : 'e2e' ,
43- === === =
4437 project : 'fixture-subfolder-of-integration' ,
45- >>> >>> > 71d92e0e49 (test: node_modules installs for system-tests, other improvements (#18574))
4638 snapshot : false ,
4739 expectedExitCode : 0 ,
4840 } )
You can’t perform that action at this time.
0 commit comments