diff --git a/.circleci/workflows.yml b/.circleci/workflows.yml index 946af87a5cbc..e4856ddd9417 100644 --- a/.circleci/workflows.yml +++ b/.circleci/workflows.yml @@ -53,6 +53,7 @@ linuxArm64WorkflowFilters: &linux-arm64-workflow-filters - equal: [ develop, << pipeline.git.branch >> ] # use the following branch as well to ensure that v8 snapshot cache updates are fully tested - equal: [ 'update-v8-snapshot-cache-on-develop', << pipeline.git.branch >> ] + - equal: [ 'lmiller/fix-windows-regressions', << pipeline.git.branch >> ] - equal: [ 'matth/feat/chrome-headless', << pipeline.git.branch >> ] - matches: pattern: /^release\/\d+\.\d+\.\d+$/ diff --git a/packages/app/cypress/e2e/cypress-in-cypress.cy.ts b/packages/app/cypress/e2e/cypress-in-cypress.cy.ts index b03785765182..98e144bc5a0d 100644 --- a/packages/app/cypress/e2e/cypress-in-cypress.cy.ts +++ b/packages/app/cypress/e2e/cypress-in-cypress.cy.ts @@ -403,8 +403,10 @@ describe('Cypress in Cypress', { viewportWidth: 1500, defaultCommandTimeout: 100 cy.contains('E2E specs').should('be.visible') cy.withCtx(async (ctx) => { + const currentProject = ctx.currentProject?.replaceAll('\\', '/') + const specPath = `${currentProject}/cypress/e2e/dom-content.spec.js` const url = `http://127.0.0.1:${ctx.gqlServerPort}/__launchpad/graphql?` - const payload = `{"query":"mutation{\\nrunSpec(specPath:\\"${ctx.currentProject}/cypress/e2e/dom-content.spec.js\\"){\\n__typename\\n... on RunSpecResponse{\\ntestingType\\nbrowser{\\nid\\nname\\n}\\nspec{\\nid\\nname\\n}\\n}\\n}\\n}","variables":null}` + const payload = `{"query":"mutation{\\nrunSpec(specPath:\\"${specPath}\\"){\\n__typename\\n... on RunSpecResponse{\\ntestingType\\nbrowser{\\nid\\nname\\n}\\nspec{\\nid\\nname\\n}\\n}\\n}\\n}","variables":null}` ctx.coreData.app.browserStatus = 'open' diff --git a/packages/graphql/schemas/schema.graphql b/packages/graphql/schemas/schema.graphql index 5e2864e1ace2..b9562d0b0f0e 100644 --- a/packages/graphql/schemas/schema.graphql +++ b/packages/graphql/schemas/schema.graphql @@ -1754,7 +1754,7 @@ type Mutation { """ runSpec( """ - Relative path of spec to run from Cypress project root - must match e2e or component specPattern + Absolute path of the spec to run - must match e2e or component specPattern """ specPath: String! ): RunSpecResult