diff --git a/source/api/commands/fixture.md b/source/api/commands/fixture.md index 3a29b6f857..e6611deb02 100644 --- a/source/api/commands/fixture.md +++ b/source/api/commands/fixture.md @@ -231,7 +231,7 @@ describe('User page', () => { beforeEach(function () { // "this" points at the test context object cy.fixture('user') - .then(() => { + .then((user) => { // "this" is still the test context object this.user = user })