Skip to content

Commit

Permalink
fix: set the value of testingType in project-ct (#16885)
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jun 10, 2021
1 parent 7192a78 commit 72a68cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/server-ct/src/project-ct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,13 @@ export class ProjectCt extends ProjectBase<ServerCt> {

updatedConfig.componentTesting = true

// This value is normally set up in the `packages/server/lib/plugins/index.js#110`
// But if we don't return it in the plugins function, it never gets set
// Since there is no chance that it will have any other value here, we set it to "component"
// This allows users to not return config in the `cypress/plugins/index.js` file
// https://github.com/cypress-io/cypress/issues/16860
updatedConfig.resolved.testingType = { value: 'component' }

debug('updated config: %o', updatedConfig)

return updatedConfig
Expand Down

4 comments on commit 72a68cc

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 72a68cc Jun 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.5.1/circle-develop-72a68cc6eb6f71216f784b06371c0f1ab1d7d7fd/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 72a68cc Jun 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 ia32 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.5.1/appveyor-develop-72a68cc6eb6f71216f784b06371c0f1ab1d7d7fd/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 72a68cc Jun 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AppVeyor has built the win32 x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.5.1/appveyor-develop-72a68cc6eb6f71216f784b06371c0f1ab1d7d7fd/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 72a68cc Jun 10, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/7.5.1/circle-develop-72a68cc6eb6f71216f784b06371c0f1ab1d7d7fd/cypress.tgz

Please sign in to comment.