Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion test/smoke/suites/actionBar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -71,6 +71,11 @@ export function startActionBarTests(): void {
return false;
}
});

assert.ok(
isPackagerStateUpdated,
"Packager state did not update to include 'primitive-square' within timeout",
);
});
});
}
Loading