diff --git a/.sauce/config1Dimension.yml b/.sauce/config1Dimension.yml index 48bd751dd2..d683b4c972 100644 --- a/.sauce/config1Dimension.yml +++ b/.sauce/config1Dimension.yml @@ -18,15 +18,20 @@ testcafe: # Controls what files are available in the context of a test run (unless explicitly excluded by .sauceignore). rootDir: ./ suites: - - name: "One dimensional Tests in Firefox on Windows" - browserName: "firefox" + - name: "One dimensional Tests in Edge on Windows" + browserName: "microsoftedge" src: - "Tests/IntegrationTests/Fixtures/1Dimension/*.e2e.js" platformName: "Windows 10" screenResolution: "1280x1024" - - name: "One dimensional Tests in Firefox on MacOS" - # todo use chrome here and fix ci https://github.com/neos/neos-ui/issues/3591 + - name: "One dimensional Tests on Firefox on Windows" browserName: "firefox" + src: + - "Tests/IntegrationTests/Fixtures/1Dimension/*.e2e.js" + platformName: "Windows 10" + screenResolution: "1280x1024" + - name: "One dimensional Tests in Edge on MacOS" + browserName: "microsoftedge" src: - "Tests/IntegrationTests/Fixtures/1Dimension/*.e2e.js" platformName: "macOS 13" diff --git a/.sauce/config2Dimension.yml b/.sauce/config2Dimension.yml index 80ebb74ad7..427427e23b 100644 --- a/.sauce/config2Dimension.yml +++ b/.sauce/config2Dimension.yml @@ -3,7 +3,7 @@ kind: testcafe sauce: region: us-west-1 concurrency: 1 # Controls how many suites are executed at the same time. - retries: 0 + retries: 3 metadata: tags: - e2e @@ -16,8 +16,8 @@ testcafe: # Controls what files are available in the context of a test run (unless explicitly excluded by .sauceignore). rootDir: ./ suites: - - name: "Two dimensional Tests in Firefox on Windows" - browserName: "firefox" + - name: "Two dimensional Tests in Chrome on Windows" + browserName: "chrome" src: - "Tests/IntegrationTests/Fixtures/2Dimension/*.e2e.js" platformName: "Windows 10" diff --git a/Tests/IntegrationTests/Fixtures/1Dimension/nodeTreePresets.e2e.js b/Tests/IntegrationTests/Fixtures/1Dimension/nodeTreePresets.e2e.js index fc165ed3e6..6983ed3caa 100644 --- a/Tests/IntegrationTests/Fixtures/1Dimension/nodeTreePresets.e2e.js +++ b/Tests/IntegrationTests/Fixtures/1Dimension/nodeTreePresets.e2e.js @@ -40,20 +40,6 @@ const SETTINGS_WITH_NODE_TREE_PRESETS = { presets: { 'default': { baseNodeType: 'Neos.Neos:Document,!Neos.TestNodeTypes:Document.Blog,!Neos.TestNodeTypes:Document.BlogArticle' - }, - 'blog': { - ui: { - icon: 'newspaper-o', - label: 'Show Blog only' - }, - baseNodeType: 'Neos.TestNodeTypes:Document.Blog' - }, - 'blog-articles': { - ui: { - icon: 'file-text-o', - label: 'Show Blog Articles only' - }, - baseNodeType: 'Neos.TestNodeTypes:Document.BlogArticle' } } } @@ -88,7 +74,7 @@ test('Node tree preset "default" removes all blog related nodes and only loads n test('Node tree preset "blog" shows nothing but page [🗋 Blog]', async (t) => { await t.click('#btn-ToggleDocumentTreeFilter'); await t.click('#neos-NodeTreeFilter'); - await t.click(Selector('[role="button"]').withText('Show Blog only')); + await t.click(Selector('[role="button"]').withText('Blog')); await t.expect(Page.treeNode.withExactText('Blog').exists) .ok('[🗋 Blog] did not show up after switching to node tree preset "blog".'); @@ -97,7 +83,7 @@ test('Node tree preset "blog" shows nothing but page [🗋 Blog]', async (t) => test('In node tree preset "blog", page [🗋 Blog] has no toggle handle', async (t) => { await t.click('#btn-ToggleDocumentTreeFilter'); await t.click('#neos-NodeTreeFilter'); - await t.click(Selector('[role="button"]').withText('Show Blog only')); + await t.click(Selector('[role="button"]').withText('Blog')); await t.expect(Page.getToggleChildrenButtonOf('Blog').exists) .notOk('[🗋 Blog] has a toggle handle, even though its children do not match the currently set filter in node tree preset "blog".'); @@ -106,7 +92,7 @@ test('In node tree preset "blog", page [🗋 Blog] has no toggle handle', async test('Reloading the node tree while in preset "blog" results in nothing but page [🗋 Blog]', async (t) => { await t.click('#btn-ToggleDocumentTreeFilter'); await t.click('#neos-NodeTreeFilter'); - await t.click(Selector('[role="button"]').withText('Show Blog only')); + await t.click(Selector('[role="button"]').withText('Blog')); await t.click('#neos-PageTree-RefreshPageTree'); await t.expect(Page.treeNode.withExactText('Blog').exists) @@ -116,7 +102,7 @@ test('Reloading the node tree while in preset "blog" results in nothing but page test('Node tree preset "blog-articles" shows page [🗋 Blog] and all articles beneath it', async (t) => { await t.click('#btn-ToggleDocumentTreeFilter'); await t.click('#neos-NodeTreeFilter'); - await t.click(Selector('[role="button"]').withText('Show Blog Articles only')); + await t.click(Selector('[role="button"]').withText('Blog Article')); await t.expect(Page.treeNode.withExactText('Blog').exists) .ok('[🗋 Blog] did not show up after switching to node tree preset "blog-articles".'); @@ -141,7 +127,7 @@ test('BUG #3816: Switching back from node tree preset "blog" does not affect loa await t.click('#btn-ToggleDocumentTreeFilter'); await t.click('#neos-NodeTreeFilter'); - await t.click(Selector('[role="button"]').withText('Show Blog only')); + await t.click(Selector('[role="button"]').withText('Blog')); await t.expect(Page.treeNode.withExactText('Blog').exists) .ok('[🗋 Blog] did not show up after switching to node tree preset "blog".'); @@ -192,7 +178,7 @@ test('BUG #2583: Searching the document tree does not break expansion in node tr test('BUG #2800 1/2: Moving pages before/after in a filtered view does not lead to the disappearance of nodes', async (t) => { await t.click('#btn-ToggleDocumentTreeFilter'); await t.click('#neos-NodeTreeFilter'); - await t.click(Selector('[role="button"]').withText('Show Blog Articles only')); + await t.click(Selector('[role="button"]').withText('Blog Article')); // // Move Blog Article [🗋 Hello World!] before [🗋 Writing Blog Articles considered harmful] @@ -232,7 +218,7 @@ test('BUG #2800 1/2: Moving pages before/after in a filtered view does not lead test('BUG #2800 2/2: Moving pages into each other in a filtered view does not break expansion', async (t) => { await t.click('#btn-ToggleDocumentTreeFilter'); await t.click('#neos-NodeTreeFilter'); - await t.click(Selector('[role="button"]').withText('Show Blog Articles only')); + await t.click(Selector('[role="button"]').withText('Blog Article')); // // Move Blog Article [🗋 Hello World!] into [🗋 Writing Blog Articles considered harmful]