Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

[full-ci][tests-only] bump ocis commit id for the tests - #7136

Merged
pascalwengerter merged 2 commits into
masterfrom
bump-ocis-commit-id-for-tests
Jun 20, 2022
Merged

pascalwengerter merged 2 commits into
masterfrom
bump-ocis-commit-id-for-tests

Conversation

@kiranparajuli589

@kiranparajuli589 kiranparajuli589 commented Jun 17, 2022 •

Copy link
Copy Markdown
Contributor

Description

Bump ocis commit id for tests

Related Issue

Motivation and Context

How Has This Been Tested?

  • 🤖

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@ownclouders

ownclouders commented Jun 17, 2022 •

Copy link
Copy Markdown
Contributor

Results for oCISSharingAndUpload https://drone.owncloud.com/owncloud/web/26309/67/1

💥 The acceptance tests failed on retry. Please find the screenshots inside ...

webUIUpload-upload_feature-L173.png

webUIUpload-upload_feature-L173.png

@kiranparajuli589

kiranparajuli589 commented Jun 17, 2022 •

Copy link
Copy Markdown
Contributor Author

Results for oCISSharingPerm3 https://drone.owncloud.com/owncloud/web/26283/66/1 boom The acceptance tests pipeline failed. The build has been cancelled.

A big list of tests passed unexpectedly:

webUISharingFilePermissionMultipleUsers/shareFileWithMultipleUsers.feature:47
webUISharingFilePermissionMultipleUsers/shareFileWithMultipleUsers.feature:48
webUISharingFilePermissionMultipleUsers/shareFileWithMultipleUsers.feature:49
webUISharingFilePermissionMultipleUsers/shareFileWithMultipleUsers.feature:50
webUISharingFilePermissionMultipleUsers/shareFileWithMultipleUsers.feature:51
webUISharingFilePermissionMultipleUsers/shareFileWithMultipleUsers.feature:52
webUISharingFolderAdvancedPermissionMultipleUsers/sharedFolderWithMultipleUsersAdvancedPermissions.feature:53
webUISharingFolderAdvancedPermissionMultipleUsers/sharedFolderWithMultipleUsersAdvancedPermissions.feature:54
webUISharingFolderAdvancedPermissionMultipleUsers/sharedFolderWithMultipleUsersAdvancedPermissions.feature:55
webUISharingFolderAdvancedPermissionMultipleUsers/sharedFolderWithMultipleUsersAdvancedPermissions.feature:56
webUISharingFolderAdvancedPermissionMultipleUsers/sharedFolderWithMultipleUsersAdvancedPermissions.feature:57
webUISharingFolderAdvancedPermissionMultipleUsers/sharedFolderWithMultipleUsersAdvancedPermissions.feature:58
webUISharingFolderPermissionMultipleUsers/shareFolderWithMultipleUsers.feature:48
webUISharingFolderPermissionMultipleUsers/shareFolderWithMultipleUsers.feature:49
webUISharingFolderPermissionMultipleUsers/shareFolderWithMultipleUsers.feature:50
webUISharingFolderPermissionMultipleUsers/shareFolderWithMultipleUsers.feature:51
webUISharingFolderPermissionMultipleUsers/shareFolderWithMultipleUsers.feature:52
webUISharingFolderPermissionMultipleUsers/shareFolderWithMultipleUsers.feature:53

@phil-davis phil-davis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to have passing tests. Do we have a link to what improved in oCIS so that these tests are passing?

@kiranparajuli589

Copy link
Copy Markdown
Contributor Author

There are some more:
webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:60
webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:61
webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:62
webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:63
webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:64
webUISharingFolderAdvancedPermissionsGroups/shareAdvancePermissionsGroup.feature:65
webUISharingFolderPermissionsGroups/sharePermissionsGroup.feature:54
webUISharingFolderPermissionsGroups/sharePermissionsGroup.feature:55
webUISharingFolderPermissionsGroups/sharePermissionsGroup.feature:56
webUISharingFolderPermissionsGroups/sharePermissionsGroup.feature:57
webUISharingFolderPermissionsGroups/sharePermissionsGroup.feature:58
webUISharingFolderPermissionsGroups/sharePermissionsGroup.feature:59

@kiranparajuli589

kiranparajuli589 commented Jun 17, 2022 •

Copy link
Copy Markdown
Contributor Author

some more unexpected passes

webUISharingPermissionsUsers/sharePermissionsUsers.feature:21
webUISharingPermissionsUsers/sharePermissionsUsers.feature:36
webUISharingPermissionsUsers/sharePermissionsUsers.feature:52
webUISharingPermissionsUsers/sharePermissionsUsers.feature:68
webUISharingPermissionsUsers/sharePermissionsUsers.feature:99
webUISharingPermissionsUsers/sharePermissionsUsers.feature:100
webUISharingPermissionsUsers/sharePermissionsUsers.feature:101
webUISharingPermissionsUsers/sharePermissionsUsers.feature:102
webUISharingPermissionsUsers/sharePermissionsUsers.feature:103
webUISharingPermissionsUsers/sharePermissionsUsers.feature:121
webUISharingPermissionsUsers/sharePermissionsUsers.feature:122
webUISharingPermissionsUsers/sharePermissionsUsers.feature:155
webUISharingPermissionsUsers/sharePermissionsUsers.feature:156
webUISharingPermissionsUsers/sharePermissionsUsers.feature:157
webUISharingPermissionsUsers/sharePermissionsUsers.feature:160
webUISharingFilePermissionsGroups/sharePermissionsGroup.feature:54
webUISharingFilePermissionsGroups/sharePermissionsGroup.feature:55
webUISharingFilePermissionsGroups/sharePermissionsGroup.feature:56
webUISharingFilePermissionsGroups/sharePermissionsGroup.feature:57
webUISharingFilePermissionsGroups/sharePermissionsGroup.feature:58
webUISharingFilePermissionsGroups/sharePermissionsGroup.feature:59

An ocis bug demonstration scenario has also failed

https://drone.owncloud.com/owncloud/web/26287/64/16

More information
@skipOnOC10
  Scenario: Share a folder without share permissions using API and check if it is listed on the collaborators list for original owner (ocis bug demonstration) # features/webUISharingPermissionsUsers/sharePermissionsUsers.feature:169
- Connecting to selenium on port 4444...

Error while running .locateMultipleElements() protocol action: Unknown command 404 Not Found

√ Element <.files-recipient-custom-permissions-drop> was not present after 102 milliseconds.
ℹ Connected to selenium on port 4444 (285ms).
Using: chrome (94.0.4606.61) on Linux platform.

Given the setting "shareapi_auto_accept_share" of app "core" has been set to "no" in the server
And the administrator has set the default folder for received shares to "Shares" in the server
And these users have been created with default attributes and without skeleton files in the server:
  │ username │
  │ Alice    │
  │ Brian    │
And user "Brian" has created folder "simple-folder" in the server
And user "Brian" has created folder "simple-empty-folder" in the server
And user "Brian" has created folder "simple-folder/simple-empty-folder" in the server
And user "Brian" has uploaded file "data.zip" to "data.zip" in the server
And user "Brian" has uploaded file "lorem.txt" to "lorem.txt" in the server
And user "Brian" has uploaded file "lorem.txt" to "simple-folder/lorem.txt" in the server
Given user "Brian" has shared folder "simple-folder" with user "Alice" with "read" permissions in the server
And user "Alice" has accepted the share "Shares/simple-folder" offered by user "Brian" in the server
And user "Brian" has logged in using the webUI

√ Element <input[autocomplete="kopano-account username"]> was visible after 788 milliseconds.
√ Element <input[autocomplete="kopano-account username"]> was not present after 190 milliseconds.
√ Element <#files-view> was visible after 734 milliseconds.
√ Element <//[self::table[contains(@class, "files-table")] or self::div[contains(@class, "files-empty")] or self::div[contains(@class, "files-not-found")]]> was visible after 33 milliseconds.
When the user opens the share dialog for folder "simple-folder" using the webUI
√ Element <//span[contains(@class, "oc-resource-name") and (@data-test-resource-name='simple-folder' or @data-test-resource-path='/simple-folder')]/ancestor::tr[contains(@class, "oc-tbody-tr")]> was visible after 34 milliseconds.
waiting for 500ms ...
Timeout waiting for Ajax calls to start
waiting for 500ms ...
√ Element <//
[@id="sidebar-panel-sharing-item"]//[contains(@class, "sidebar-panel__body-content")]> was present after 14 milliseconds.
Then user "Alice Hansen" should be listed as "Viewer" in the collaborators list for folder "simple-folder" on the webUI
√ Element <//
[@id="sidebar-panel-sharing-item"]//*[contains(@class, "sidebar-panel__body-content")]> was present after 11 milliseconds.
√ Element <#files-collaborators-list> was present after 18 milliseconds.
✖ failed
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected

  + 'Viewer'
  - 'Custom permissions'
      + expected - actual

      -Viewer
      +Custom permissions

      at /var/www/owncloud/web/tests/acceptance/stepDefinitions/sharingContext.js:115:16
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
And no custom permissions should be set for collaborator "Alice Hansen" for folder "simple-folder" on the webUI
- skipped

@kiranparajuli589 kiranparajuli589 changed the title [tests-only] bump ocis commit id for the tests [full-ci][tests-only] bump ocis commit id for the tests Jun 17, 2022
@kiranparajuli589

Copy link
Copy Markdown
Contributor Author

There are more things to update in the expected failures list. I will follow up on this on coming Monday.

@kiranparajuli589
kiranparajuli589 marked this pull request as draft June 17, 2022 12:25
@kiranparajuli589
kiranparajuli589 force-pushed the bump-ocis-commit-id-for-tests branch from a2f4cba to ab7db2d Compare June 20, 2022 07:40
@kiranparajuli589

Copy link
Copy Markdown
Contributor Author

@pascalwengerter

Copy link
Copy Markdown
Contributor

Please squash-on-merge 😇

@kiranparajuli589
kiranparajuli589 force-pushed the bump-ocis-commit-id-for-tests branch from ab7db2d to a781892 Compare June 20, 2022 08:53
@kiranparajuli589
kiranparajuli589 marked this pull request as ready for review June 20, 2022 08:54
@kiranparajuli589
kiranparajuli589 force-pushed the bump-ocis-commit-id-for-tests branch from a781892 to a09a61f Compare June 20, 2022 12:14
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants