Skip to content
Closed
Changes from all commits
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
4 changes: 2 additions & 2 deletions ui-cypress/test-module/cypress/e2e/assets.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ describe('AEM Assets', () => {
// Wait for any lazy loaded dialogs to appear
cy.wait(3000)

// rename image
cy.get('input#dam-asset-upload-rename-input').clear().type(remoteImageName, {force: true});
// rename image (works with static or unique ID: dam-asset-upload-rename-input or dam-asset-upload-rename-input-{timestamp}-{random})
cy.get('input[id^="dam-asset-upload-rename-input"]').clear().type(remoteImageName, {force: true});

// Press the upload button.
cy.get('coral-dialog.is-open coral-dialog-footer [variant="primary"]').click({force: true});
Expand Down