plum-e2e 1.3.3 → 1.3.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/README.md +41 -24
  2. package/backend/config/scripts/create-step.mjs +15 -14
  3. package/backend/lib/runnerProcess.js +2 -3
  4. package/backend/scripts/manage-runners.mjs +6 -17
  5. package/backend/services/cronService.js +16 -5
  6. package/backend/websockets/socketHandler.js +23 -5
  7. package/bin/plum.js +262 -220
  8. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Badge.DLLowvEA.css +17 -0
  9. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/Button.cBruH0aD.css +17 -0
  10. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_layout.D7eM-6MV.css +17 -0
  11. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.BVnUajEa.css +17 -0
  12. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.CGnCsn5q.css +17 -0
  13. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.DBhBrHFz.css +17 -0
  14. package/frontend/.svelte-kit/adapter-node/_app/immutable/assets/_page.DOqo0UR4.css +17 -0
  15. package/frontend/.svelte-kit/output/client/_app/immutable/assets/0.CnXRuPt4.css +17 -0
  16. package/frontend/.svelte-kit/output/client/_app/immutable/assets/2.CGnCsn5q.css +17 -0
  17. package/frontend/.svelte-kit/output/client/_app/immutable/assets/3.BVnUajEa.css +17 -0
  18. package/frontend/.svelte-kit/output/client/_app/immutable/assets/4.DBhBrHFz.css +17 -0
  19. package/frontend/.svelte-kit/output/client/_app/immutable/assets/5.D93VAB-w.css +17 -0
  20. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Badge.DLLowvEA.css +17 -0
  21. package/frontend/.svelte-kit/output/client/_app/immutable/assets/Button.cBruH0aD.css +17 -0
  22. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_layout.D7eM-6MV.css +17 -0
  23. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.BVnUajEa.css +17 -0
  24. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.CGnCsn5q.css +17 -0
  25. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.DBhBrHFz.css +17 -0
  26. package/frontend/.svelte-kit/output/client/_app/immutable/assets/_page.DOqo0UR4.css +17 -0
  27. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Badge.DLLowvEA.css +17 -0
  28. package/frontend/.svelte-kit/output/server/_app/immutable/assets/Button.cBruH0aD.css +17 -0
  29. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_layout.D7eM-6MV.css +17 -0
  30. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.BVnUajEa.css +17 -0
  31. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.CGnCsn5q.css +17 -0
  32. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.DBhBrHFz.css +17 -0
  33. package/frontend/.svelte-kit/output/server/_app/immutable/assets/_page.DOqo0UR4.css +17 -0
  34. package/frontend/build/client/_app/immutable/assets/0.CnXRuPt4.css +17 -0
  35. package/frontend/build/client/_app/immutable/assets/2.CGnCsn5q.css +17 -0
  36. package/frontend/build/client/_app/immutable/assets/3.BVnUajEa.css +17 -0
  37. package/frontend/build/client/_app/immutable/assets/4.DBhBrHFz.css +17 -0
  38. package/frontend/build/client/_app/immutable/assets/5.D93VAB-w.css +17 -0
  39. package/frontend/build/client/_app/immutable/assets/Badge.DLLowvEA.css +17 -0
  40. package/frontend/build/client/_app/immutable/assets/Button.cBruH0aD.css +17 -0
  41. package/frontend/build/client/_app/immutable/assets/_layout.D7eM-6MV.css +17 -0
  42. package/frontend/build/client/_app/immutable/assets/_page.BVnUajEa.css +17 -0
  43. package/frontend/build/client/_app/immutable/assets/_page.CGnCsn5q.css +17 -0
  44. package/frontend/build/client/_app/immutable/assets/_page.DBhBrHFz.css +17 -0
  45. package/frontend/build/client/_app/immutable/assets/_page.DOqo0UR4.css +17 -0
  46. package/frontend/src/app.css +0 -16
  47. package/frontend/src/lib/constants.js +1 -2
  48. package/frontend/src/lib/stores/theme.js +0 -17
  49. package/frontend/src/lib/styles/global.css +0 -16
  50. package/frontend/src/lib/styles/reset.css +0 -16
  51. package/frontend/src/lib/styles/tokens.css +0 -16
  52. package/frontend/src/routes/reports/live/+page.svelte +2 -2
  53. package/package.json +5 -3
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,3 +1,20 @@
1
+ /*
2
+ * This file is part of Plum.
3
+ *
4
+ * Plum is free software: you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation, either version 3 of the License, or
7
+ * (at your option) any later version.
8
+ *
9
+ * Plum is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with Plum. If not, see https://www.gnu.org/licenses/.
16
+ */
17
+
1
18
  /*
2
19
  This file is part of Plum.
3
20
 
@@ -1,19 +1,3 @@
1
- /*
2
- This file is part of Plum.
3
-
4
- Plum is free software: you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation, either version 3 of the License, or
7
- (at your option) any later version.
8
-
9
- Plum is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
13
-
14
- You should have received a copy of the GNU General Public License
15
- along with Plum. If not, see https://www.gnu.org/licenses/.
16
- */
17
1
  /*
18
2
  * This file is part of Plum.
19
3
  *
@@ -19,8 +19,7 @@ export const API_BASE = import.meta.env.VITE_API_URL ?? 'http://localhost:3001';
19
19
 
20
20
  export const BROWSERS = [
21
21
  { id: 'chromium', label: 'Chrome' },
22
- { id: 'firefox', label: 'Firefox' },
23
- { id: 'webkit', label: 'WebKit' }
22
+ { id: 'firefox', label: 'Firefox' }
24
23
  ];
25
24
 
26
25
  export const TRIGGER_TYPES = Object.freeze({
@@ -15,23 +15,6 @@
15
15
  * along with Plum. If not, see https://www.gnu.org/licenses/.
16
16
  */
17
17
 
18
- /*
19
- This file is part of Plum.
20
-
21
- Plum is free software: you can redistribute it and/or modify
22
- it under the terms of the GNU General Public License as published by
23
- the Free Software Foundation, either version 3 of the License, or
24
- (at your option) any later version.
25
-
26
- Plum is distributed in the hope that it will be useful,
27
- but WITHOUT ANY WARRANTY; without even the implied warranty of
28
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
29
- GNU General Public License for more details.
30
-
31
- You should have received a copy of the GNU General Public License
32
- along with Plum. If not, see https://www.gnu.org/licenses/.
33
- */
34
-
35
18
  import { writable } from 'svelte/store';
36
19
  import { browser } from '$app/environment';
37
20
 
@@ -1,19 +1,3 @@
1
- /*
2
- This file is part of Plum.
3
-
4
- Plum is free software: you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation, either version 3 of the License, or
7
- (at your option) any later version.
8
-
9
- Plum is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
13
-
14
- You should have received a copy of the GNU General Public License
15
- along with Plum. If not, see https://www.gnu.org/licenses/.
16
- */
17
1
  /*
18
2
  * This file is part of Plum.
19
3
  *
@@ -1,19 +1,3 @@
1
- /*
2
- This file is part of Plum.
3
-
4
- Plum is free software: you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation, either version 3 of the License, or
7
- (at your option) any later version.
8
-
9
- Plum is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
13
-
14
- You should have received a copy of the GNU General Public License
15
- along with Plum. If not, see https://www.gnu.org/licenses/.
16
- */
17
1
  /*
18
2
  * This file is part of Plum.
19
3
  *
@@ -1,19 +1,3 @@
1
- /*
2
- This file is part of Plum.
3
-
4
- Plum is free software: you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation, either version 3 of the License, or
7
- (at your option) any later version.
8
-
9
- Plum is distributed in the hope that it will be useful,
10
- but WITHOUT ANY WARRANTY; without even the implied warranty of
11
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
13
-
14
- You should have received a copy of the GNU General Public License
15
- along with Plum. If not, see https://www.gnu.org/licenses/.
16
- */
17
1
  /*
18
2
  * This file is part of Plum.
19
3
  *
@@ -29,7 +29,7 @@
29
29
  let countdownInterval = null;
30
30
 
31
31
  $: state = $runnerState;
32
- $: isMulti = state.lanes.length > 1;
32
+ $: isMulti = state.lanes.length > 0;
33
33
 
34
34
  // Auto-scroll terminals
35
35
  afterUpdate(() => {
@@ -173,7 +173,7 @@
173
173
  >
174
174
  <span class="run-sep">·</span>
175
175
  <span class="run-detail">{state.currentRun.browser}</span>
176
- {#if isMulti}
176
+ {#if state.lanes.length > 1}
177
177
  <span class="run-sep">·</span>
178
178
  <span class="run-detail">{state.lanes.length} runners</span>
179
179
  {/if}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plum-e2e",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/silverlunah/plum.git"
@@ -29,10 +29,12 @@
29
29
  "prettier-plugin-svelte": "^3.3.3"
30
30
  },
31
31
  "dependencies": {
32
- "fs-extra": "^11.3.0"
32
+ "@clack/prompts": "^1.5.1",
33
+ "fs-extra": "^11.3.0",
34
+ "picocolors": "^1.1.1"
33
35
  },
34
36
  "type": "module",
35
37
  "lint-staged": {
36
- "*.{js,ts,svelte,json,md,css,html}": "prettier --write"
38
+ "*.{js,ts,mjs,svelte,json,md,css,html}": "prettier --write"
37
39
  }
38
40
  }