mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-30 01:43:36 +08:00
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>
23 lines
795 B
TypeScript
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');
|
|
});
|
|
});
|