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:
John Knox
2019-08-20 09:13:19 -07:00
committed by Facebook Github Bot
parent 20a96da071
commit f1d0ca7edf
2 changed files with 4 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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');