Skip to content

Commit f9a242f

Browse files
committed
WIP
1 parent 051e288 commit f9a242f

30 files changed

+18227
-10435
lines changed

.vscode/tasks.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
// #1: Individual task to start the emulator
5+
{
6+
"label": "Start Emulator",
7+
"type": "shell",
8+
"command": "yarn --cwd emulator dev",
9+
"isBackground": true,
10+
"presentation": {
11+
"group": "E2E",
12+
"panel": "dedicated",
13+
"reveal": "always"
14+
},
15+
"problemMatcher": {
16+
"owner": "custom",
17+
"pattern": {
18+
"regexp": "^.*$"
19+
},
20+
"background": {
21+
"activeOnStart": true,
22+
"beginsPattern": "DeviceMock initialized",
23+
"endsPattern": "DeviceMock stopped"
24+
}
25+
}
26+
},
27+
// #2: Individual task to start the tray app
28+
{
29+
"label": "Start Tray App",
30+
"type": "shell",
31+
"command": "yarn --cwd tray-app dev",
32+
"isBackground": true,
33+
"presentation": {
34+
"group": "E2E",
35+
"panel": "dedicated",
36+
"reveal": "always"
37+
},
38+
"problemMatcher": {
39+
"owner": "custom",
40+
"pattern": {
41+
"regexp": "^.*$"
42+
},
43+
"background": {
44+
"activeOnStart": true,
45+
"beginsPattern": "starting electron-forge",
46+
"endsPattern": "webpack compiled"
47+
}
48+
}
49+
},
50+
// #3: Individual task to run the E2E tests
51+
{
52+
"label": "Run E2E Tests",
53+
"type": "shell",
54+
"command": "yarn --cwd tray-app test:e2e",
55+
"presentation": {
56+
"group": "E2E",
57+
"panel": "dedicated",
58+
"reveal": "always"
59+
},
60+
"problemMatcher": []
61+
},
62+
// #4: Compound task to run everything together
63+
{
64+
"label": "Run All E2E Flow",
65+
"dependsOrder": "parallel",
66+
"dependsOn": ["Start Emulator", "Start Tray App"],
67+
"group": {
68+
"kind": "test",
69+
"isDefault": true
70+
},
71+
"problemMatcher": []
72+
}
73+
]
74+
}

.yarn/install-state.gz

1.51 MB
Binary file not shown.

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.yarnrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Plik konfiguracyjny dla Yarn.
2+
# Ta linia jest kluczowa dla kompatybilności z Electron/Vite.
3+
# Zmusza Yarn do tworzenia standardowego katalogu node_modules,
4+
# zamiast domyślnego trybu Plug'n'Play (PnP).
5+
nodeLinker: node-modules

0 commit comments

Comments
 (0)