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

GUI test for changing expiration date fails #9321

Closed
Talank opened this issue Dec 28, 2021 · 4 comments
Closed

GUI test for changing expiration date fails #9321

Talank opened this issue Dec 28, 2021 · 4 comments
Assignees
Labels
p2-high Escalation, on top of current planning, release blocker QA:team

Comments

@Talank
Copy link
Contributor

Talank commented Dec 28, 2021

Two of the tests that changes expiration date is failing in drone as well as locally. These scenarios are in tst_sharing feature

  1. user changes the expiration date of an already existing public link using webUI
  2. user changes the expiration date of an already existing public link for folder using client-UI

Also, both scenarios were tagged issue #8733.

Error message in CI

[
    {
        "Error Details": "Exception: Step execution through test middleware failed. Error: AssertionError [ERR_ASSERTION]: Expiry Date Mismatch: [object Object]\n    at Object.assertUserLastPublicShareDetails (/drone/src/middleware/src/helpers/sharingHelper.js:431:16)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)\n    at async /drone/src/middleware/src/app.js:66:7",
        "Feature": "Sharing",
        "Feature File": "tst_sharing",
        "Scenario": "user changes the expiration date of an already existing public link using webUI",
        "Test Step": "Then the fields of the last public link share response of user \"Alice\" should include on the server"
    },
    {
        "Error Details": "Exception: Step execution through test middleware failed. Error: AssertionError [ERR_ASSERTION]: Expiry Date Mismatch: [object Object]\n    at Object.assertUserLastPublicShareDetails (/drone/src/middleware/src/helpers/sharingHelper.js:431:16)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:95:5)\n    at async /drone/src/middleware/src/app.js:66:7",
        "Feature": "Sharing",
        "Feature File": "tst_sharing",
        "Scenario": "user changes the expiration date of an already existing public link for folder using client-UI",
        "Test Step": "Then the fields of the last public link share response of user \"Alice\" on the server should include"
    }
]

REF:

Error while running locally

For some reason Squish can change the value of day but not month and year in the expiration date change field.

Screenshot from 2021-12-28 14-57-28

@github-actions
Copy link

This issue was marked stale because it has been open for 30 days with no activity. Remove the stale label or comment or this will be closed in 7 days.

@individual-it
Copy link
Member

we have now multiple tests skipped because of this issue, lets increase the prio for it and fix it

@individual-it individual-it added the p2-high Escalation, on top of current planning, release blocker label Feb 16, 2022
@Talank Talank self-assigned this Feb 21, 2022
@Talank
Copy link
Contributor Author

Talank commented Apr 4, 2022

We can not modify the expiration date properly. The workaround that was already implemented was to modify year first. But even of we do so, the modification of expiration date is not being done properly. The only good way to do it is to open the datepicker and automate the date modification with the help of datepicker.

@Talank
Copy link
Contributor Author

Talank commented May 18, 2022

fix PR has been merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-high Escalation, on top of current planning, release blocker QA:team
Projects
None yet
Development

No branches or pull requests

2 participants