Metaculus / Metaculus/metaculus

add a screenshot upload to failing integration tests

Open
#3,774 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Medium Priority Technical
Dominant language
TypeScript
Stars
113
Forks
34
Avg merge
16h 34m
Merged PRs (30d)
30

Description

We sometimes have a flaky integration test where it fails to navigate the site in browser successfully. It fails intermittently.

It would be great to figure out how to take and store a screenshot of the browser upon failure. This could be uploaded anywhere, but in an ideal world the screenshot would be attached to the PR that triggered the failing run.

Contributor guide

No contributing guide indexed for this repository

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

Start by locating the browser-based integration tests and the workflow that runs them. Determine how a failed navigation test can capture and store a screenshot, then verify that the artifact is available from the run or attached to the triggering pull request.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ci-cd, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.