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

tests(cy): use @nextcloud/cypress login and logout #986

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

max-nextcloud
Copy link
Collaborator

They authenticate using the API rather than the UI. This is much faster.

Visiting the desired url then happens separately.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation is not required

They authenticate using the API rather than the UI.
This is much faster.

Visiting the desired url then happens separately.

Signed-off-by: Max <[email protected]>
Copy link

cypress bot commented Nov 6, 2023

4 flaky tests on run #1217 ↗︎

0 251 0 0 Flakiness 4

Details:

tests(cy): use @nextcloud/cypress login and logout
Project: Collectives Commit: ca2e9cfd51
Status: Passed Duration: 13:04 💡
Started: Nov 6, 2023 5:08 PM Ended: Nov 6, 2023 5:21 PM
Flakiness  page-list.spec.js • 1 flaky test • Nextcloud master

View Output Video

Test Artifacts
Page list > Page trash > allows to trash and restore page with subpage and attachment Output Screenshots
Flakiness  pages-links.spec.js • 1 flaky test • Nextcloud stable25

View Output Video

Test Artifacts
Page Link Handling > Link handling to collectives > Opens link with URL to page in other collective with fileId in same/new tab depending on view/edit mode Output Screenshots
Flakiness  pages.spec.js • 1 flaky test • Nextcloud stable27

View Output Video

Test Artifacts
Page > Editing a page > Lists attachments for the page and allows restore Output Screenshots
Flakiness  page-list.spec.js • 1 flaky test • Nextcloud stable27

View Output Video

Test Artifacts
Page list > Page trash > allows to trash and restore page with subpage and attachment Output Screenshots

Review all test suite changes for PR #986 ↗︎

Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nice, thanks so much for this ❤️

@mejo- mejo- merged commit 73e7228 into main Nov 6, 2023
@delete-merged-branch delete-merged-branch bot deleted the test/nextcloud-cypress-login branch November 6, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants