mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 21:24:26 +08:00
The helpers allow the implementation of screenshot tests in DevTools. A screenshot test that makes use of the helpers is added for the performance panel. The test is disabled because no screenshot test infrastructure is available in our bots. Once this isn't the case the test can be enabled and other screenshot tests added. Screenshot tests are not added as a dedicated new suite but as complementary to the interaction tests already in place. For this purpose, the existing artifacts under test/screenshots/ are removed or moved to be under test/interactions. The image_diff executables are moved under third_party Follow-up: Include dedicated lint rules files. Bug: 1407638 Change-Id: I7106769b085b6aaa32ea4a089a840418c83536bb DISABLE_THIRD_PARTY_CHECK=Including new library to third_party/ Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4190012 Reviewed-by: Simon Zünd <szuend@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Andres Olivares <andoli@chromium.org>