haven-cypress-integration 2.1.7 → 3.0.0
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.
- package/package.json +1 -1
- package/templates/run-filtered.sh +5 -13
package/package.json
CHANGED
|
@@ -102,12 +102,9 @@ if [ -n "$ADO_REPO" ]; then
|
|
|
102
102
|
"https://${ADO_PAT}@${ADO_REPO}" /app
|
|
103
103
|
|
|
104
104
|
cd /app
|
|
105
|
-
echo "
|
|
106
|
-
|
|
107
|
-
echo "
|
|
108
|
-
echo "Cypress config files:"
|
|
109
|
-
ls -la cypress.config.* 2>/dev/null || echo " NO cypress.config.* files found!"
|
|
110
|
-
echo "========================="
|
|
105
|
+
echo "Cloned branch: $(git branch --show-current)"
|
|
106
|
+
# Verify config exists (helps troubleshoot clone issues)
|
|
107
|
+
ls cypress.config.* >/dev/null 2>&1 || echo "WARNING: No cypress.config.* found after clone!"
|
|
111
108
|
npm ci
|
|
112
109
|
echo "=== Clone Complete ==="
|
|
113
110
|
else
|
|
@@ -262,13 +259,8 @@ if [ -n "$E2E_COMMAND" ]; then
|
|
|
262
259
|
|
|
263
260
|
if [ $INSTALL_EXIT -eq 0 ]; then
|
|
264
261
|
echo "npm install succeeded, running cypress..."
|
|
265
|
-
|
|
266
|
-
echo "
|
|
267
|
-
echo "Config file check:"
|
|
268
|
-
ls -la cypress.config.* 2>/dev/null || echo " No cypress.config.* found!"
|
|
269
|
-
echo "Root files:"
|
|
270
|
-
ls -la | head -20
|
|
271
|
-
echo "=== END DEBUG ==="
|
|
262
|
+
# Quick sanity check for config file
|
|
263
|
+
ls cypress.config.* >/dev/null 2>&1 || echo "WARNING: No cypress.config.* found!"
|
|
272
264
|
npx cypress run --env "$FINAL_ENV_ARGS" 2>&1 | tee -a ${RESULTS_DIR}/logs.txt
|
|
273
265
|
else
|
|
274
266
|
echo "npm install failed with exit code $INSTALL_EXIT"
|