Skip to content

Releases: laracasts/cypress

3.0.2

19 Mar 14:08
449f9d6
Compare
Choose a tag to compare
  • Adds support for Laravel 11

3.0.1

16 Feb 20:01
dd4e611
Compare
Choose a tag to compare
  • Adds support for Laravel 10

v3.0.0

27 Jun 13:51
9a9e5d2
Compare
Choose a tag to compare

2.2.1

15 Feb 17:53
Compare
Choose a tag to compare
  • Write routes to the proper support directory - fixes e7451cd

2.2.0

15 Feb 16:33
Compare
Choose a tag to compare
  • Extends cypress.boilerplate command to allow for a custom install path, and auto-create + populate the project's cypress.json configuration file.

2.1.0

14 Feb 16:25
78b284f
Compare
Choose a tag to compare
  • Add a new cy.currentUser() command to fetch the currently authenticated user
  • Add TypeScript type declarations file for custom Cypress commands
  • Cypress test runner dashboard will now display the full Artisan command string

As always, if upgrading from a previous release, please manually ensure that your laravel-commands.js file matches up with the latest version here.

2.0.1

11 Feb 18:39
Compare
Choose a tag to compare
Fix requestBody

The The presence of any of these properties signals that we're using the new object API.

2.0.0

11 Feb 18:17
Compare
Choose a tag to compare
  • Increase PHP minimum to 8.0.
  • Remove support for Laravel's legacy factories.
  • Optional new object-based API for cy.create() and cy.login() that allows for relationship loading and declaring model factory states.
test('it shows blog posts', () => {
    cy.create({
        model: 'App\\Post',
        attributes: { title: 'My First Post' },
        state: ['archived'],
        load: ['author'],
        count: 10
    })
});

--

Upgrade Notes

If upgrading from version 1, be sure to manually update your cypress/support/laravel-commands.js file to match this one.

1.5.0

11 Feb 14:48
Compare
Choose a tag to compare
  • Adds Laravel 9 support

1.4.1

20 Oct 15:32
9d16ef3
Compare
Choose a tag to compare

Full Changelog: 1.4.0...1.4.1