Skip to content

About importing plugins file into specs #2241

@dwelle

Description

@dwelle

I'm submitting a...

[x] Bug report

Type of bug / changes

https://docs.cypress.io/guides/core-concepts/writing-and-organizing-tests.html#Plugin-files

The part about plugins file being importing into specs doesn't sound right (it being in the background process, and all).

By default Cypress will automatically include the plugins file cypress/plugins/index.js before every single spec file it runs. We do this purely as a convenience mechanism so you don’t have to import this file in every single one of your spec files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions