mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
integration fixes
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
7b9dea4a1d
commit
8569e3b772
@ -29,7 +29,7 @@ module.exports = {
|
||||
files: [
|
||||
"build/*.ts",
|
||||
"src/**/*.ts",
|
||||
"spec/**/*.ts"
|
||||
"integration/**/*.ts"
|
||||
],
|
||||
parser: "@typescript-eslint/parser",
|
||||
extends: [
|
||||
|
||||
4
Makefile
4
Makefile
@ -34,10 +34,6 @@ integration-win:
|
||||
yarn build:win
|
||||
yarn integration
|
||||
|
||||
lint:
|
||||
yarn lint
|
||||
yarn lint-dashboard
|
||||
|
||||
test-app:
|
||||
yarn test
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ case "darwin":
|
||||
break
|
||||
}
|
||||
|
||||
export function setup() {
|
||||
export function setup(): Application {
|
||||
return new Application({
|
||||
// path to electron app
|
||||
args: [],
|
||||
|
||||
@ -36,6 +36,7 @@ describe("app start", () => {
|
||||
beforeEach(async () => {
|
||||
app = util.setup()
|
||||
await app.start()
|
||||
await app.client.waitUntilWindowLoaded()
|
||||
const windowCount = await app.client.getWindowCount()
|
||||
await app.client.windowByIndex(windowCount - 1)
|
||||
await app.client.waitUntilWindowLoaded()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user