@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.js
CHANGED
|
@@ -6065,22 +6065,6 @@ class TestSuiteRunner {
|
|
|
6065
6065
|
throw new Error(`Failed to lookup test suite: ${response.status} ${errorText}`);
|
|
6066
6066
|
}
|
|
6067
6067
|
const data = await response.json();
|
|
6068
|
-
// TEMPORARY DEBUG: Output the full response
|
|
6069
|
-
console.log('🔍 DEBUG: API Response URL:', url);
|
|
6070
|
-
console.log('🔍 DEBUG: API Response Status:', response.status);
|
|
6071
|
-
console.log('🔍 DEBUG: API Response Data:', JSON.stringify(data, null, 2));
|
|
6072
|
-
console.log('🔍 DEBUG: Is Array?', Array.isArray(data));
|
|
6073
|
-
console.log('🔍 DEBUG: Array length:', Array.isArray(data) ? data.length : 'N/A');
|
|
6074
|
-
console.log('🔍 DEBUG: Has results?', !!data.results);
|
|
6075
|
-
console.log('🔍 DEBUG: Results is Array?', Array.isArray(data.results));
|
|
6076
|
-
console.log('🔍 DEBUG: Results length:', Array.isArray(data.results) ? data.results.length : 'N/A');
|
|
6077
|
-
if (Array.isArray(data) && data.length > 0) {
|
|
6078
|
-
console.log('🔍 DEBUG: First item:', JSON.stringify(data[0], null, 2));
|
|
6079
|
-
}
|
|
6080
|
-
if (data.results && Array.isArray(data.results) && data.results.length > 0) {
|
|
6081
|
-
console.log('🔍 DEBUG: First result:', JSON.stringify(data.results[0], null, 2));
|
|
6082
|
-
}
|
|
6083
|
-
console.log('');
|
|
6084
6068
|
if (Array.isArray(data) && data.length > 0) {
|
|
6085
6069
|
return data[0].id;
|
|
6086
6070
|
}
|