Releases: laracasts/cypress
Releases · laracasts/cypress
3.0.2
3.0.1
- Adds support for Laravel 10
v3.0.0
- Adds support for Cypress 10. Please review the Cypress changelog for details.
2.2.1
2.2.0
- Extends
cypress.boilerplate
command to allow for a custom install path, and auto-create + populate the project'scypress.json
configuration file.
2.1.0
- 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
Fix requestBody The The presence of any of these properties signals that we're using the new object API.
2.0.0
- Increase PHP minimum to 8.0.
- Remove support for Laravel's legacy factories.
- Optional new object-based API for
cy.create()
andcy.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
- Adds Laravel 9 support
1.4.1
Full Changelog: 1.4.0...1.4.1