Skip to content

Commit d7c86a8

Browse files
OrKoNDevtools-frontend LUCI CQ
authored andcommitted
[Recorder] suppress test errors
Bug: none Change-Id: I63504af8524977eb1c45c039494d552484a9ad63 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5937885 Auto-Submit: Alex Rudenko <[email protected]> Reviewed-by: Nancy Li <[email protected]> Commit-Queue: Nancy Li <[email protected]>
1 parent d421eac commit d7c86a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/e2e/recorder/replay_test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
getTestServerPort,
1414
waitFor,
1515
} from '../../../test/shared/helper.js';
16+
import {expectError} from '../../conductor/events.js';
1617

1718
import {
1819
clickSelectButtonItem,
@@ -27,6 +28,12 @@ describe('Recorder', function() {
2728
this.timeout(40000);
2829
}
2930

31+
beforeEach(() => {
32+
// The error is not an indication of the test failure. We should
33+
// rely on test result with retries.
34+
expectError(/Replay error Waiting failed/);
35+
});
36+
3037
describe('Replay', () => {
3138
it('should navigate to the url of the first section', async () => {
3239
const {target} = getBrowserAndPages();

0 commit comments

Comments
 (0)