blob: f7cf2d32fea5158755b15021268a436519c9a67a [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import {
expandSelectedNodeRecursively,
waitForElementsStyleSection,
waitForElementWithPartialText,
} from '../helpers/elements-helpers.js';
describe('The Elements tab', () => {
it('shows OOPIF frame error inline', async ({devToolsPage, inspectedPage}) => {
await inspectedPage.goToResource('elements/page-error.html');
await waitForElementsStyleSection(null, devToolsPage);
await expandSelectedNodeRecursively(devToolsPage);
await waitForElementWithPartialText('<iframe src=', devToolsPage);
await waitForElementWithPartialText('404 - File not found', devToolsPage);
});
});