Skip to content

Commit 42012d9

Browse files
committed
Revert to serial mode to fix installation race condition
1 parent e7a943d commit 42012d9

File tree

2 files changed

+126
-0
lines changed

2 files changed

+126
-0
lines changed

e2e/test-output.log

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
2+
> playwright-foundry@1.0.0 test
3+
> npx playwright test
4+
5+
[dotenvx@1.49.0] injecting env (0) from .env
6+
7+
Running 8 tests using 4 workers
8+
9+
[dotenvx@1.49.0] injecting env (0) from .env
10+
✓ 1 [setup] › tests/authenticate.setup.ts:9:6 › authenticate (1.0s)
11+
🔧 Test Configuration:
12+
Environment: Local
13+
Base URL: https://falcon.us-2.crowdstrike.com
14+
App Name: foundry-sample-functions-python
15+
Default Timeout: 30000ms
16+
Retry Attempts: 2
17+
Debug Mode: false (enable with DEBUG=true npm test or npm run test:debug)
18+
🔍 [1] AppCatalogPage: Check if app 'foundry-sample-functions-python' is installed
19+
ℹ️ Searching for app 'foundry-sample-functions-python' in catalog
20+
🔧 [2] AppCatalogPage: App catalog page
21+
✅ Found app 'foundry-sample-functions-python' in catalog
22+
👆 [3] AppCatalogPage: Click App 'foundry-sample-functions-python' link
23+
ℹ️ App 'foundry-sample-functions-python' installation status: Installed
24+
App 'foundry-sample-functions-python' is already installed
25+
✓ 2 [app-install] › tests/app-install.setup.ts:3:6 › install Functions with Python app (8.7s)
26+
ℹ️ Retrieving first host ID from host management
27+
🔧 [1] Host Management: Host management page
28+
ℹ️ Navigating to Fusion SOAR Workflows
29+
🔧 [1] Workflows: Foundry Home
30+
ℹ️ Navigating to Fusion SOAR Workflows
31+
🔧 [1] Workflows: Foundry Home
32+
ℹ️ Navigating to Endpoint Detections page
33+
🔧 [1] Socket Navigation: Foundry home
34+
✅ Host management page loaded
35+
⚡ Navigate to Host Management completed in 10.75s
36+
✅ Found host ID: 814b5827a16549818f71a64bbe973ba7
37+
⚡ Get first host ID completed in 10.76s
38+
ℹ️ Navigating to Fusion SOAR Workflows
39+
🔧 [2] Workflows: Foundry Home
40+
✅ Workflows page loaded
41+
⚡ Navigate to Workflows completed in 10.90s
42+
ℹ️ Executing workflow: Test log-event function
43+
ℹ️ Opening workflow: Test log-event function
44+
✅ Opened workflow: Test log-event function
45+
⚡ Open workflow: Test log-event function completed in 178ms
46+
ℹ️ Execution modal opened
47+
✅ Workflow execution triggered: Test log-event function
48+
⚡ Execute workflow: Test log-event function completed in 1.52s
49+
ℹ️ Verifying workflow execution succeeded: Test log-event function
50+
✅ Workflow execution confirmed: Test log-event function
51+
ℹ️ Execution details view link available
52+
⚡ Verify workflow execution success: Test log-event function completed in 3ms
53+
⚡ Execute and verify workflow: Test log-event function completed in 1.53s
54+
✓ 6 [chromium] › tests/foundry.spec.ts:14:7 › Functions with Python - E2E Tests › should execute Test log-event function workflow (12.6s)
55+
ℹ️ Navigating to Fusion SOAR Workflows
56+
🔧 [2] Workflows: Foundry Home
57+
✅ Navigated to Endpoint Detections page
58+
⚡ Navigate to Endpoint Detections completed in 13.16s
59+
✅ Workflows page loaded
60+
⚡ Navigate to Workflows completed in 13.20s
61+
ℹ️ Executing workflow: Test hello function
62+
ℹ️ Opening workflow: Test hello function
63+
✅ Opened workflow: Test hello function
64+
⚡ Open workflow: Test hello function completed in 178ms
65+
⚡ Open first detection completed in 387ms
66+
✅ Navigated to detection with hello extension
67+
⚡ Navigate to Hello Extension completed in 13.55s
68+
ℹ️ Verifying hello extension renders
69+
ℹ️ Execution modal opened
70+
ℹ️ Scrolled to hello extension button
71+
ℹ️ Found hello extension button
72+
ℹ️ Clicked to expand hello extension
73+
✅ Workflow execution triggered: Test hello function
74+
⚡ Execute workflow: Test hello function completed in 2.53s
75+
ℹ️ Verifying workflow execution succeeded: Test hello function
76+
✅ Workflow execution confirmed: Test hello function
77+
ℹ️ Execution details view link available
78+
⚡ Verify workflow execution success: Test hello function completed in 3ms
79+
⚡ Execute and verify workflow: Test hello function completed in 2.53s
80+
✓ 4 [chromium] › tests/foundry.spec.ts:9:7 › Functions with Python - E2E Tests › should execute Test hello function workflow (15.9s)
81+
ℹ️ Extension iframe loaded
82+
✅ hello extension renders correctly with expected content
83+
⚡ Verify hello extension renders completed in 2.39s
84+
✓ 3 [chromium] › tests/foundry.spec.ts:4:7 › Functions with Python - E2E Tests › should render Hello UI extension (16.1s)
85+
✅ Workflows page loaded
86+
⚡ Navigate to Workflows completed in 9.45s
87+
ℹ️ Executing workflow: Test host-details function
88+
ℹ️ Opening workflow: Test host-details function
89+
✅ Opened workflow: Test host-details function
90+
⚡ Open workflow: Test host-details function completed in 174ms
91+
ℹ️ Execution modal opened
92+
ℹ️ Filling in 1 input parameter(s)
93+
ℹ️ Set Host ID = 814b5827a16549818f71a64bbe973ba7
94+
✅ Workflows page loaded
95+
⚡ Navigate to Workflows completed in 9.05s
96+
ℹ️ Verifying workflow renders: Test servicenow function
97+
ℹ️ Opening workflow: Test servicenow function
98+
✅ Workflow execution triggered: Test host-details function
99+
⚡ Execute workflow: Test host-details function completed in 1.52s
100+
ℹ️ Verifying workflow execution succeeded: Test host-details function
101+
✅ Workflow execution confirmed: Test host-details function
102+
ℹ️ Execution details view link available
103+
⚡ Verify workflow execution success: Test host-details function completed in 5ms
104+
⚡ Execute and verify workflow: Test host-details function completed in 1.52s
105+
✓ 5 [chromium] › tests/foundry.spec.ts:19:7 › Functions with Python - E2E Tests › should execute Test host-details function workflow (21.9s)
106+
✅ Opened workflow: Test servicenow function
107+
⚡ Open workflow: Test servicenow function completed in 167ms
108+
⚠️ Workflow page loaded but canvas not detected: Test servicenow function
109+
ℹ️ This is acceptable for E2E - workflow exists and loads
110+
⚡ Verify workflow renders: Test servicenow function completed in 177ms
111+
✓ 7 [chromium] › tests/foundry.spec.ts:35:7 › Functions with Python - E2E Tests › should render Test servicenow function workflow (without execution) (9.3s)
112+
🔧 [1] AppCatalogPage: App Catalog
113+
📦 [2] AppCatalogPage: Uninstall app 'foundry-sample-functions-python'
114+
ℹ️ Searching for app 'foundry-sample-functions-python' in catalog
115+
🔧 [3] AppCatalogPage: App catalog page
116+
✅ Found app 'foundry-sample-functions-python' in catalog
117+
👆 [4] AppCatalogPage: Click App 'foundry-sample-functions-python' link
118+
👆 [5] AppCatalogPage: Click Open menu button
119+
👆 [6] AppCatalogPage: Click Uninstall app menuitem
120+
👆 [7] AppCatalogPage: Click Uninstall button
121+
✅ App 'foundry-sample-functions-python' uninstalled successfully
122+
✓ 8 [app-uninstall] › tests/app-uninstall.teardown.ts:3:9 › uninstall Functions with Python app (17.8s)
123+
124+
8 passed (51.2s)

e2e/tests/foundry.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { test, expect } from '../src/fixtures';
22

3+
test.describe.configure({ mode: 'serial' });
4+
35
test.describe('Functions with Python - E2E Tests', () => {
46
test('should render Hello UI extension', async ({ helloExtensionPage }) => {
57
await helloExtensionPage.navigateToExtension();

0 commit comments

Comments
 (0)