Skip to content

Commit

Permalink
Updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtuevo committed Oct 15, 2024
1 parent 4300977 commit 3231978
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/packages/core/src/components/Actions/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ const QueryPerformance = () => {
if (enableQpMode) return (
<>
<ActionOption
id="qd-mode"
id="qp-mode"
text="Query Performance mode"
href={QP_MODE}
title={"More on Query Performance mode"}
Expand All @@ -244,7 +244,7 @@ const QueryPerformance = () => {
options={["disable", "enable"].map((value) => ({
text: value,
title: value,
dataCy: `qd-mode-${value}`,
dataCy: `qp-mode-${value}`,
onClick: () =>
setThreshold(value === "disable" ? null : config ?? count),
}))}
Expand Down
2 changes: 1 addition & 1 deletion e2e-pw/src/oss/poms/action-row/display-options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class DisplayOptionsPom {
}

async setLightningMode(mode: LightningMode) {
const selector = this.page.getByTestId(`lightning-mode-${mode}`);
const selector = this.page.getByTestId(`qp-mode-${mode}`);
return selector.click();
}

Expand Down

0 comments on commit 3231978

Please sign in to comment.