Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

[test-only]check that image is open - #10565

Merged
v-scharf merged 2 commits into
stable-8.0from
checkThatImageIsOpen
Mar 27, 2024
Merged

v-scharf merged 2 commits into
stable-8.0from
checkThatImageIsOpen

Conversation

@v-scharf

@v-scharf v-scharf commented Mar 7, 2024 •

Copy link
Copy Markdown
Contributor

related owncloud/ocis#8602

we had test for this bug but unfortunately the test didn't expect an error

the image viewer was open, but the image did not appearScreenshot 2024-03-07 at 17 39 25

I'm wait locators now
image

we can check the response, but sometimes that doesn't give us a 100% guarantee that everything works. Example, openning broken pdf file:
image

for txt or md files we can check content(ctr+c and evaluate clickboard) but it dificult when user viewer

@update-docs

update-docs Bot commented Mar 7, 2024

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@v-scharf

v-scharf commented Mar 7, 2024

Copy link
Copy Markdown
Contributor Author

don't merge please before fixing owncloud/ocis#8602

@SagarGi SagarGi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Test failing as the selector was changed. LGTM 👍 if CI is happy.

@v-scharf
v-scharf force-pushed the checkThatImageIsOpen branch from a7b2e4d to 5bfde0b Compare March 27, 2024 08:50
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@v-scharf v-scharf added the Status:Needs-Review Needs review from a maintainer label Mar 27, 2024
@v-scharf
v-scharf merged commit 67c42cf into stable-8.0 Mar 27, 2024
@delete-merged-branch
delete-merged-branch Bot deleted the checkThatImageIsOpen branch March 27, 2024 11:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Status:Needs-Review Needs review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants