Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix: restore data-testid="chat-interface" removed by #340 (#437)

Rohit Malhotra4ed58e237976
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 899adc186c..7e2fac854d 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -20,14 +20,8 @@ permissions:
jobs:
test-and-build:
- name: Test and build (${{ matrix.os }})
- runs-on: ${{ matrix.os }}
+ runs-on: ubuntu-24.04
timeout-minutes: 20
- strategy:
- fail-fast: false
- matrix:
- os:
- - ubuntu-24.04
steps:
- name: Check out repository
diff --git a/src/components/features/chat/chat-interface.tsx b/src/components/features/chat/chat-interface.tsx
index 33e2d63b08..97ddbf87e3 100644
--- a/src/components/features/chat/chat-interface.tsx
+++ b/src/components/features/chat/chat-interface.tsx
@@ -384,7 +384,10 @@ export function ChatInterface() {
return (
<ScrollProvider value={scrollProviderValue}>
- <div className="h-full flex flex-col justify-between pl-0 md:pl-4 pr-0 md:pr-4 relative">
+ <div
+ className="h-full flex flex-col justify-between pl-0 md:pl-4 pr-0 md:pr-4 relative"
+ data-testid="chat-interface"
+ >
{!hasSubstantiveAgentActions &&
!hasPendingUserMessages &&
!userEventsExist &&
diff --git a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-collapsed.png b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-collapsed.png
index ba1f6be6ae..84a5531d6e 100644
Binary files a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-collapsed.png and b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-collapsed.png differ
diff --git a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-expanded.png b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-expanded.png
index c847cbe5ad..d4523d3ff8 100644
Binary files a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-expanded.png and b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/reasoning-content-expanded.png differ
diff --git a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-collapsed.png b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-collapsed.png
index bedad3fb8f..a8d386f68b 100644
Binary files a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-collapsed.png and b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-collapsed.png differ
diff --git a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-expanded.png b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-expanded.png
index 17ef873d7e..d6cc0f408f 100644
Binary files a/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-expanded.png and b/tests/e2e/__snapshots__/snapshots/collapsible-thinking.snapshot.spec.ts/chromium/think-action-expanded.png differ
diff --git a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/analytics-consent-modal.png b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/analytics-consent-modal.png
index 6a13343566..97a6515bd9 100644
Binary files a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/analytics-consent-modal.png and b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/analytics-consent-modal.png differ
diff --git a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/home-screen.png b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/home-screen.png
index 4811de5a5e..4c90210c32 100644
Binary files a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/home-screen.png and b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/home-screen.png differ
diff --git a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-app-page.png b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-app-page.png
index 43f0f8f94a..6e8afa0ef8 100644
Binary files a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-app-page.png and b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-app-page.png differ
diff --git a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-page.png b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-page.png
index 9be1a9f02b..99be25f2f4 100644
Binary files a/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-page.png and b/tests/e2e/__snapshots__/snapshots/settings-page.snapshot.spec.ts/chromium/settings-page.png differ