Issue Task Resolved

#110033Stabilize media/file-operations e2e test

Benjamin Franzke 06/10/26, 10:06 updated 06/10/26, 12:05

Description

When run in tile-view mode, the test runs into
a playwright strict mode violation because
multiple `` tags contain the file
name label in this mode.

 Error: expect(locator).toBeVisible() failed

 Locator: locator('#typo3-contentIframe').contentFrame().locator('[data-multi-record-selection-element="true"]').getByText('typo3-test-1781085589587.txt')
 Expected: visible
 Error: strict mode violation: locator('[data-multi-record-selection-element="true"]').getByText('typo3-test-1781085589587.txt') resolved to 2 elements:
     1) <span id="resource-tile-label-7" class="resource-tile-label">typo3-test-1781085589587.txt</span> aka getByRole('button', { name: 'typo3-test-1781085589587.txt' })
     2) <span class="resource-tile-nameplate-label">typo3-test-1781085589587.txt</span> aka getByRole('button', { name: 'typo3-test-1781085589587.txt' })

Reviews 2

History 14

  1. Benjamin Franzke commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-06-10T12:05:09+00:00" > 06/10/26, 12:05 </span>

    Applied in changeset commit:806967fa211062ec3d15b48a0794d8520d9ccaf7.