Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions extension/src/test/e2e/extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ suite('DVC Extension For Visual Studio Code', () => {
before('should finish loading the extension', async function () {
this.timeout(240000)
await waitForViewContainerToLoad()
const workbench = await browser.getWorkbench()
await workbench.executeCommand('DVC: Garbage Collect Experiments')
await browser.keys('Enter')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[F] This removes experiments that are found against previous commits. It is very likely that they will be missing from the remote so plots diff will fail to load the data.

return dismissAllNotifications()
})

Expand Down
2 changes: 1 addition & 1 deletion extension/src/test/e2e/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const config: Options.Testrunner = {
capabilities: [
{
browserName: 'vscode',
browserVersion: 'insiders',
browserVersion: 'stable',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something has happened in insiders which means you cannot focus the plots webview after the experiments webview has been opened. I am still looking into it but this should get everything moving again.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is only for the test suite and webdriverio, there is no loss of functionality with insiders.

'wdio:vscodeOptions': {
extensionPath,
userSettings: {
Expand Down