Update Snapshot for Headless Test

Summary:
D14932994 changes the layout, but we did not update the snapshot.

Another option is to disable a test for now.

Reviewed By: jknoxville

Differential Revision: D17548543

fbshipit-source-id: 455e5047eab0044cabd503cae7cbc386443f376e
This commit is contained in:
Chaiwat Ekkaewnumchai
2019-10-01 06:14:09 -07:00
committed by Facebook Github Bot
parent d6f7d75e83
commit 7e4696cf95
2 changed files with 7 additions and 8 deletions

View File

@@ -224,8 +224,7 @@ test('test layout snapshot stripping', () => {
});
});
// TODO: edit the snapshot and re-enable the test
test.skip('Sample app layout hierarchy matches snapshot', () => {
test('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');