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

[test] Take screenshot of the print export #2881

Merged
merged 3 commits into from
Oct 19, 2021

Conversation

m4theushw
Copy link
Member

@m4theushw m4theushw commented Oct 16, 2021

I had to remove webfontloader because the fonts were not loading in the print preview when the browser is opened by playwright.

@m4theushw m4theushw added the test label Oct 18, 2021
@m4theushw m4theushw marked this pull request as ready for review October 18, 2021 20:46
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Oct 18, 2021
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Oct 18, 2021
@@ -156,7 +156,8 @@ export const useGridPrintExport = (
typeof normalizeOptions.pageStyle === 'function'
? normalizeOptions.pageStyle()
: normalizeOptions.pageStyle;
if (typeof defaultPageStyle !== 'string') {
if (typeof defaultPageStyle === 'string') {
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for that!

@m4theushw m4theushw merged commit c1f4202 into mui:next Oct 19, 2021
@m4theushw m4theushw deleted the screenshot-print-window branch October 19, 2021 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants