Skip to content

Commit

Permalink
Revert end to end tests back to insiders
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Aug 10, 2022
1 parent ad8e5c9 commit 25afe2b
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions extension/src/test/e2e/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { getVenvBinPath } from '../../python/path'
import { Logger } from '../../common/logger'

const screenshotDir = join(__dirname, 'screenshots')
const logsDir = join(__dirname, 'logs')
const extensionPath = resolve(__dirname, '..', '..', '..')
const dvcDemoPath = resolve(extensionPath, '..', 'demo')

export const config: Options.Testrunner = {
after: async function () {
Expand All @@ -30,18 +33,14 @@ export const config: Options.Testrunner = {
capabilities: [
{
browserName: 'vscode',
browserVersion: 'stable',
browserVersion: 'insiders',
'wdio:vscodeOptions': {
extensionPath: resolve(__dirname, '..', '..', '..'),
extensionPath,
userSettings: {
'dvc.pythonPath': getVenvBinPath(
resolve(__dirname, '..', '..', '..', '..', 'demo'),
'.env',
'python'
)
'dvc.pythonPath': getVenvBinPath(dvcDemoPath, '.env', 'python')
},
verboseLogging: false,
workspacePath: resolve(__dirname, '..', '..', '..', '..', 'demo')
workspacePath: dvcDemoPath
}
}
],
Expand All @@ -56,7 +55,7 @@ export const config: Options.Testrunner = {
timeout: 60000,
ui: 'bdd'
},
outputDir: join(__dirname, 'logs'),
outputDir: logsDir,
reporters: ['spec'],
services: ['vscode'],
specs: ['./src/test/e2e/*.test.ts'],
Expand Down

0 comments on commit 25afe2b

Please sign in to comment.