"use strict";
// Copyright 2023 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 sources_helpers_js_1 = require("../helpers/sources-helpers.js");
describe('The Sources panel', () => {
    describe('contains a debugger sidebar', () => {
        it('which can be toggled via Ctrl+Shift+H shortcut keyboard', async ({ devToolsPage }) => {
            await (0, sources_helpers_js_1.openSourcesPanel)(devToolsPage);
            // Make sure that the debug sidebar is not collapsed in initial state
            await devToolsPage.waitFor('.scripts-debug-toolbar');
            //  Collapse debug sidebar
            await devToolsPage.pressKey('h', { shift: true, control: true });
            await devToolsPage.waitForNone('.scripts-debug-toolbar');
            // Expand debug sidebar
            await devToolsPage.pressKey('h', { shift: true, control: true });
            await devToolsPage.waitFor('.scripts-debug-toolbar');
        });
    });
});
//# sourceMappingURL=debugger-sidebar.test.js.map