Skip to content

Commit

Permalink
fix failing acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade committed May 4, 2022
1 parent 5ff8098 commit 5dfdf02
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 36 deletions.
7 changes: 6 additions & 1 deletion dev/docker/oc10.web.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@
],
"options": {
"disablePreviews": true,
"displayResourcesLazy": false
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"applications": [
{
Expand Down
7 changes: 6 additions & 1 deletion dev/docker/ocis.web.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
},
"options": {
"disablePreviews": true,
"displayResourcesLazy": false
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"apps": [
"files",
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/features/webUIFilesList/fileList.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Feature: User can view files inside a folder
Then there should be no resources listed on the webUI


Scenario: All files list displays public link quick action
Scenario: All files list displays quicklink quick action
When the user browses to the files page
Then quick action "public link" should be displayed on the webUI
Then quick action "quicklink" should be displayed on the webUI
And the sidebar should match the default baseline

Scenario: files are not selected when the user logs in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Feature: Create public link shares
| uid_owner | Alice |
| permissions | read |
| path | /simple-folder |
| name | Quick action link |
| name | Quicklink |
And the following success message should be displayed on the webUI
"""
Quicklink copied into your clipboard
Expand Down
2 changes: 1 addition & 1 deletion tests/acceptance/stepDefinitions/publicLinkContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,6 @@ Then(
When(
'the user creates a public link via quick action for resource {string} using the webUI',
function (resource) {
return client.page.FilesPageElement.filesList().useQuickAction(resource, 'public link')
return client.page.FilesPageElement.filesList().useQuickAction(resource, 'quicklink')
}
)
7 changes: 6 additions & 1 deletion tests/drone/config-oc10-integration-app-oauth.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
],
"options": {
"disablePreviews": true,
"displayResourcesLazy": false
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"applications": [
{
Expand Down
7 changes: 6 additions & 1 deletion tests/drone/config-oc10-oauth.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@
"authUrl": "http://owncloud/index.php/apps/oauth2/authorize"
},
"options": {
"displayResourcesLazy": false
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"apps": [
"files",
Expand Down
7 changes: 6 additions & 1 deletion tests/drone/config-oc10-openid.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@
"scope": "openid profile email"
},
"options": {
"displayResourcesLazy": false
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"apps": [
"files",
Expand Down
7 changes: 6 additions & 1 deletion tests/drone/config-ocis.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
},
"options": {
"disablePreviews": true,
"displayResourcesLazy": false
"displayResourcesLazy": false,
"sidebar": {
"shares": {
"showAllOnLoad": true
}
}
},
"apps": [
"files",
Expand Down
28 changes: 2 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2279,17 +2279,7 @@ __metadata:
languageName: node
linkType: hard

"@types/glob@npm:^7.1.1":
version: 7.1.3
resolution: "@types/glob@npm:7.1.3"
dependencies:
"@types/minimatch": "*"
"@types/node": "*"
checksum: e0eef12285f548f15d887145590594a04ccce7f7e645fb047cbac18cb093f25d507ffbcc725312294c224bb78cf980fce33e5807de8d6f8a868b4186253499d4
languageName: node
linkType: hard

"@types/glob@npm:^7.1.3, @types/glob@npm:^7.2.0":
"@types/glob@npm:^7.1.1, @types/glob@npm:^7.1.3, @types/glob@npm:^7.2.0":
version: 7.2.0
resolution: "@types/glob@npm:7.2.0"
dependencies:
Expand Down Expand Up @@ -6640,21 +6630,7 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6":
version: 7.1.7
resolution: "glob@npm:7.1.7"
dependencies:
fs.realpath: ^1.0.0
inflight: ^1.0.4
inherits: 2
minimatch: ^3.0.4
once: ^1.3.0
path-is-absolute: ^1.0.0
checksum: b61f48973bbdcf5159997b0874a2165db572b368b931135832599875919c237fc05c12984e38fe828e69aa8a921eb0e8a4997266211c517c9cfaae8a93988bb8
languageName: node
linkType: hard

"glob@npm:^7.2.0":
"glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0":
version: 7.2.0
resolution: "glob@npm:7.2.0"
dependencies:
Expand Down

0 comments on commit 5dfdf02

Please sign in to comment.