Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add space
  • Loading branch information
pooja-muchandikar committed May 22, 2023
commit bb5f4ed3ea2aac1b40633595a0a4598af56c56d4
4 changes: 3 additions & 1 deletion test/e2e/specs/editor/various/adding-inline-tokens.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ test.describe( 'adding inline tokens', () => {
const filename = uuid();
const tmpFileName = path.join( os.tmpdir(), filename + '.png' );
fs.copyFileSync( testImagePath, tmpFileName );
await page.locator('.media-modal .moxie-shim input[type=file]').setInputFiles( tmpFileName );
await page
.locator( '.media-modal .moxie-shim input[type=file]' )
.setInputFiles( tmpFileName );

// Insert the uploaded image.
await page.click( 'role=button[name="Select"i]' );
Expand Down