Skip to content

Commit

Permalink
Merge pull request #1400 from Catrobat/dependabot/npm_and_yarn/npm-7.6.3
Browse files Browse the repository at this point in the history
Bump npm from 7.6.0 to 7.6.3
  • Loading branch information
dmetzner authored Mar 20, 2021
2 parents 369db3a + 33c61bc commit 111588d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
26 changes: 14 additions & 12 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
7 changes: 7 additions & 0 deletions tests/behat/features/web/general/sidebar.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 111588d

Please sign in to comment.