microsoft / microsoft/tabster

Using Puppeteer's new headless mode causes tests to fail

Open
#315 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
165
Forks
42
Avg merge
1d 11h
Merged PRs (30d)
9

Description

In working on PR#314 I noticed that Chrome/Puppeteer introduces a new headless mode:

old_headless_deprecation

More details here: https://developer.chrome.com/articles/new-headless/

When opting in to this new mode (by setting headlines: 'new' in the Puppeteer config) several tests fail. As this new mode will eventually become the default we should fix the tests issue or file bugs against Puppeteer.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review PR #314 and the Puppeteer configuration to locate how the new headless mode is enabled. Run the tests with that mode, identify the failures, and either fix the test issues or document bugs for Puppeteer; done means the relevant tests pass or external bugs are filed.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.