Disable flaky tests

Bug: 1443434,1443426,1443423,1443421
Change-Id: Id467c712166440141d278cb30e1a99d95511dbdd
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4513878
Reviewed-by: Nancy Li <nancyly@chromium.org>
Commit-Queue: Eric Leese <leese@chromium.org>
Auto-Submit: Eric Leese <leese@chromium.org>
This commit is contained in:
Eric Leese
2023-05-09 12:30:36 +00:00
committed by Devtools-frontend LUCI CQ
parent b87d4fef3e
commit 02ad5c4766
4 changed files with 19 additions and 13 deletions
+13 -10
View File
@@ -41,19 +41,22 @@ describe('The Application Tab', async () => {
await target.deleteCookie(...cookies);
});
it('shows cookies even when navigating to an unreachable page (crbug.com/1047348)', async () => {
const {target} = getBrowserAndPages();
// This sets a new cookie foo=bar
await navigateToApplicationTab(target, 'cookies');
// Flaky test
it.skip(
'[crbug.com/1443434]: shows cookies even when navigating to an unreachable page (crbug.com/1047348)',
async () => {
const {target} = getBrowserAndPages();
// This sets a new cookie foo=bar
await navigateToApplicationTab(target, 'cookies');
await goToResource('network/unreachable.rawresponse');
await goToResource('network/unreachable.rawresponse');
await doubleClickSourceTreeItem(COOKIES_SELECTOR);
await doubleClickSourceTreeItem(DOMAIN_SELECTOR);
await doubleClickSourceTreeItem(COOKIES_SELECTOR);
await doubleClickSourceTreeItem(DOMAIN_SELECTOR);
const dataGridRowValues = await getStorageItemsData(['name', 'value']);
assertMatchesJSONSnapshot(dataGridRowValues);
});
const dataGridRowValues = await getStorageItemsData(['name', 'value']);
assertMatchesJSONSnapshot(dataGridRowValues);
});
it('shows a preview of the cookie value (crbug.com/462370)', async () => {
const {target} = getBrowserAndPages();
@@ -14,7 +14,8 @@ import {
} from '../helpers/console-helpers.js';
describe('The Console Tab', async () => {
it('is able to log uncaught promise rejections into console', async () => {
// Flaky test
it.skipOnPlatforms(['win32'], '[crbug.com/1443426]: is able to log uncaught promise rejections into console', async () => {
await goToResource('../resources/console/console-uncaught-promise.html');
await navigateToConsoleTab();
+2 -1
View File
@@ -431,7 +431,8 @@ describe('Recorder', function() {
assert.isTrue(Boolean(screenshot));
});
it('should record interactions with popups', async () => {
// Flaky test
it.skip('[crbug.com/1443423]: should record interactions with popups', async () => {
await startRecording('recorder/recorder.html', {untrustedEvents: true});
const {target, browser} = getBrowserAndPages();
+2 -1
View File
@@ -198,7 +198,8 @@ describe('Recorder', function() {
assertRecordingMatchesSnapshot(recording);
});
it('should select through the selector picker twice', async () => {
// Flaky test
it.skip('[crbug.com/1443421]: should select through the selector picker twice', async () => {
const {target, frontend} = getBrowserAndPages();
await frontend.bringToFront();
await frontend.waitForSelector('pierce/.settings');