Skip failing e2e-test on Mac Bug: 1410776 Change-Id: I2d06ad765122a2e6f6d2016488d95c34b82f8093 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4196925 Commit-Queue: Kateryna Prokopenko <kprokopenko@chromium.org> Auto-Submit: Wolfgang Beyer <wolfi@chromium.org> Commit-Queue: Wolfgang Beyer <wolfi@chromium.org> Commit-Queue: Danil Somsikov <dsv@chromium.org> Reviewed-by: Kateryna Prokopenko <kprokopenko@chromium.org> Reviewed-by: Danil Somsikov <dsv@chromium.org>
diff --git a/test/e2e/elements/switch-panels-while-editing-as-html_test.ts b/test/e2e/elements/switch-panels-while-editing-as-html_test.ts index 64628d3..8840b15 100644 --- a/test/e2e/elements/switch-panels-while-editing-as-html_test.ts +++ b/test/e2e/elements/switch-panels-while-editing-as-html_test.ts
@@ -12,17 +12,19 @@ import {openSourcesPanel} from '../helpers/sources-helpers.js'; describe('The Elements tab', async function() { - it('does not break when switching panels while editing as HTML', async () => { - await goToResource('elements/switch-panels-while-editing-as-html.html'); - await expandSelectedNodeRecursively(); - const elementsContentPanel = await waitFor('#elements-content'); - const selectedNode = await waitForElementWithTextContent('Inspected Node', elementsContentPanel); - await selectedNode.click({button: 'right'}); - const editAsHTMLOption = await findSubMenuEntryItem('Edit as HTML'); - await editAsHTMLOption.click(); - await waitFor('.elements-disclosure devtools-text-editor'); - await openSourcesPanel(); - await navigateToElementsTab(); - await waitForNone('.elements-disclosure devtools-text-editor'); - }); + // fails on Mac + it.skipOnPlatforms( + ['mac'], '[crbug.com/1410776] does not break when switching panels while editing as HTML', async () => { + await goToResource('elements/switch-panels-while-editing-as-html.html'); + await expandSelectedNodeRecursively(); + const elementsContentPanel = await waitFor('#elements-content'); + const selectedNode = await waitForElementWithTextContent('Inspected Node', elementsContentPanel); + await selectedNode.click({button: 'right'}); + const editAsHTMLOption = await findSubMenuEntryItem('Edit as HTML'); + await editAsHTMLOption.click(); + await waitFor('.elements-disclosure devtools-text-editor'); + await openSourcesPanel(); + await navigateToElementsTab(); + await waitForNone('.elements-disclosure devtools-text-editor'); + }); });