Skip to content

Commit 053d441

Browse files
committed
test(app-shell): keep the loaded-row pin a pure preservation pin (objectui#11645)
The loaded-entry case no longer leans on the refused row's badge as its control, so it holds on both sides of the fix; the refused-row cases are what show the queries find the badge and the reason. Claude-Session: https://claude.ai/code/session_01CGZy1BGCjdN5cXqL9cnvB8 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 79a84a7 commit 053d441

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎packages/app-shell/src/console/marketplace/__tests__/InstalledListWidget.notLoaded-11645.test.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,11 +185,11 @@ describe.each([
185185
});
186186

187187
it('a loaded entry carries neither the badge nor a reason', async () => {
188+
// A preservation pin: it holds on both sides of the fix. The cases above
189+
// are what show these queries find the badge and the reason when present.
188190
serve([REFUSED, LOADED]);
189191
renderList(config);
190192

191-
// Lit control first: the refused row in the SAME render does carry them.
192-
expect(within(await card('com.example.crm')).getByText(badge)).toBeInTheDocument();
193193
const row = await card('com.example.todo');
194194
expect(within(row).queryByText(badge)).toBeNull();
195195
// The static head of either reason sentence (the text before its placeholder).

0 commit comments

Comments
 (0)