Răsfoiți Sursa

fix: fixing testing framework and removing old integration tests [PF-413] (#8727)

fix: fixing testing framework and removing old integration tests [PF-413] #8727
Jose Castelli 3 săptămâni în urmă
părinte
comite
f0a97dafc8

+ 5 - 0
.changeset/social-rockets-lead.md

@@ -0,0 +1,5 @@
+---
+"claude-dev": patch
+---
+
+fixing integration tests from testing framework

+ 3 - 12
.github/workflows/test.yml

@@ -187,20 +187,11 @@ jobs:
               if: steps.webview-cache.outputs.cache-hit != 'true'
               run: cd webview-ui && npm ci
 
-            - name: Setup Go
-              uses: actions/setup-go@v5
-              with:
-                  go-version: '1.24'
-                  cache-dependency-path: cli/go.sum
-
-            - name: Build CLI binaries
-              run: npm run compile-cli-all-platforms
-
             - name: Download ripgrep binaries
               run: npm run download-ripgrep
 
-            - name: Compile NPM package
-              run: npm run compile-standalone-npm
+            - name: Compile Standalone
+              run: npm run compile-standalone
 
             - name: Install testing platform dependencies
               if: steps.testing-platform-cache.outputs.cache-hit != 'true'
@@ -213,7 +204,7 @@ jobs:
               # This prevents the job from showing as failed and avoids distracting developers
               # until the integration tests are ready to be enforced.
               run: |
-                npm run test:tp-orchestrator -- tests/specs/ --count=1 --coverage || true
+                npm run test:tp-orchestrator -- tests/specs/ --count=1 --coverage
 
             - name: Save Coverage Reports
               uses: actions/upload-artifact@v4

+ 1 - 1
scripts/test-standalone-core-api-server.ts

@@ -105,7 +105,7 @@ async function main(): Promise<void> {
 	console.log("Extracting standalone.zip to extensions directory...")
 	try {
 		if (!fs.existsSync(extensionsDir)) {
-			execSync(`unzip -q "${standaloneZipPath}" -d "${extensionsDir}"`, { stdio: "inherit" })
+			execSync(`unzip -o -q "${standaloneZipPath}" -d "${extensionsDir}"`, { stdio: "inherit" })
 		}
 		console.log(`Successfully extracted standalone.zip to: ${extensionsDir}`)
 	} catch (error) {

Fișier diff suprimat deoarece este prea mare
+ 0 - 62
tests/specs/grpc_recorded_session__multi_roots__chat___partial___mention_completion_preserves_text.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 152
tests/specs/grpc_recorded_session__multi_roots__code_actions_and_editor_panel.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 62
tests/specs/grpc_recorded_session_chat_____mentions_preserve_following_text.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 146
tests/specs/grpc_recorded_session_chat___can_send_messages_and_switch_between_modes.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 62
tests/specs/grpc_recorded_session_chat___partial_slash_command_completion_preserves_text.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 62
tests/specs/grpc_recorded_session_chat___slash_commands_preserve_following_text.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 152
tests/specs/grpc_recorded_session_code_actions_and_editor_panel.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 124
tests/specs/grpc_recorded_session_multi_roots.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 123
tests/specs/grpc_recorded_session_single_root.json


Fișier diff suprimat deoarece este prea mare
+ 0 - 159
tests/specs/grpc_recorded_session_views___can_set_up_api_keys_and_navigate_to_settings_from_chat.json


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff