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: [
|
files: [
|
||||||
"build/*.ts",
|
"build/*.ts",
|
||||||
"src/**/*.ts",
|
"src/**/*.ts",
|
||||||
"spec/**/*.ts"
|
"integration/**/*.ts"
|
||||||
],
|
],
|
||||||
parser: "@typescript-eslint/parser",
|
parser: "@typescript-eslint/parser",
|
||||||
extends: [
|
extends: [
|
||||||
|
|||||||
4
Makefile
4
Makefile
@ -34,10 +34,6 @@ integration-win:
|
|||||||
yarn build:win
|
yarn build:win
|
||||||
yarn integration
|
yarn integration
|
||||||
|
|
||||||
lint:
|
|
||||||
yarn lint
|
|
||||||
yarn lint-dashboard
|
|
||||||
|
|
||||||
test-app:
|
test-app:
|
||||||
yarn test
|
yarn test
|
||||||
|
|
||||||
|
|||||||
@ -13,7 +13,7 @@ case "darwin":
|
|||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
export function setup() {
|
export function setup(): Application {
|
||||||
return new Application({
|
return new Application({
|
||||||
// path to electron app
|
// path to electron app
|
||||||
args: [],
|
args: [],
|
||||||
|
|||||||
@ -36,6 +36,7 @@ describe("app start", () => {
|
|||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
app = util.setup()
|
app = util.setup()
|
||||||
await app.start()
|
await app.start()
|
||||||
|
await app.client.waitUntilWindowLoaded()
|
||||||
const windowCount = await app.client.getWindowCount()
|
const windowCount = await app.client.getWindowCount()
|
||||||
await app.client.windowByIndex(windowCount - 1)
|
await app.client.windowByIndex(windowCount - 1)
|
||||||
await app.client.waitUntilWindowLoaded()
|
await app.client.waitUntilWindowLoaded()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user