bahmutov / bahmutov/cypress-grep-example

Add automatic PDF print tests (with Cypress)

Open
#174 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Some leads:
- [Stackoverflow: Convert HTML to PDF using Cypress](https://stackoverflow.com/questions/76620597/convert-html-to-pdf-using-cypress-io)
- [Cypress print test](https://github.com/bahmutov/cypress-grep-example/blob/add-print-spec/cypress/integration/print-spec.js)

The current issue is that Cypress prints its whole UI and also doesn't properly apply the print styles when running this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Review the referenced Cypress print-spec.js example and the linked guidance on converting HTML to PDF with Cypress. Investigate how the current Cypress run captures the whole UI and handles print styles; done means automated PDF print tests that capture the intended content and apply the print styles correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, javascript
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.