You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-08-10 22:11:50 +02:00
Chore: Testing: Make Rich Text Editor attachment test more reliable (#12085)
This commit is contained in:
@@ -62,6 +62,9 @@ test.describe('richTextEditor', () => {
|
||||
await setFilePickerResponse(electronApp, [pathToAttach]);
|
||||
await editor.attachFileButton.click();
|
||||
|
||||
// Wait for it to render
|
||||
await expect(editor.getNoteViewerFrameLocator().getByText('test-file.txt')).toBeVisible();
|
||||
|
||||
// Switch to the RTE
|
||||
await editor.toggleEditorsButton.click();
|
||||
await editor.richTextEditor.waitFor();
|
||||
|
Reference in New Issue
Block a user