Skip to content

Commit

Permalink
test: Enable passing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpoulter committed Feb 26, 2024
1 parent 47738eb commit 2d90ddf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions test/specs/bottombar.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
BottomBarPanel

} from '../../dist/index.js'
import { skip } from './utils.js'

describe('bottombar', () => {
let bottomBar: BottomBarPanel
Expand All @@ -20,14 +19,14 @@ describe('bottombar', () => {
await bottomBar.toggle(true)
})

skip('win32')('can get output channels', async () => {
it('can get output channels', async () => {
const outputView = await bottomBar.openOutputView()
const channels = await outputView.getChannelNames()
expect(channels).toContain('Tasks')
expect(channels).toContain('Guinea Pig')
})

skip('win32')('can get extension logs', async () => {
it('can get extension logs', async () => {
const outputView = await bottomBar.openOutputView()
await outputView.selectChannel('Guinea Pig')
expect(await outputView.getCurrentChannel()).toBe('Guinea Pig')
Expand Down
5 changes: 2 additions & 3 deletions test/specs/workbench.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

import path from 'node:path'
import { browser, expect } from '@wdio/globals'
import { skip } from './utils.js'

describe('workbench', () => {
it('should be able to load VSCode', async () => {
Expand Down Expand Up @@ -45,14 +44,14 @@ describe('workbench', () => {
expect(await workbench.hasNotifications()).toBe(false)
})

skip('linux')('executeCommand @skipWeb', async () => {
it('executeCommand @skipWeb', async () => {
const workbench = await browser.getWorkbench()
await workbench.executeCommand('Find in Files')
const selectedView = await workbench.getActivityBar().getSelectedViewAction()
expect(await selectedView.getTitle()).toBe('Search')
})

skip('linux')('executeQuickPick @skipWeb', async () => {
it('executeQuickPick @skipWeb', async () => {
const workbench = await browser.getWorkbench()
await workbench.executeQuickPick('Search: Find in Files')
const selectedView = await workbench.getActivityBar().getSelectedViewAction()
Expand Down

0 comments on commit 2d90ddf

Please sign in to comment.