blob: 3a1ee6a5d2af469afb5bfa305237e1b9968aa9e1 [file] [log] [blame]
// Copyright 2020 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 {describe, it} from '../../shared/mocha-extensions.js';
import {
clearCoverageContent,
navigateToCoverageTestSite,
startInstrumentingCoverage,
stopInstrumentingCoverage,
waitForTheCoveragePanelToLoad,
} from '../helpers/coverage-helpers.js';
describe('The Coverage Panel', async () => {
it('Loads correctly', async () => {
await waitForTheCoveragePanelToLoad();
});
it('Can start and stop instrumenting coverage', async () => {
await waitForTheCoveragePanelToLoad();
await navigateToCoverageTestSite();
await startInstrumentingCoverage();
await stopInstrumentingCoverage();
await clearCoverageContent();
});
});