-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[QA] Flaky API test #8864
Comments
Temporary fix done in #8868 |
This error is there everytime on both pass and fail. This probably was not the cause for the failure in next scenario. |
Failed in other scenarios as well Scenario: user lists folder shared with them in a group from sharer's personal space # /drone/src/tests/acceptance/features/apiSharingNg/sharedWithMe.feature:2498
Given using spaces DAV path # FeatureContext::usingOldOrNewDavPath()
And the administrator has assigned the role "Admin" to user "Alice" using the Graph API # GraphContext::theAdministratorHasGivenTheRoleUsingTheGraphApi()
And user "Alice" has created folder "folder" # FeatureContext::userHasCreatedFolder()
And user "Alice" has created a group "grp1" using the Graph API # GraphContext::userHasCreatedGroupUsingTheGraphApi()
And user "Brian" has been added to group "grp1" # FeatureContext::userHasBeenAddedToGroup()
And user "Alice" has sent the following share invitation: # SharingNgContext::userHasSentTheFollowingShareInvitation()
| resource | folder |
| space | Personal |
| sharee | grp1 |
| shareType | group |
| permissionsRole | Viewer |
When user "Brian" lists the shares shared with him using the Graph API # GraphContext::userListsTheResourcesSharedWithThemUsingGraphApi()
Then the HTTP status code should be "200" # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And the JSON data of the response should match
Enum failed, enum: [true], data: false at #->properties:value->items[0]:0->properties:@client.synchronize (Swaggest\JsonSchema\Exception\EnumException)
Scenario: user lists the file shared with them from project space # /drone/src/tests/acceptance/features/apiSharingNg/sharedWithMe.feature:3544
Given using spaces DAV path # FeatureContext::usingOldOrNewDavPath()
And the administrator has assigned the role "Space Admin" to user "Alice" using the Graph API # GraphContext::theAdministratorHasGivenTheRoleUsingTheGraphApi()
And user "Alice" has created a space "new-space" with the default quota using the Graph API # SpacesContext::theUserHasCreatedASpaceByDefaultUsingTheGraphApi()
And user "Alice" has uploaded a file inside space "new-space" with content "some content" to "testfile.txt" # SpacesContext::userHasUploadedFile()
And user "Alice" has sent the following share invitation: # SharingNgContext::userHasSentTheFollowingShareInvitation()
| resource | testfile.txt |
| space | new-space |
| sharee | Brian |
| shareType | user |
| permissionsRole | Viewer |
When user "Brian" lists the shares shared with him using the Graph API # GraphContext::userListsTheResourcesSharedWithThemUsingGraphApi()
Then the HTTP status code should be "200" # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And the JSON data of the response should match
Const failed at #->properties:value->items[0]:0->properties:@client.synchronize (Swaggest\JsonSchema\Exception\ConstException) |
Closing in favor of #8859 |
Describe the bug
API tests are failing because
AfterScenario
after testtests/acceptance/features/apiSharingNg/sharedByMe.feature:1487
is failing which is causing the next test i.e.tests/acceptance/features/apiSharingNg/sharedWithMe.feature:15
to failBuilds
https://drone.owncloud.com/owncloud/ocis/33717/32/5
https://drone.owncloud.com/owncloud/ocis/33719/32/5
https://drone.owncloud.com/owncloud/ocis/33720/32/5
The text was updated successfully, but these errors were encountered: