Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/guides/getting-started/testing-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ describe('The Login Page', function(){

it('sets auth cookie when logging in via form submission', function(){
// destructuring assignment of the this.currentUser object
{ username, password } = this.currentUser
const { username, password } = this.currentUser

cy.visit('/login')

Expand Down Expand Up @@ -351,7 +351,7 @@ describe('The Dashboard Page', function(){

it('logs in programmatically without using the UI', function(){
// destructuring assignment of the this.currentUser object
{ username, password } = this.currentUser
const { username, password } = this.currentUser

// programmatically log us in without needing the UI
cy.request('POST', '/login', {
Expand Down