|
|
@ -3,7 +3,7 @@ import {NightwatchBrowser} from 'nightwatch' |
|
|
|
|
|
|
|
|
|
|
|
class checkAnnotations extends EventEmitter { |
|
|
|
class checkAnnotations extends EventEmitter { |
|
|
|
command(this: NightwatchBrowser, type: string, line: number): NightwatchBrowser { |
|
|
|
command(this: NightwatchBrowser, type: string, line: number): NightwatchBrowser { |
|
|
|
this.api.assert.containsText(`.glyph-margin-widgets .${type} + div`, line.toString()).perform(() => this.emit('complete')) |
|
|
|
this.api.assert.containsText(`.glyph-margin-widgets .${type}`, line.toString()).perform(() => this.emit('complete')) |
|
|
|
return this |
|
|
|
return this |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|