Skip to content

Commit

Permalink
Use middleware in settings acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalwengerter committed Dec 23, 2021
1 parent ef72510 commit 9ca065d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions settings/ui/tests/acceptance/features/settings.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ Feature: Set user specific settings
I want to set user specific settings
So that I can customize my OCIS experience to my liking

Background:
Given these users have been created with default attributes and without skeleton files:
| username |
| user1 |
| user2 |
And user "user1" has created folder "simple-folder"
Background:
Given these users have been created with default attributes and without skeleton files in the server:
| username |
| user1 |
| user2 |
And user "user1" has created folder "simple-folder"

Scenario: Check the default settings
Given user "user1" has logged in using the webUI
Expand Down
2 changes: 1 addition & 1 deletion settings/ui/tests/acceptance/helpers/language.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const filesListHeaderMenu = {
Deutsch: [
'Name',
'Größe',
'Geändert',
'Bearbeitet',
'Aktionen'
],
Español: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ module.exports = {
selector: '.oc-sidebar-nav-item'
},
openNavigationBtn: {
selector: '//button[@aria-label="Open navigation menu"]',
locateStrategy: 'xpath'
selector: '.oc-app-navigation-toggle'
},
userMenuBtn: {
selector: '#_userMenuButton'
Expand Down

0 comments on commit 9ca065d

Please sign in to comment.