From 6fb4c31aebc342fef8cc205cb3d5b8f039d2af56 Mon Sep 17 00:00:00 2001 From: mhsdesign <85400359+mhsdesign@users.noreply.github.com> Date: Mon, 30 Sep 2024 12:09:53 +0200 Subject: [PATCH] TASK: Stabilise local e2e by specifying exact image to be cropped insteadof choosing first one --- .../IntegrationTests/Fixtures/1Dimension/createNewNodes.e2e.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/IntegrationTests/Fixtures/1Dimension/createNewNodes.e2e.js b/Tests/IntegrationTests/Fixtures/1Dimension/createNewNodes.e2e.js index fb0b0f9fdc..7d8afdd104 100644 --- a/Tests/IntegrationTests/Fixtures/1Dimension/createNewNodes.e2e.js +++ b/Tests/IntegrationTests/Fixtures/1Dimension/createNewNodes.e2e.js @@ -246,7 +246,7 @@ test('Supports secondary inspector view for element editors', async t => { await t .click(imageEditor.findReact('IconButton').withProps('icon', 'camera')) .switchToIframe(Selector('[name="neos-media-selection-screen"]', {timeout: 2000})) - .click(Selector('.neos-thumbnail')); + .click(Selector('.asset').withText('neos_primary.png')); await t.switchToMainWindow();