Create screenshot on failing Functional JavaScript test

Created on 8 April 2024, about 1 year ago

Problem/Motivation

Functional JavaScript test failures can be hard to debug because it can be unclear what the test actually saw when testing, certainly when you have test that work locally but fail on CI. On Gitlab CI we can store a screenshot when a test fails in the artefacts so we can see what the test was looking at when it failed

Steps to reproduce

NA

Proposed resolution

Take a screenshot when a test fails of the current page and store it in the artefacts.

Remaining tasks

Discuss: Do we think it is useful for core to implements this? (we use it for DTT tests in our own workflow and find it very useful)

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

None

Feature request
Status

Active

Version

11.0 🔥

Component
PHPUnit 

Last updated 1 day ago

Created by

🇳🇱Netherlands Lendude Amsterdam

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024