From a4a3739d985f467dcd53c888af7cbcbd1bea4948 Mon Sep 17 00:00:00 2001 From: Chaiwat Ekkaewnumchai Date: Tue, 24 Sep 2019 08:24:52 -0700 Subject: [PATCH] Skip Snapshop Test for Headless Summary: The test is failing right now because D14932994 changed the layout manipulation. Disable the snapshot test for now and will be re-enabled in D17548543 Reviewed By: jknoxville Differential Revision: D17549122 fbshipit-source-id: 8bf7a89594206e32cece150c8057ee03d190d2e5 --- headless-tests/__tests__/headlessIntegrationTests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headless-tests/__tests__/headlessIntegrationTests.js b/headless-tests/__tests__/headlessIntegrationTests.js index bac72c1b7..741d57683 100644 --- a/headless-tests/__tests__/headlessIntegrationTests.js +++ b/headless-tests/__tests__/headlessIntegrationTests.js @@ -224,7 +224,8 @@ test('test layout snapshot stripping', () => { }); }); -test('Sample app layout hierarchy matches snapshot', () => { +// TODO: edit the snapshot and re-enable the test +test.skip('Sample app layout hierarchy matches snapshot', () => { return getPluginState('Flipper', 'Inspector').then(result => { const state = JSON.parse(result); expect(state.rootAXElement).toBe('com.facebook.flipper.sample');