diff --git a/package-lock.json b/package-lock.json index 3c5212d107..2f156c8b53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12105,11 +12105,11 @@ "dev": true }, "npm": { - "version": "7.6.0", - "resolved": "https://registry.npmjs.org/npm/-/npm-7.6.0.tgz", - "integrity": "sha512-1Jexc9EoGJEMEdWWLQMs2a7a5nNtD0INmBY4Gzv+RI727VZO05kruXhL8NnHtsvBfVn+eoMmBJKzy1exJRfymQ==", + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/npm/-/npm-7.6.3.tgz", + "integrity": "sha512-+Cs8TEtkfdQGTIPw8AeqVtNNHyo1Zw8HATzAFFWYnK7jQYgT/CatEy85+BlEoEpqvga2uaKqVrXsTAYj28emjg==", "requires": { - "@npmcli/arborist": "^2.2.5", + "@npmcli/arborist": "^2.2.8", "@npmcli/ci-detect": "^1.2.0", "@npmcli/config": "^1.2.9", "@npmcli/run-script": "^1.8.3", @@ -12117,7 +12117,7 @@ "ansicolors": "~0.3.2", "ansistyles": "~0.1.3", "archy": "~1.0.0", - "byte-size": "^7.0.0", + "byte-size": "^7.0.1", "cacache": "^15.0.5", "chalk": "^4.1.0", "chownr": "^2.0.0", @@ -12133,7 +12133,7 @@ "json-parse-even-better-errors": "^2.3.1", "leven": "^3.1.0", "libnpmaccess": "^4.0.1", - "libnpmdiff": "^2.0.3", + "libnpmdiff": "^2.0.4", "libnpmfund": "^1.0.2", "libnpmhook": "^6.0.1", "libnpmorg": "^2.0.1", @@ -12158,7 +12158,7 @@ "npm-user-validate": "^1.0.1", "npmlog": "~4.1.2", "opener": "^1.5.2", - "pacote": "^11.2.7", + "pacote": "^11.3.0", "parse-conflict-json": "^1.1.1", "qrcode-terminal": "^0.12.0", "read": "~1.0.7", @@ -12178,7 +12178,7 @@ }, "dependencies": { "@npmcli/arborist": { - "version": "2.2.5", + "version": "2.2.8", "bundled": true, "requires": { "@npmcli/installed-package-contents": "^1.0.7", @@ -12453,7 +12453,7 @@ "bundled": true }, "byte-size": { - "version": "7.0.0", + "version": "7.0.1", "bundled": true }, "cacache": { @@ -13032,14 +13032,16 @@ } }, "libnpmdiff": { - "version": "2.0.3", + "version": "2.0.4", "bundled": true, "requires": { "@npmcli/disparity-colors": "^1.0.1", + "@npmcli/installed-package-contents": "^1.0.7", "binary-extensions": "^2.2.0", "diff": "^5.0.0", "minimatch": "^3.0.4", - "pacote": "^11.2.3", + "npm-package-arg": "^8.1.1", + "pacote": "^11.3.0", "tar": "^6.1.0" } }, @@ -13392,7 +13394,7 @@ } }, "pacote": { - "version": "11.2.7", + "version": "11.3.0", "bundled": true, "requires": { "@npmcli/git": "^2.0.1", diff --git a/package.json b/package.json index ef2a74ab74..70228e84fa 100644 --- a/package.json +++ b/package.json @@ -75,7 +75,7 @@ "js-yaml": "^4.0.0", "lazysizes": "^5.3.0", "material-design-icons": "^3.0.1", - "npm": "^7.6.0", + "npm": "^7.6.3", "popper.js": "^1.16.1", "sweetalert2": "^10.15.6", "textfilljs": "^1.0.3-a", diff --git a/tests/behat/features/web/general/sidebar.feature b/tests/behat/features/web/general/sidebar.feature index 554f9df154..12f1e48c7a 100644 --- a/tests/behat/features/web/general/sidebar.feature +++ b/tests/behat/features/web/general/sidebar.feature @@ -3,26 +3,33 @@ Feature: Sidebar Navigation Scenario: Button opens and closes sidebar Given I am on the homepage + And I wait for the page to be loaded Then the element "#sidebar" should not be visible And the element "#sidebar-overlay" should not be visible When I click "#top-app-bar__btn-sidebar-toggle" + And I wait for the page to be loaded Then the url should match "/app/$" And the element "#sidebar" should be visible And the element "#sidebar-overlay" should be visible When I click "#top-app-bar__btn-sidebar-toggle" + And I wait for the page to be loaded Then the url should match "/app/$" And the element "#sidebar" should not be visible And the element "#sidebar-overlay" should not be visible Scenario: Back button closes sidebar Given I am on the homepage + And I wait for the page to be loaded And I open the menu And I click "#btn-login" + And I wait for the page to be loaded And I click "#top-app-bar__btn-sidebar-toggle" + And I wait for the page to be loaded Then the url should match "/app/login$" And the element "#sidebar" should be visible And the element "#sidebar-overlay" should be visible When I click browser's back button + And I wait for the page to be loaded Then the url should match "/app/login" And the element "#sidebar" should not be visible And the element "#sidebar-overlay" should not be visible