sir-dunxalot / cypress-nextjs-auth0

Cypress commands to support Auth0 and Next.js
60 stars 24 forks source link

[Bug] readme specifics incorrect parameters for cy.login() command #57

Open devtayls opened 2 years ago

devtayls commented 2 years ago

Bug Report

Relevant information

The paramters for cy.login are incorrectly labeled:

cy.login({ username: 'anothertestuser@lyft.com', password: 'mygreatpassword', })

cy.login({ auth0Username: 'anothertestuser@lyft.com', auth0Password: 'mygreatpassword', })

Your Environment

Steps to reproduce

  1. Follow the directions to install
  2. Use the cy.login() command to authenticate
  3. Pass in 'password' and 'username

Expected Results

User would be authenticated.

Observed Results

Command throws parameter not found error

Relevant Code (optional)


`cy.login({
      username: 'anothertestuser@lyft.com',
      password: 'mygreatpassword',
    })````