mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +00:00
test(ui): increase timeout to 60s
- add formatting check to lint.yml
This commit is contained in:
parent
64671e5625
commit
711b4d9b20
3
.github/workflows/lint.yml
vendored
3
.github/workflows/lint.yml
vendored
@ -30,3 +30,6 @@ jobs:
|
||||
|
||||
- name: Lint
|
||||
run: yarn lint
|
||||
|
||||
- name: Check Formatting
|
||||
run: yarn prettier --check .
|
||||
|
@ -1 +1,4 @@
|
||||
**/types.ts
|
||||
**/dist_electron
|
||||
**/dummy/*.json
|
||||
**/fixtures/countryInfo.json
|
@ -16,7 +16,8 @@
|
||||
"script:profile": "scripts/profile.sh",
|
||||
"test": "scripts/test.sh",
|
||||
"uitest": "node uitest/index.mjs | tap-spec",
|
||||
"lint": "eslint . --ext ts,vue"
|
||||
"lint": "eslint . --ext ts,vue",
|
||||
"format": "prettier --write ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@codemirror/autocomplete": "^6.4.2",
|
||||
|
@ -10,7 +10,7 @@ const appSourcePath = path.join(root, 'dist_electron', 'build', 'main.js');
|
||||
(async function run() {
|
||||
const electronApp = await _electron.launch({ args: [appSourcePath] });
|
||||
const window = await electronApp.firstWindow();
|
||||
window.setDefaultTimeout(10_000);
|
||||
window.setDefaultTimeout(60_000);
|
||||
|
||||
test('load app', async (t) => {
|
||||
t.equal(await window.title(), 'Frappe Books', 'title matches');
|
||||
|
Loading…
Reference in New Issue
Block a user