@probolabs/playwright 1.4.0-rc.5 → 1.4.0-rc.6
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/dist/.tsbuildinfo +1 -1
- package/dist/cli.js +0 -16
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +0 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +0 -16
- package/dist/index.js.map +1 -1
- package/dist/types/test-suite-runner.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -6084,22 +6084,6 @@ export default class ProboReporter implements Reporter {
|
|
|
6084
6084
|
throw new Error(`Failed to lookup test suite: ${response.status} ${errorText}`);
|
|
6085
6085
|
}
|
|
6086
6086
|
const data = await response.json();
|
|
6087
|
-
// TEMPORARY DEBUG: Output the full response
|
|
6088
|
-
console.log('🔍 DEBUG: API Response URL:', url);
|
|
6089
|
-
console.log('🔍 DEBUG: API Response Status:', response.status);
|
|
6090
|
-
console.log('🔍 DEBUG: API Response Data:', JSON.stringify(data, null, 2));
|
|
6091
|
-
console.log('🔍 DEBUG: Is Array?', Array.isArray(data));
|
|
6092
|
-
console.log('🔍 DEBUG: Array length:', Array.isArray(data) ? data.length : 'N/A');
|
|
6093
|
-
console.log('🔍 DEBUG: Has results?', !!data.results);
|
|
6094
|
-
console.log('🔍 DEBUG: Results is Array?', Array.isArray(data.results));
|
|
6095
|
-
console.log('🔍 DEBUG: Results length:', Array.isArray(data.results) ? data.results.length : 'N/A');
|
|
6096
|
-
if (Array.isArray(data) && data.length > 0) {
|
|
6097
|
-
console.log('🔍 DEBUG: First item:', JSON.stringify(data[0], null, 2));
|
|
6098
|
-
}
|
|
6099
|
-
if (data.results && Array.isArray(data.results) && data.results.length > 0) {
|
|
6100
|
-
console.log('🔍 DEBUG: First result:', JSON.stringify(data.results[0], null, 2));
|
|
6101
|
-
}
|
|
6102
|
-
console.log('');
|
|
6103
6087
|
if (Array.isArray(data) && data.length > 0) {
|
|
6104
6088
|
return data[0].id;
|
|
6105
6089
|
}
|