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
This commit is contained in:
Chaiwat Ekkaewnumchai
2019-09-24 08:24:52 -07:00
committed by Facebook Github Bot
parent 1114c47d1c
commit a4a3739d98

View File

@@ -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 => { return getPluginState('Flipper', 'Inspector').then(result => {
const state = JSON.parse(result); const state = JSON.parse(result);
expect(state.rootAXElement).toBe('com.facebook.flipper.sample'); expect(state.rootAXElement).toBe('com.facebook.flipper.sample');