wix/Detox

Detox log artifact (at test level)

Aperta

#3663 aperta il 3 nov 2022

 (1 commento) (0 reazioni) (1 assegnatario)JavaScript (1942 fork)batch import
domain: uxhacktoberfeststatus: acceptedtype: enhancement ⚡️user: looking for contributors

Metriche repository

Star
 (10.558 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Description

It can sometimes be a bit difficult to be able to trace the cause of a test failure based on the existing artifacts. At often times, on top of things such as the error message and screenshots/video, being able to review the Detox log itself can be beneficial.

While the logs are generally available (e.g. in the context of a CI build / general artifact), they are only recorded as a part of the entire testing session, and not under the context of each specific test. It make the debugging/inspection use case feel cluttered and inefficient.

Proposal: An opt-out, (trace-level?) Detox log artifact in the scope of each test.

@noomorph

Guida contributor