-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E2E test: ensure mikhail-arkhipov.r cannot be installed (#6411)
Ensure mikhail-arkhipov.r cannot be installed as it conflicts with Positron. ### QA Notes All tests pass @:web @:extensions
- Loading branch information
1 parent
d0e35ac
commit 97c6800
Showing
4 changed files
with
38 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/*--------------------------------------------------------------------------------------------- | ||
* Copyright (C) 2025 Posit Software, PBC. All rights reserved. | ||
* Licensed under the Elastic License 2.0. See LICENSE.txt for license information. | ||
*--------------------------------------------------------------------------------------------*/ | ||
|
||
import { expect } from '@playwright/test'; | ||
import { test, tags } from '../_test.setup'; | ||
|
||
test.use({ | ||
suiteId: __filename | ||
}); | ||
|
||
|
||
test.describe('Extensions', { | ||
tag: [tags.EXTENSIONS, tags.WEB], | ||
}, () => { | ||
|
||
test('Verify block of R extension installation', { | ||
tag: [tags.WEB_ONLY] | ||
}, async function ({ app }) { | ||
|
||
await app.workbench.extensions.installExtension('mikhail-arkhipov.r', false, true); | ||
|
||
expect(app.code.driver.page.getByText('Cannot install the \'R Tools\' extension')).toBeVisible(); | ||
|
||
}); | ||
}); | ||
|