-
Notifications
You must be signed in to change notification settings - Fork 91
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
fix(css): Fix print view in viewer and single-file share #5054
Conversation
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
Fixes: #4536 Signed-off-by: Jonas <jonas@freesources.org>
Compare print view of long document visually using `cypress-visual-regression` to detect regressions in print view in the future. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
fda43c5
to
9b666c9
Compare
/compile |
The snapshot comparison will only succeed after the JS assets got updated. So let's try to compile+push them into the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, especially having those tests 👍
Nah, looks like the font stack used by your local snapshots is different from CI 🙈 |
… share Visually compare print view of long document in single-file share. Signed-off-by: Jonas <jonas@freesources.org>
Signed-off-by: Jonas <jonas@freesources.org>
/compile |
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Yeah, the joy of visual comparison tests 🤪 I updated it now with the snapshots created by CI. |
/backport to stable28 |
/backport 90ce11e,aff3a1add26cf0edc12f2c624c4a109edf320a46,280948b35e63b46cbf446657c73492343bf4f79d,035f5cc900528277b3ead8e8640e885cb80af949,a73f1f339f78aed55c7f2efc28e384ff3e39a641,9af378da3ba7675db4b3f2f9244c8b4e1d923bd0,624651e86f7f681f51fa8e35931f4ab9a6f33a87,5c7d3918dbc790273aa6a9dacf2c36f701b7d7ea to stable28 |
📝 Summary
Also adds screenshot comparison tests for print view in viewer and single-file share.
🏁 Checklist
npm run lint
/npm run stylelint
/composer run cs:check
)