Skip to content

Commit 3f8fba8

Browse files
committed
Updated snapshots
1 parent 36fdc70 commit 3f8fba8

17 files changed

Lines changed: 12 additions & 200 deletions
-1.37 KB
Loading
-725 Bytes
Loading
-1.09 KB
Loading
707 Bytes
Loading

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ test.describe("Check Block Indentation Functionality", () => {
2020
await focusOnEditor(page);
2121

2222
await insertParagraph(page);
23+
await page.keyboard.press("Enter");
2324
await page.keyboard.press("Tab");
2425
await insertHeading(page, 1);
25-
await page.keyboard.press("Tab");
26+
await page.keyboard.press("Enter");
2627
await insertHeading(page, 2);
27-
await page.keyboard.press("Tab");
28+
await page.keyboard.press("Enter");
2829
await insertHeading(page, 3);
2930

3031
const element = await page.locator(H_TWO_BLOCK_SELECTOR);
@@ -49,11 +50,12 @@ test.describe("Check Block Indentation Functionality", () => {
4950
await focusOnEditor(page);
5051

5152
await insertParagraph(page);
53+
await page.keyboard.press("Enter");
5254
await page.keyboard.press("Tab");
5355
await insertHeading(page, 1);
54-
await page.keyboard.press("Tab");
56+
await page.keyboard.press("Enter");
5557
await insertHeading(page, 2);
56-
await page.keyboard.press("Tab");
58+
await page.keyboard.press("Enter");
5759
await insertHeading(page, 3);
5860

5961
const element = await page.locator(H_TWO_BLOCK_SELECTOR);
@@ -78,11 +80,12 @@ test.describe("Check Block Indentation Functionality", () => {
7880
await focusOnEditor(page);
7981

8082
await insertParagraph(page);
83+
await page.keyboard.press("Enter");
8184
await page.keyboard.press("Tab");
8285
await insertHeading(page, 1);
83-
await page.keyboard.press("Tab");
86+
await page.keyboard.press("Enter");
8487
await insertHeading(page, 2);
85-
await page.keyboard.press("Tab");
88+
await page.keyboard.press("Enter");
8689
await insertHeading(page, 3);
8790

8891
const firstElement = await page.locator(H_TWO_BLOCK_SELECTOR);
@@ -120,11 +123,12 @@ test.describe("Check Block Indentation Functionality", () => {
120123
await focusOnEditor(page);
121124

122125
await insertParagraph(page);
126+
await page.keyboard.press("Enter");
123127
await page.keyboard.press("Tab");
124128
await insertHeading(page, 1);
125-
await page.keyboard.press("Tab");
129+
await page.keyboard.press("Enter");
126130
await insertHeading(page, 2);
127-
await page.keyboard.press("Tab");
131+
await page.keyboard.press("Enter");
128132
await insertHeading(page, 3);
129133

130134
const firstElement = await page.locator(H_TWO_BLOCK_SELECTOR);

tests/src/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentMultipleBlocks-chromium-linux.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,6 @@
102102
]
103103
}
104104
]
105-
},
106-
{
107-
"type": "blockContainer",
108-
"attrs": {
109-
"id": "4"
110-
},
111-
"content": [
112-
{
113-
"type": "paragraph",
114-
"attrs": {
115-
"backgroundColor": "default",
116-
"textColor": "default",
117-
"textAlignment": "left"
118-
}
119-
}
120-
]
121105
}
122106
]
123107
}

tests/src/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentMultipleBlocks-firefox-linux.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,6 @@
102102
]
103103
}
104104
]
105-
},
106-
{
107-
"type": "blockContainer",
108-
"attrs": {
109-
"id": "4"
110-
},
111-
"content": [
112-
{
113-
"type": "paragraph",
114-
"attrs": {
115-
"backgroundColor": "default",
116-
"textColor": "default",
117-
"textAlignment": "left"
118-
}
119-
}
120-
]
121105
}
122106
]
123107
}

tests/src/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentMultipleBlocks-webkit-linux.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -102,22 +102,6 @@
102102
]
103103
}
104104
]
105-
},
106-
{
107-
"type": "blockContainer",
108-
"attrs": {
109-
"id": "4"
110-
},
111-
"content": [
112-
{
113-
"type": "paragraph",
114-
"attrs": {
115-
"backgroundColor": "default",
116-
"textColor": "default",
117-
"textAlignment": "left"
118-
}
119-
}
120-
]
121105
}
122106
]
123107
}

tests/src/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentSingleBlock-chromium-linux.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,6 @@
107107
]
108108
}
109109
]
110-
},
111-
{
112-
"type": "blockContainer",
113-
"attrs": {
114-
"id": "4"
115-
},
116-
"content": [
117-
{
118-
"type": "paragraph",
119-
"attrs": {
120-
"backgroundColor": "default",
121-
"textColor": "default",
122-
"textAlignment": "left"
123-
}
124-
}
125-
]
126110
}
127111
]
128112
}

tests/src/end-to-end/indentation/indentation.test.ts-snapshots/decreaseIndentSingleBlock-firefox-linux.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,6 @@
107107
]
108108
}
109109
]
110-
},
111-
{
112-
"type": "blockContainer",
113-
"attrs": {
114-
"id": "4"
115-
},
116-
"content": [
117-
{
118-
"type": "paragraph",
119-
"attrs": {
120-
"backgroundColor": "default",
121-
"textColor": "default",
122-
"textAlignment": "left"
123-
}
124-
}
125-
]
126110
}
127111
]
128112
}

0 commit comments

Comments
 (0)