prescottprue/cypress-firebase

README setup causes error

YMRTZ opened this issue · 1 comments

YMRTZ commented

Describe the bug

Setup method in README causes Cypress to break

To Reproduce

  1. Follow the steps listed in the README to install Cypress and cypress-firebase

Expected behavior/code
Cypress should run properly after following setup steps.

Possible Solution

Replacing "supportFile: 'cypress/support/e2e/index.js'," inside cypress.config.ts with "supportFile: 'cypress/support/e2e.ts',", which corresponds to the support commands file, solved the issue.

Good callout - removing since the default location is used and therefore does not need to be specified