mirror of https://github.com/onivim/oni.git
Merge pull request #2561 from Akin909/bugfix/fix-hero-screenshot-test
Bugfix/fix hero screenshot test
This commit is contained in:
commit
5c5beef05c
|
@ -8,19 +8,10 @@ import * as path from "path"
|
|||
|
||||
import { remote } from "electron"
|
||||
|
||||
import { getCompletionElement } from "../ci/Common"
|
||||
import { getDistPath, getRootPath } from "./DemoCommon"
|
||||
|
||||
// tslint:disable:no-console
|
||||
|
||||
const getCompletionElement = () => {
|
||||
const elements = document.body.getElementsByClassName("autocompletion")
|
||||
if (!elements || !elements.length) {
|
||||
return null
|
||||
} else {
|
||||
return elements[0]
|
||||
}
|
||||
}
|
||||
|
||||
const getNotificationText = () => {
|
||||
const elements = document.body.getElementsByClassName("notification-description")
|
||||
|
||||
|
|
Loading…
Reference in New Issue