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