Files
react-native-devtools-frontend/test/e2e/elements/isolation-mode_test.ts
T
Changhao Han 8709d85833 Enable isolation mode for container query containers
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>
2021-09-30 07:53:11 +00:00

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');
});
});