Skip to content

Commit

Permalink
test: explicit E2E_BROWSER on E2E runs
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed May 15, 2023
1 parent dc8386a commit 183335f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/playground/src/__tests__/utils/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ export async function selectCellsFromTableCords(
await firstRowFirstColumnCell.click(
// This is a test runner quirk. Chrome seems to need two clicks to focus on the
// content editable cell before dragging, but Firefox treats it as a double click event.
E2E_BROWSER !== 'firefox' ? {clickCount: 2} : {},
E2E_BROWSER === 'chromium' ? {clickCount: 2} : {},
);

await dragMouse(
Expand Down

0 comments on commit 183335f

Please sign in to comment.