Skip to content

Commit

Permalink
fix smoketest
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Jun 28, 2019
1 parent e73ef9a commit ab9812e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/smoke/src/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export class Application {
await this.code.waitForElement('.monaco-workbench');

if (this.remote) {
await this.code.waitForElement('.monaco-workbench .statusbar-item.statusbar-entry a[title="Editing on TestResolver"]');
await this.code.waitForElement('.monaco-workbench .statusbar-item[title="Editing on TestResolver"]');
}

// wait a bit, since focus might be stolen off widgets
Expand Down
2 changes: 1 addition & 1 deletion test/smoke/src/areas/git/git.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as cp from 'child_process';
import { Application } from '../../application';

const DIFF_EDITOR_LINE_INSERT = '.monaco-diff-editor .editor.modified .line-insert';
const SYNC_STATUSBAR = 'div[id="workbench.parts.statusbar"] .statusbar-entry a[title$="Synchronize Changes"]';
const SYNC_STATUSBAR = 'div[id="workbench.parts.statusbar"] .statusbar-item[title$="Synchronize Changes"]';

export function setup() {
describe('Git', () => {
Expand Down

0 comments on commit ab9812e

Please sign in to comment.