File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -144,25 +144,6 @@ jobs:
144144 - name : Install Playwright
145145 run : npx playwright install chromium
146146
147- - name : Test server availability
148- run : |
149- # Start the server in background
150- npx serve -l 4200 . &
151- SERVER_PID=$!
152- echo "Server started with PID: $SERVER_PID"
153-
154- # Wait for server to start
155- sleep 5
156-
157- # Test if server is running and files are accessible
158- echo "Testing server endpoints:"
159- curl -I http://localhost:4200/test-widget-embed || echo "Failed to access test-widget-embed"
160- curl -I http://localhost:4200/dist/widget.umd.js || echo "Failed to access widget.umd.js"
161- curl -I http://localhost:4200/dist/style.css || echo "Failed to access style.css"
162-
163- # Kill the test server
164- kill $SERVER_PID
165-
166147 - name : Run widget tests
167148 run : npm run test:ci:only
168149
You can’t perform that action at this time.
0 commit comments