Skip to content
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] Failed at the user creates a new public link with following settings using the client-UI: step on CI #9858

Closed
2 tasks done
amrita-shrestha opened this issue Jul 5, 2022 · 4 comments
Assignees
Labels

Comments

@amrita-shrestha
Copy link
Contributor

amrita-shrestha commented Jul 5, 2022

Pre-submission Checks

  • I checked for similar issues, but could not find any. I also checked the closed issues. I could not contribute additional information to any existing issue.
  • I will take the time to fill in all the required fields. I know that the bug report may be dismissed otherwise due to lack of information.

Describe the QA issue

While creating a new public link with expireDate using client-UI, step failed with following error:

LOG     Expected date: 10/14/31 is not same as that of Actual date: 7/6/22, trying workaround
FAIL     workaround failed, actual date: 7/6/22 is still not same as expected date: 10/14/31

Need further investigation. This step may be an intermittent failure.

Steps to reproduce the issue

    Scenario: simple sharing of file and folder by public link with expiration date
        Given user "Alice" has set up a client with default settings
        And user "Alice" has created folder "FOLDER" on the server
        And user "Alice" has uploaded file with content "ownCloud test text file" to "/textfile.txt" on the server
        When the user creates a new public link with following settings using the client-UI:
            | path       | textfile.txt |
            | expireDate | 2031-10-14   |
        Then as user "Alice" the file "textfile.txt" should have a public link on the server
        And the last public link share response of user "Alice" should include the following fields on the server
            | expireDate | 2031-10-14 |
        When the user closes the sharing dialog
        And the user creates a new public link with following settings using the client-UI:
            | path       | FOLDER     |
            | expireDate | 2031-12-30 |
        Then as user "Alice" the file "FOLDER" should have a public link on the server
        And the last public link share response of user "Alice" should include the following fields on the server
            | expireDate | 2031-12-30 |

    Scenario: simple sharing of a file by public link with password and expiration date
        Given user "Alice" has set up a client with default settings
        And user "Alice" has uploaded file with content "ownCloud test text file" to "/textfile.txt" on the server
        When the user creates a new public link with following settings using the client-UI:
            | path       | textfile.txt |
            | password   | pass123      |
            | expireDate | 2031-10-14   |
        Then as user "Alice" the file "textfile.txt" should have a public link on the server
        And the last public link share response of user "Alice" should include the following fields on the server
            | expireDate | 2031-10-14 |
        And the public should be able to download the file "textfile.txt" with password "pass123" from the last created public link by "Alice" on the server

Logs

GUI Logs: https://cache.owncloud.com/public/owncloud/client/12334/guiReportUpload/index.html
Server Logs: https://cache.owncloud.com/public/owncloud/client/12334/guiReportUpload/serverlog.log

Screenshots

Screenshot from 2022-07-05 15-59-26
Screenshot from 2022-07-05 16-00-13

Expected behavior

No response

Actual behavior

No response

@amrita-shrestha
Copy link
Contributor Author

amrita-shrestha commented Jul 6, 2022

Related previous issue: Can not set expiration date for new public link .
Issue has been solved but issue tag is still present @issue-9321 . Investigate why this issue tag has not been removed before.

@sushmita56
Copy link
Contributor

The exact same failure is found in this PR too.
GUI log

The following two scenarios failed on the same step When the user creates a new public link with following settings using the client-UI and with the same error

LOG     Expected date: 10/14/31 is not same as that of Actual date: 7/6/22, trying workaround
FAIL     workaround failed, actual date: 7/6/22 is still not same as expected date: 10/14/31
Scenario: simple sharing of file and folder by public link with expiration date
Scenario: simple sharing of a file by public link with password and expiration date

@sushmita56 sushmita56 self-assigned this Jul 8, 2022
@sushmita56 sushmita56 removed their assignment Jul 27, 2022
@sushmita56
Copy link
Contributor

sushmita56 commented Jul 29, 2022

This may be related to #9953 as the error messages are the same.

@amrita-shrestha amrita-shrestha self-assigned this Jul 29, 2022
@amrita-shrestha
Copy link
Contributor Author

amrita-shrestha commented Jul 29, 2022

Could not reproduce locally. Highly doubt that this intermittent failure is due to keychain issues.
If in future workaround does not work then One solution was suggested before in this issue: #9321 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants