Skip to content

Pass config object to Cypress module API #639

@bahmutov

Description

@bahmutov

Cypress 0.20.0 should accept config object via module api

Should be same as passing objects via command line switch cypress run --config pageLoadTimeout=100000,watchForFileChanges=false

const cy = require('cypress')
cy.run({
  config: {
    pageLoadTimeout: 10000,
    watchForFileChanges: false
  }
})

Metadata

Metadata

Assignees

Labels

type: enhancementRequested enhancement of existing feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions