Repository navigation
[tests-only][full-ci]Refactor closed issue related scenarios - #40392
Merged
Merged
Conversation
1 of 9 tasks
amrita-shrestha
commented
Sep 29, 2022
amrita-shrestha
requested review from
SagarGi,
SwikritiT,
grgprarup and
saw-jan
and removed request for
SagarGi
September 30, 2022 03:59
amrita-shrestha
marked this pull request as ready for review
September 30, 2022 04:09
SwikritiT
reviewed
Sep 30, 2022
SwikritiT
reviewed
Sep 30, 2022
SwikritiT
reviewed
Sep 30, 2022
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
from
September 30, 2022 07:19
a8daac9 to
161f70f
Compare
SagarGi
reviewed
Sep 30, 2022
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
from
October 12, 2022 04:10
d4e3f25 to
64a2be1
Compare
amrita-shrestha
requested review from
SagarGi,
SwikritiT and
kiranparajuli589
October 12, 2022 04:12
amrita-shrestha
commented
Oct 12, 2022
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
from
October 12, 2022 06:55
64a2be1 to
4fdfb71
Compare
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
2 times, most recently
from
October 12, 2022 10:39
be367d5 to
7f5f119
Compare
amrita-shrestha
commented
Oct 12, 2022
saw-jan
reviewed
Oct 13, 2022
saw-jan
reviewed
Oct 13, 2022
saw-jan
reviewed
Oct 13, 2022
kiranparajuli589
left a comment
Contributor
There was a problem hiding this comment.
Download API may end with 200(Complete) or 206(Partial). for these two cases, the downloaded content is different. the scenarios tries to cope with both cases,
- if status code is 206, the content check step for status 200 is skipped and vice versa
- content check step requires the status because it differs with the HTTP status received in the download request.
Please refactor you code accordingly. The step words a is bit confusing (at least for me). Adding some comments may help others coming here.
SwikritiT
suggested changes
Oct 17, 2022
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
2 times, most recently
from
October 18, 2022 04:25
1fdb2ff to
738f89b
Compare
amrita-shrestha
commented
Oct 18, 2022
amrita-shrestha
requested review from
SwikritiT,
kiranparajuli589 and
saw-jan
October 18, 2022 04:32
saw-jan
reviewed
Oct 18, 2022
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
from
October 18, 2022 06:09
738f89b to
a302f53
Compare
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
from
October 18, 2022 08:05
a302f53 to
acda461
Compare
saw-jan
reviewed
Oct 18, 2022
amrita-shrestha
force-pushed
the
refactorExpectedFailureClosedIssue
branch
from
October 18, 2022 09:15
acda461 to
eab5338
Compare
|
Kudos, SonarCloud Quality Gate passed! |
individual-it
approved these changes
Oct 18, 2022
SwikritiT
approved these changes
Oct 18, 2022
delete-merged-branch
Bot
deleted the
refactorExpectedFailureClosedIssue
branch
October 18, 2022 10:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Description
This PR refactor scenario in closed issue to work
Point to note
robots.txt file is generated at the time of ocis build in ocis but ore-exist in the core. Currently, we cache ocis binary only. That's why this scenario
Scenario: robots.txt file should be accessiblepasses in the core but fails in ocis
(This step checks the content of the robot.txt file in the services/web/assets/robot.txt path which is not cached currently).In CI, we store ocis binary in the cache. This scenario requests for robots.txt content through an API request. It was decided that we can check the content of robots.txt by passing value from step. If in the future robots.txt value changes then this scenario starts to fail.As discussed in can't access public link resources with spaces webdav API ocis#3085 (comment), public-link will not be implemented using space WebDAV so removing it
Related Issue
Searching sharee with displaynamestill exist in expected-to-failure ocis#4684No robots.txt availablestill exist in expected-to-failure ocis#4685can't access public link resources with spaces webdav APIstill exist in expected-to-failure ocis#4687Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: