Skip to content

Commit

Permalink
Merge pull request #524 from javierbrea/chore-update-cypress
Browse files Browse the repository at this point in the history
Test Cypress 12
  • Loading branch information
javierbrea authored Dec 7, 2022
2 parents c9cb79f + 9fc8d1d commit d6ec205
Show file tree
Hide file tree
Showing 81 changed files with 423 additions and 330 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [unreleased]

### Added
- docs: Add alternatives

### Changed
- chore(deps): Update devDependencies
- test(e2e): Rename cypress-10 folder to cypress-latest
- test(e2e): Use Cypress 12 in E2E tests

## [2.2.1] - 2022-08-30

Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Extends Cypress' cy commands with localStorage methods. Allows preserving localS

This solution allows you to use all browser localStorage methods through Cypress commands, and preserve it between tests and spec files. It also allows to simulate that localStorage is disabled in the browser.

## Alternatives

As from Cypress 12, you can use [`cy.session`](https://docs.cypress.io/api/commands/session) and [Cypress Test Isolation](https://docs.cypress.io/guides/core-concepts/test-isolation) in order to persist localStorage between tests. __Anyway, this plugin can be still used for an easier manipulation of the localStorage, writing localStorage assertions and even disabling it for checking the error handling.__

## Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's devDependencies:
Expand Down
Loading

0 comments on commit d6ec205

Please sign in to comment.