"use strict";
// 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.
Object.defineProperty(exports, "__esModule", { value: true });
const elements_helpers_js_1 = require("../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 (0, elements_helpers_js_1.waitForElementsStyleSection)(null, devToolsPage);
        await (0, elements_helpers_js_1.expandSelectedNodeRecursively)(devToolsPage);
        await (0, elements_helpers_js_1.waitForElementWithPartialText)('<iframe src=', devToolsPage);
        await (0, elements_helpers_js_1.waitForElementWithPartialText)('404 - File not found', devToolsPage);
    });
});
//# sourceMappingURL=oopif-elements.test.js.map