Skip to content

Commit

Permalink
Bumps cypress to v3.8.1 and fixes single select commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Pohl committed Jan 3, 2020
1 parent c63d8f5 commit 5a98dfe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 18 deletions.
4 changes: 0 additions & 4 deletions cypress/support/commands/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,6 @@ Cypress.Commands.add('typeSingleSelect', {
}

cy.get(`${selector} .sw-select-result-list`).should('not.exist');

return this;
});

/**
Expand All @@ -220,8 +218,6 @@ Cypress.Commands.add('typeSingleSelectAndCheck', {
// expect the placeholder for an empty select field not be shown and search for the value
cy.get(`${subject.selector} .sw-select__selection .is--placeholder`).should('not.exist');
cy.get(`${subject.selector} .sw-select__selection`).contains(value);

return this;
});

/**
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@shopware-ag/e2e-testsuite-platform",
"version": "1.1.1",
"version": "1.1.2",
"description": "E2E Testsuite for Shopware 6 using Cypress.js",
"bin": {
"cypress": "node_modules/.bin/cypress"
Expand All @@ -15,12 +15,12 @@
"author": "klarstil",
"license": "MIT",
"dependencies": {
"@babel/core": "7.7.5",
"@babel/plugin-proposal-object-rest-spread": "7.7.4",
"@babel/preset-env": "7.7.6",
"@babel/register": "7.7.4",
"@babel/core": "7.7.5",
"axios": "0.19.0",
"cypress": "3.8.0",
"cypress": "3.8.1",
"cypress-dark": "1.7.14",
"cypress-file-upload": "3.5.1",
"cypress-log-to-output": "1.0.7",
Expand Down

0 comments on commit 5a98dfe

Please sign in to comment.