Skip to content

Commit cd8eb55

Browse files
Disable ADK tests when running cloud agents
Signed-off-by: Luis Valdes <[email protected]>
1 parent 05aa779 commit cd8eb55

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-0
lines changed

typescript-sdk/apps/dojo/e2e/tests/adkMiddlewareTests/agenticChatPage.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import {
66
} from "../../test-isolation-helper";
77
import { AgenticChatPage } from "../../featurePages/AgenticChatPage";
88

9+
// Skip all tests in this file when CLOUD_AGENTS is set
10+
test.skip(!!process.env.CLOUD_AGENTS, 'Skipping ADK Middleware tests when CLOUD_AGENTS is set');
911

1012
test.describe("Agentic Chat Feature", () => {
1113
test("[ADK Middleware] Agentic Chat sends and receives a message", async ({

typescript-sdk/apps/dojo/e2e/tests/adkMiddlewareTests/humanInTheLoopPage.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { test, expect, waitForAIResponse, retryOnAIFailure } from "../../test-isolation-helper";
22
import { HumanInLoopPage } from "../../pages/adkMiddlewarePages/HumanInLoopPage";
33

4+
// Skip all tests in this file when CLOUD_AGENTS is set
5+
test.skip(!!process.env.CLOUD_AGENTS, 'Skipping ADK Middleware tests when CLOUD_AGENTS is set');
6+
47
test.describe("Human in the Loop Feature", () => {
58
test("[ADK Middleware] should interact with the chat and perform steps", async ({
69
page,

typescript-sdk/apps/dojo/e2e/tests/adkMiddlewareTests/predictiveStateUpdatePage.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import {
55
} from "../../test-isolation-helper";
66
import { PredictiveStateUpdatesPage } from "../../pages/adkMiddlewarePages/PredictiveStateUpdatesPage";
77

8+
// Skip all tests in this file when CLOUD_AGENTS is set
9+
test.skip(!!process.env.CLOUD_AGENTS, 'Skipping ADK Middleware tests when CLOUD_AGENTS is set');
10+
811
test.describe("Predictive State Updates Feature", () => {
912
test("[ADK Middleware] should interact with agent and approve asked changes", async ({
1013
page,

typescript-sdk/apps/dojo/e2e/tests/adkMiddlewareTests/sharedStatePage.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { test, expect } from "@playwright/test";
22
import { SharedStatePage } from "../../featurePages/SharedStatePage";
33

4+
// Skip all tests in this file when CLOUD_AGENTS is set
5+
test.skip(!!process.env.CLOUD_AGENTS, 'Skipping ADK Middleware tests when CLOUD_AGENTS is set');
6+
47
test.describe("Shared State Feature", () => {
58
test("[ADK Middleware] should interact with the chat to get a recipe on prompt", async ({
69
page,

typescript-sdk/apps/dojo/e2e/tests/adkMiddlewareTests/toolBasedGenUIPage.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import { test, expect } from "@playwright/test";
22
import { ToolBaseGenUIPage } from "../../featurePages/ToolBaseGenUIPage";
33

4+
// Skip all tests in this file when CLOUD_AGENTS is set
5+
test.skip(!!process.env.CLOUD_AGENTS, 'Skipping ADK Middleware tests when CLOUD_AGENTS is set');
6+
47
const pageURL = "/adk-middleware/feature/tool_based_generative_ui";
58

69
test.describe("Tool Based Generative UI Feature", () => {

0 commit comments

Comments
 (0)