Skip to content

Commit cad3d4b

Browse files
chore(tests): format
1 parent 8d6eb80 commit cad3d4b

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

tests/browser/test/delete_blocks_test.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,10 @@ suite('Delete blocks', function (done) {
136136
test('Delete block using backspace key', async function () {
137137
const before = (await getAllBlocks(this.browser)).length;
138138
// Get first print block, click to select it, and delete it using backspace key.
139-
const clickEl = await getClickableBlockElementById(this.browser, firstBlockId);
139+
const clickEl = await getClickableBlockElementById(
140+
this.browser,
141+
firstBlockId,
142+
);
140143
await clickEl.click();
141144
await this.browser.keys([Key.Backspace]);
142145
const after = (await getAllBlocks(this.browser)).length;
@@ -150,7 +153,10 @@ suite('Delete blocks', function (done) {
150153
test('Delete block using delete key', async function () {
151154
const before = (await getAllBlocks(this.browser)).length;
152155
// Get first print block, click to select it, and delete it using delete key.
153-
const clickEl = await getClickableBlockElementById(this.browser, firstBlockId);
156+
const clickEl = await getClickableBlockElementById(
157+
this.browser,
158+
firstBlockId,
159+
);
154160
await clickEl.click();
155161
await this.browser.keys([Key.Delete]);
156162
const after = (await getAllBlocks(this.browser)).length;
@@ -176,7 +182,10 @@ suite('Delete blocks', function (done) {
176182
test('Undo block deletion', async function () {
177183
const before = (await getAllBlocks(this.browser)).length;
178184
// Get first print block, click to select it, and delete it using backspace key.
179-
const clickEl = await getClickableBlockElementById(this.browser, firstBlockId);
185+
const clickEl = await getClickableBlockElementById(
186+
this.browser,
187+
firstBlockId,
188+
);
180189
await clickEl.click();
181190
await this.browser.keys([Key.Backspace]);
182191
await this.browser.pause(PAUSE_TIME);
@@ -193,7 +202,10 @@ suite('Delete blocks', function (done) {
193202
test('Redo block deletion', async function () {
194203
const before = (await getAllBlocks(this.browser)).length;
195204
// Get first print block, click to select it, and delete it using backspace key.
196-
const clickEl = await getClickableBlockElementById(this.browser, firstBlockId);
205+
const clickEl = await getClickableBlockElementById(
206+
this.browser,
207+
firstBlockId,
208+
);
197209
await clickEl.click();
198210
await this.browser.keys([Key.Backspace]);
199211
await this.browser.pause(PAUSE_TIME);

0 commit comments

Comments
 (0)