Skip to content

Commit

Permalink
e2e Test: Change reference test to use shift+F12 (#6212)
Browse files Browse the repository at this point in the history
Due to #6211 needed to switch to using shift+F12
  • Loading branch information
jonvanausdeln authored Feb 1, 2025
1 parent 5d85617 commit 9d2b4d0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/e2e/tests/references/references.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ test.describe('References', {

});

test('Python - Verify References Functionality', async function ({ app, python, openFile }) {
test('Python - Verify References Functionality', {
annotation: [{ type: 'issue', description: 'https://github.com/posit-dev/positron/issues/6211' }]
}, async function ({ app, python, openFile }) {
const helper = 'helper.py';

await openFile(join('workspaces', 'references_tests', 'python', helper));
Expand Down Expand Up @@ -57,7 +59,7 @@ async function openAndCommonValidations(app: Application, helper: string) {
await app.workbench.editor.clickOnTerm(helper, 'add', 1, true);

await test.step('Open references view', async () => {
await app.code.driver.page.keyboard.press('F12');
await app.code.driver.page.keyboard.press('Shift+F12');

await app.workbench.references.waitUntilOpen();
});
Expand Down

0 comments on commit 9d2b4d0

Please sign in to comment.