Skip to content

Commit 532bf87

Browse files
committed
selector fix
1 parent 2543395 commit 532bf87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/file-browser.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ test.describe('File Browser', () => {
6767
await openFile(page, fileName)
6868

6969
const fileContent = await readFile('./e2e/test-files/upload.md', { encoding: 'utf-8' })
70-
const editor = page.locator('monaco-editor').getByRole('textbox')
70+
const editor = page.getByRole('textbox')
7171
expect(fileContent.replace(/[^a-zA-Z ]/g, '')).toContain((await editor.inputValue()).replace(/[^a-zA-Z ]/g, ''))
7272

7373
await gotoFileBrowser(page)

0 commit comments

Comments
 (0)