diff --git a/test/smoke/suites/actionBar.test.ts b/test/smoke/suites/actionBar.test.ts index 8c5ca32b1..6087acda9 100644 --- a/test/smoke/suites/actionBar.test.ts +++ b/test/smoke/suites/actionBar.test.ts @@ -58,7 +58,7 @@ export function startActionBarTests(): void { ); await actionButton.click(); - await WaitHelper.waitIsTrue(async () => { + const isPackagerStateUpdated = await WaitHelper.waitIsTrue(async () => { const packager = await ComponentHelper.getReactNativePackager(); const currentState = await packager.getAttribute("aria-label"); try { @@ -71,6 +71,11 @@ export function startActionBarTests(): void { return false; } }); + + assert.ok( + isPackagerStateUpdated, + "Packager state did not update to include 'primitive-square' within timeout", + ); }); }); }