blob: 58e7c3a1fa4ec3e07c460d30a8480b8107bf6c4d [file] [log] [blame]
// 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.
import {openSourceCodeEditorForFile} from '../helpers/sources-helpers.js';
describe('The Sources Tab', () => {
it('links to the correct origins for eval\'ed resources', async ({devToolsPage, inspectedPage}) => {
await openSourceCodeEditorForFile('call-to-foo.js', 'eval-origin.html', devToolsPage, inspectedPage);
await devToolsPage.waitFor('.devtools-link[title$="foo.js:3"]');
});
});