mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-29 09:23:32 +08:00
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:
committed by
Commit Bot
parent
822a89dbbc
commit
bf712d5e92
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user