Skip to content

Commit 3d26215

Browse files
johnmatthewtennantQuinn
andauthored
test(settings): match the Usage plugin name in scroll regression (#1488)
Signed-off-by: John Tennant <[email protected]> Co-authored-by: Quinn <a0d9f90f86da5f023099d22b8e3599af162d9423a422d8f385a12815de879cf2@buzz.block.builderlab.xyz>
1 parent 1a7e5bc commit 3d26215

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/browser/settings.spec.mjs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ test("plugin details preserves the catalog scroll position on open and close", a
11111111
await openSettings(page);
11121112
await selectSettingsSection(page, "Manage plugins");
11131113
const catalog = settingsDialog(page).locator(".buzz-settings-page");
1114-
const trigger = button(page, "View Usage & costs details");
1114+
const trigger = button(page, "View Usage details");
11151115
await trigger.scrollIntoViewIfNeeded();
11161116
const before = await catalog.evaluate((element) => element.scrollTop);
11171117
expect(before).toBeGreaterThan(0);
@@ -1126,7 +1126,7 @@ test("plugin details preserves the catalog scroll position on open and close", a
11261126
await expect
11271127
.poll(() => catalog.evaluate((element) => element.scrollTop))
11281128
.toBe(before);
1129-
await expect(button(page, "More actions for Usage & costs")).toHaveCount(0);
1129+
await expect(button(page, "More actions for Usage")).toHaveCount(0);
11301130
});
11311131

11321132
// Real shell + shared presentation + browser storage across reload. State/error

0 commit comments

Comments
 (0)