mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 12:33:47 +08:00
screencast: https://imgur.com/a/61Tvewc backend CL: https://crrev.com/c/3173212 Bug: chromium:1146422 Change-Id: I57abf59ae8d22927c3fb514e4dd684d5656b410a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3175289 Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Reviewed-by: Johan Bay <jobay@chromium.org> Commit-Queue: Changhao Han <changhaohan@chromium.org>
16 lines
696 B
TypeScript
16 lines
696 B
TypeScript
// Copyright 2021 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 {clickOnContextMenu} from '../helpers/sources-helpers.js';
|
|
|
|
describe('The Elements panel', async () => {
|
|
it('has a context menu item to enter Isolation Mode', async () => {
|
|
await goToResource('elements/css-container-queries.html');
|
|
await clickOnContextMenu('[aria-label="</body>"]', 'Enter Isolation Mode');
|
|
await clickOnContextMenu('[aria-label="</body>"]', 'Exit Isolation Mode');
|
|
});
|
|
});
|