-
Notifications
You must be signed in to change notification settings - Fork 182
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
[tests-only][full-ci] adding user quota using graph api instead of Provisioning api #7000
[tests-only][full-ci] adding user quota using graph api instead of Provisioning api #7000
Conversation
53fe2b7
to
2340bc3
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17. |
2340bc3
to
cfe9f76
Compare
2702e51
to
9ba3623
Compare
Kudos, SonarCloud Quality Gate passed! |
@S-Panta what is the status of this PR it's been a long time can we get this merged? or closed if it is not relevant anymore? |
I will continue on this PR next week. |
da17489
to
d61befa
Compare
I feel that the scenario of the feature file |
f846b78
to
a7c8ccd
Compare
I have refactored this file so that the test coverage for the graph related to user quota is covered. |
5da816e
to
ecf69b9
Compare
tests/acceptance/features/coreApiWebdavProperties1/getQuota.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/coreApiShareOperationsToShares2/uploadToShare.feature
Outdated
Show resolved
Hide resolved
e4f6104
to
4e6cd27
Compare
Blocked until this bug is fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suggest you don't block this PR. I'm not sure if #8197 will be fixed anytime soon.
Then the HTTP status code should be "200" | ||
And the single response should contain a property "d:quota-available-bytes" with value "10485406" | ||
Then the HTTP status code should be "207" | ||
And the single response should contain a property "d:quota-available-bytes" with value "10000" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow, we suppose here that Alice can see Brian's quota.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
d:quota-available-bytes
is responding wrong value. In practice, it should show the quota of Brian that is available for that folder not the full quota. Even when other files are inside Brian , the propfind would show all the remaining spaces of Brian. So maybe this is related to the issue too.
b0f4ab1
to
637c249
Compare
964844b
to
0d7f42a
Compare
0d7f42a
to
00105f4
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…ovisioning api (#7000) * refactored getQuota scenario * deleted quota step inside provisioning file * updating feature file of quota as per graphapi * updated expected failures file * updated expected failures file * removed issue tag
…ovisioning api (#7000) * refactored getQuota scenario * deleted quota step inside provisioning file * updating feature file of quota as per graphapi * updated expected failures file * updated expected failures file * removed issue tag
Description
This PR changes the test code and feature lines where the setting of user quota uses graph API. Previously, the test wasn't passing as it used provisioning API but at the moment oCIS uses graph for that task.
Related Issue
Screenshots (if appropriate):
Types of changes
Checklist: