Skip to content

Commit 5142d46

Browse files
committed
feat: fixed indentation test
1 parent 96ff427 commit 5142d46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/frontend-new/specs/indentation.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ test.describe('indentation button', function () {
3838
await page.locator('.buttonicon-indent').click()
3939

4040
// type a bit, make a line break and type again
41-
await padBody.locator('div').first().focus()
41+
await padBody.focus()
4242
await page.keyboard.type('line 1')
4343
await page.keyboard.press('Enter');
4444
await page.keyboard.type('line 2')

0 commit comments

Comments
 (0)