Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymczakJ committed Nov 25, 2024
1 parent c89eeea commit 9a10f74
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions WebExample/__tests__/textManipulation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ test('select all', async ({page}) => {
test("don't remove selection when changing markdown style", async ({page}) => {
const inputLocator = await setupInput(page, 'reset');

setSelection(page);
changeMarkdownStyle(page);
inputLocator.focus();
await setSelection(page);
await changeMarkdownStyle(page);
await inputLocator.focus();

const cursorPosition = await getCursorPosition(inputLocator);

Expand Down

0 comments on commit 9a10f74

Please sign in to comment.