Skip to content

Commit afdbe36

Browse files
test(perps): use FULLSCREEN_CHART_BUTTON selector in chart error test
Fix a stale reference to the old templated `${HEADER}-fullscreen-button` testID; the redesigned fullscreen button lives in the market summary row under the named FULLSCREEN_CHART_BUTTON selector.
1 parent 4d0e226 commit afdbe36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/components/UI/Perps/Views/PerpsMarketDetailsView/PerpsMarketDetailsView.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2143,7 +2143,7 @@ describe('PerpsMarketDetailsView', () => {
21432143
await act(async () => {
21442144
fireEvent.press(
21452145
getByTestId(
2146-
`${PerpsMarketDetailsViewSelectorsIDs.HEADER}-fullscreen-button`,
2146+
PerpsMarketDetailsViewSelectorsIDs.FULLSCREEN_CHART_BUTTON,
21472147
),
21482148
);
21492149
});

0 commit comments

Comments
 (0)