Skip to content

Commit e02f85e

Browse files
committed
Removed pause statements
1 parent adc572d commit e02f85e

5 files changed

Lines changed: 1 addition & 8 deletions

File tree

tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"lint": "eslint src --max-warnings 0",
88
"playwright": "playwright test --ui",
99
"test": "vitest --run",
10-
"test:updateSnaps": "docker run --rm -e RUN_IN_DOCKER=true --network host -v $(pwd)/..:/work/ -w /work/tests -it mcr.microsoft.com/playwright:v1.51.1-noble npx playwright test images -u",
10+
"test:updateSnaps": "docker run --rm -e RUN_IN_DOCKER=true --network host -v $(pwd)/..:/work/ -w /work/tests -it mcr.microsoft.com/playwright:v1.51.1-noble npx playwright test -u",
1111
"test-ct": "playwright test -c playwright-ct.config.ts --headed",
1212
"test-ct:updateSnaps": "docker run --rm -e RUN_IN_DOCKER=true --network host -v $(pwd)/..:/work/ -w /work/tests -it mcr.microsoft.com/playwright:v1.51.1-noble npx playwright test -c playwright-ct.config.ts -u",
1313
"clean": "rimraf dist"

tests/src/end-to-end/dragdrop/dragdrop.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ test.describe("Check Block Dragging Functionality", () => {
3535

3636
const dragTarget = await page.locator(H_ONE_BLOCK_SELECTOR);
3737
const dropTarget = await page.locator(H_TWO_BLOCK_SELECTOR);
38-
await page.pause();
3938
await dragAndDropBlock(page, dragTarget, dropTarget, false);
4039

41-
await page.pause();
42-
4340
await compareDocToSnapshot(page, "dragdropsingle");
4441
});
4542

@@ -97,7 +94,6 @@ test.describe("Check Block Dragging Functionality", () => {
9794

9895
const dragTarget = await page.locator(IMAGE_SELECTOR);
9996
const dropTarget = await page.locator(H_ONE_BLOCK_SELECTOR);
100-
await page.pause();
10197
await dragAndDropBlock(page, dragTarget, dropTarget, false);
10298

10399
await compareDocToSnapshot(page, "dragImage");

tests/src/end-to-end/emojipicker/emojipicker.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ test.describe("Check Emoji Picker Functionality", () => {
2929
test("Should be able to insert emoji", async ({ page }) => {
3030
await focusOnEditor(page);
3131
await executeEmojiCommand(page, "sm");
32-
await page.pause();
3332
await waitForTextInEditor(page, "🛩️ ");
3433
});
3534
test("Should be able to open emoji picker from slash menu", async ({

tests/src/end-to-end/keyboardhandlers/keyboardhandlers.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ test.describe("Check Keyboard Handlers' Behaviour", () => {
5353
await page.keyboard.press("ArrowRight");
5454
await page.keyboard.press("Enter");
5555

56-
await page.pause();
5756
await compareDocToSnapshot(page, "enterPreservesMarks.json");
5857
});
5958
test("Check Enter preserves nested blocks", async ({ page }) => {

tests/src/end-to-end/textalignment/textAlignment.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ test.describe("Check Text Alignment Functionality", () => {
6161
// Waits for formatting toolbar animation to finish.
6262
await page.waitForTimeout(500);
6363
await page.keyboard.press("ArrowLeft");
64-
await page.pause();
6564

6665
expect(await page.screenshot()).toMatchSnapshot(
6766
"alignTextMultipleBlocks.png",

0 commit comments

Comments
 (0)