From 5a98dfe5526187072ab7fd07d6713999907b9bf9 Mon Sep 17 00:00:00 2001 From: Stephan Pohl Date: Fri, 3 Jan 2020 15:58:49 +0100 Subject: [PATCH] Bumps cypress to v3.8.1 and fixes single select commands --- cypress/support/commands/commands.js | 4 ---- package-lock.json | 22 +++++++++++----------- package.json | 6 +++--- 3 files changed, 14 insertions(+), 18 deletions(-) diff --git a/cypress/support/commands/commands.js b/cypress/support/commands/commands.js index 0a74425..f9467b8 100644 --- a/cypress/support/commands/commands.js +++ b/cypress/support/commands/commands.js @@ -200,8 +200,6 @@ Cypress.Commands.add('typeSingleSelect', { } cy.get(`${selector} .sw-select-result-list`).should('not.exist'); - - return this; }); /** @@ -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; }); /** diff --git a/package-lock.json b/package-lock.json index d9935e6..14ded18 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "@shopware/e2e-testsuite-platform", - "version": "1.1.0", + "name": "@shopware-ag/e2e-testsuite-platform", + "version": "1.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -2058,9 +2058,9 @@ } }, "cypress": { - "version": "3.8.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-3.8.0.tgz", - "integrity": "sha512-gtEbqCgKETRc3pQFMsELRgIBNgiQg7vbOWTrCi7WE7bgOwNCaW9PEX8Jb3UN8z/maIp9WwzoFfeySfelYY7nRA==", + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-3.8.1.tgz", + "integrity": "sha512-eLk5OpL/ZMDfQx9t7ZaDUAGVcvSOPTi7CG1tiUnu9BGk7caBiDhuFi3Tz/D5vWqH/Dl6Uh4X+Au4W+zh0xzbXw==", "requires": { "@cypress/listr-verbose-renderer": "0.4.1", "@cypress/xvfb": "1.2.4", @@ -2680,9 +2680,9 @@ "integrity": "sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk=" }, "fast-json-stable-stringify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", - "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=" + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" }, "fast-safe-stringify": { "version": "2.0.7", @@ -4846,9 +4846,9 @@ } }, "psl": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.6.0.tgz", - "integrity": "sha512-SYKKmVel98NCOYXpkwUqZqh0ahZeeKfmisiLIcEZdsb+WbLv02g/dI5BUmZnIyOe7RzZtLax81nnb2HbvC2tzA==" + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.7.0.tgz", + "integrity": "sha512-5NsSEDv8zY70ScRnOTn7bK7eanl2MvFrOrS/R6x+dBt5g1ghnj9Zv90kO8GwT8gxcu2ANyFprnFYB85IogIJOQ==" }, "public-encrypt": { "version": "4.0.3", diff --git a/package.json b/package.json index f68eb47..90e46ea 100644 --- a/package.json +++ b/package.json @@ -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" @@ -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",