Skip to content

docs: add guide for print dialogs #38486

docs: add guide for print dialogs

docs: add guide for print dialogs #38486

Triggered via pull request June 17, 2024 18:12
Status Failure
Total duration 3m 26s
Artifacts

infra.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 2 warnings
Lint snippets
Process completed with exit code 1.
Lint snippets
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
js linting error: docs/src/dialogs.md#L1
Error: This line has a length of 101. Maximum allowed is 100. > 1 | await page.evaluate('(() => { window.waitForPrintDialog = new Promise(f => window.print = f); })()'); | ^ 2 | 3 | await page.goto('<url>'); 4 | await page.getByText('Print it!').click(); Unable to lint: await page.evaluate('(() => { window.waitForPrintDialog = new Promise(f => window.print = f); })()'); await page.goto('<url>'); await page.getByText('Print it!').click(); await page.waitForFunction('window.waitForPrintDialog');