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:
committed by
Facebook Github Bot
parent
d6f7d75e83
commit
7e4696cf95
File diff suppressed because one or more lines are too long
@@ -224,8 +224,7 @@ test('test layout snapshot stripping', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: edit the snapshot and re-enable the test
|
test('Sample app layout hierarchy matches snapshot', () => {
|
||||||
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');
|
||||||
|
|||||||
Reference in New Issue
Block a user