Skip to content

Easier use of Cypress module API #1442

@Aftabnack

Description

@Aftabnack
  • Operating System: Ubuntu 17.10
  • Cypress Version: 2.1.0
  • Browser Version: Chrome 65

Is this a Feature or Bug?

Feature

Current behavior:

  • I am currently working on a internal node_module/lib for usage within our company whose sole purpose is to ensure common settings/structure for all our projects.
  • The Cypress module API is a bit verbose to work with when you are trying to achieve this.

Desired behavior:

  • The options object that cypress.open or cypress.run takes, expects the values to be strings as how it would be passed from command line. I should be able to pass a normal object.
  • Also it keeps creating an empty cypress.json, is it absolutely mandatory for this file to be present.

PS: Also I am a complete beginner in using Cypress, I apologize in advance if some parts/all of this issue is misinformed. I got sold by watching the intro video!! I feel this is THE TOOL for e2e-tests!

Note: I am willing to contribute if needed.

Metadata

Metadata

Assignees

Labels

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