Disable more tests from test/e2e/inline_editor/color-swatch_test.ts

Failure examples:
https://ci.chromium.org/p/devtools-frontend/builders/ci/Stand-alone%20Mac/3700
https://ci.chromium.org/p/devtools-frontend/builders/ci/Stand-alone%20Mac/3703
https://ci.chromium.org/p/devtools-frontend/builders/ci/Stand-alone%20Mac/3705

Bug: chromium:1184160
Change-Id: I87b1a42da997438b8ce33db7cd3a899723a5bd4d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2776016
Reviewed-by: Alex Rudenko <alexrudenko@chromium.org>
Reviewed-by: Sigurd Schneider <sigurds@chromium.org>
Commit-Queue: Sigurd Schneider <sigurds@chromium.org>
This commit is contained in:
Sigurd Schneider
2021-03-22 09:48:12 +00:00
committed by Commit Bot
parent 822a89dbbc
commit bf712d5e92
+10 -7
View File
@@ -39,7 +39,8 @@ async function assertNoColorSwatch(container: puppeteer.ElementHandle|undefined)
}
describe('The color swatch', async () => {
it('is displayed for color properties in the Styles pane', async () => {
// Test flaky on Mac
it.skipOnPlatforms(['mac'], '[crbug.com/1184160]: is displayed for color properties in the Styles pane', async () => {
await goToTestPageAndSelectTestElement();
await waitForCSSPropertyValue('#inspected', 'color', 'red');
@@ -59,14 +60,16 @@ describe('The color swatch', async () => {
await assertColorSwatch(property, 'rgb(255, 0, 0)');
});
it('is not displayed for non-color properties in the Styles pane', async () => {
await goToTestPageAndSelectTestElement();
// Test flaky on Mac
it.skipOnPlatforms(
['mac'], '[crbug.com/1184160]: is not displayed for non-color properties in the Styles pane', async () => {
await goToTestPageAndSelectTestElement();
await waitForCSSPropertyValue('#inspected', 'margin', '10px');
const property = await getCSSPropertyInRule('#inspected', 'margin');
await waitForCSSPropertyValue('#inspected', 'margin', '10px');
const property = await getCSSPropertyInRule('#inspected', 'margin');
await assertNoColorSwatch(property);
});
await assertNoColorSwatch(property);
});
// Test flaky on Mac
it.skipOnPlatforms(