Files
react-native-devtools-frontend/test/e2e/elements/oopif-elements_test.ts
T
Danil Somsikov 9a49c7137b Reimplment flaky http/tests/devtools/oopif/oopif-elements-nesting-error-page.js as an e2e test.
Bug: 1300772
Change-Id: Icd64f51dd5c8d039590e050c6d920617bc5d9534
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3735069
Commit-Queue: Wolfgang Beyer <wolfi@chromium.org>
Auto-Submit: Danil Somsikov <dsv@chromium.org>
Commit-Queue: Danil Somsikov <dsv@chromium.org>
Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
2022-06-29 16:48:48 +00:00

23 lines
795 B
TypeScript

// Copyright 2022 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {goToResource} from '../../shared/helper.js';
import {describe, it} from '../../shared/mocha-extensions.js';
import {
expandSelectedNodeRecursively,
waitForElementsStyleSection,
waitForElementWithPartialText,
} from '../helpers/elements-helpers.js';
describe('The Elements tab', async () => {
it('shows OOPIF frame error inline', async () => {
await goToResource('elements/page-error.html');
await waitForElementsStyleSection();
await expandSelectedNodeRecursively();
await waitForElementWithPartialText('<iframe src=');
await waitForElementWithPartialText('404 - File not found');
});
});