Skip to content

Commit

Permalink
Merge pull request #309 from shopware/next-30405/fix-flaky-command
Browse files Browse the repository at this point in the history
NEXT-30405 - fix flaky typeAndCheckSearchField command
  • Loading branch information
seggewiss authored Nov 16, 2023
2 parents 23343ca + 9b0ae61 commit 9dd4305
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions cypress/support/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to this project will be documented in this file.

## [7.0.6] - 16.11.2023

### Changed
- Added auto close to the `typeAndCheckSearchField` command

## [7.0.3] - 01.02.2023

### Added
Expand Down
1 change: 1 addition & 0 deletions cypress/support/commands/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ Cypress.Commands.add('typeAndCheckSearchField', {
cy.wait('@searchResultCall')
.its('response.statusCode').should('equal', 200);
cy.url().should('include', encodeURI(value));
cy.wrap(subject).type('{esc}');
});

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopware-ag/e2e-testsuite-platform",
"version": "7.0.5",
"version": "7.0.6",
"description": "E2E Testsuite for Shopware 6 using Cypress.js",
"keywords": [
"e2e",
Expand Down

0 comments on commit 9dd4305

Please sign in to comment.