Fix layout snapshot test
Summary: The test didn't run when the sample app was updated with an extra button, so that change snuck in and caused subsequent runs to fail. The stacked diff makes sure it will run all the time. Reviewed By: passy Differential Revision: D16898015 fbshipit-source-id: 0fd9ce7eaef293465d87b283b3c9bfe1fba928e5
This commit is contained in:
committed by
Facebook Github Bot
parent
20a96da071
commit
f1d0ca7edf
File diff suppressed because one or more lines are too long
@@ -224,7 +224,7 @@ test('test layout snapshot stripping', () => {
|
||||
});
|
||||
});
|
||||
|
||||
test.skip('Sample app layout hierarchy matches snapshot', () => {
|
||||
test('Sample app layout hierarchy matches snapshot', () => {
|
||||
return getPluginState('Flipper', 'Inspector').then(state => {
|
||||
expect(state.rootAXElement).toBe('com.facebook.flipper.sample');
|
||||
expect(state.rootElement).toBe('com.facebook.flipper.sample');
|
||||
|
||||
Reference in New Issue
Block a user