fix: add debug logging to CSV upload and cucumber tests
Pull Request / unit-tests (pull_request) Successful in 2m9s
Pull Request / analyze-bump-type (pull_request) Successful in 11s
Pull Request / build-and-deploy-ci (pull_request) Failing after 42m45s

This commit is contained in:
2026-05-18 19:41:51 -07:00
parent ab376e97b4
commit e08c2bbdfd
2 changed files with 28 additions and 12 deletions
+9
View File
@@ -85,6 +85,9 @@ test.describe('CSV Upload Player Deduplication', () => {
multipart: formData,
});
if (!response.ok()) {
console.log('CSV upload failed:', response.status(), await response.text());
}
expect(response.ok()).toBeTruthy();
// Check that only 4 unique players were created (not 8)
@@ -139,6 +142,9 @@ test.describe('CSV Upload Player Deduplication', () => {
multipart: formData,
});
if (!response.ok()) {
console.log('CSV upload failed:', response.status(), await response.text());
}
expect(response.ok()).toBeTruthy();
// Check that players were created without extra whitespace
@@ -196,6 +202,9 @@ test.describe('CSV Upload Player Deduplication', () => {
multipart: formData,
});
if (!response.ok()) {
console.log('CSV upload failed:', response.status(), await response.text());
}
expect(response.ok()).toBeTruthy();
// Check that the existing player was updated (not duplicated)