File tree Expand file tree Collapse file tree 8 files changed +10
-19
lines changed
Expand file tree Collapse file tree 8 files changed +10
-19
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
44export default defineConfig ( {
55 component : {
66 ...nxComponentTestingPreset ( __filename ) ,
7- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9- injectDocumentDomain : true ,
107 } ,
118} ) ;
Original file line number Diff line number Diff line change 7979 "coverage" : true
8080 }
8181 }
82+ },
83+ "component-test" : {
84+ "executor" : " @nx/cypress:cypress" ,
85+ "options" : {
86+ "cypressConfig" : " apps/rxjs/14-race-condition/cypress.config.ts" ,
87+ "testingType" : " component" ,
88+ "skipServe" : true ,
89+ "devServerTarget" : " testing-router:build"
90+ }
8291 }
8392 }
8493}
Original file line number Diff line number Diff line change 2222 "path" : " ./tsconfig.editor.json"
2323 },
2424 {
25- "path" : " ./cypress/tsconfig.base. json"
25+ "path" : " ./cypress/tsconfig.json"
2626 }
2727 ],
2828 "extends" : " ../../../tsconfig.base.json" ,
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
44export default defineConfig ( {
55 component : {
66 ...nxComponentTestingPreset ( __filename ) ,
7- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9- injectDocumentDomain : true ,
107 } ,
118} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
44export default defineConfig ( {
55 component : {
66 ...nxComponentTestingPreset ( __filename ) ,
7- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9- injectDocumentDomain : true ,
107 } ,
118} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
44export default defineConfig ( {
55 component : {
66 ...nxComponentTestingPreset ( __filename ) ,
7- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9- injectDocumentDomain : true ,
107 } ,
118} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
44export default defineConfig ( {
55 component : {
66 ...nxComponentTestingPreset ( __filename ) ,
7- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9- injectDocumentDomain : true ,
107 } ,
118} ) ;
Original file line number Diff line number Diff line change @@ -4,8 +4,5 @@ import { defineConfig } from 'cypress';
44export default defineConfig ( {
55 component : {
66 ...nxComponentTestingPreset ( __filename ) ,
7- // Please ensure you use `cy.origin()` when navigating between domains and remove this option.
8- // See https://docs.cypress.io/app/references/migration-guide#Changes-to-cyorigin
9- injectDocumentDomain : true ,
107 } ,
118} ) ;
You can’t perform that action at this time.
0 commit comments