Skip to content

DeepSeek Svelte live adapter test fails after successful steer #340

Description

@abdulwahabone

Summary

bun run test:live-svelte-adapter-deepseek fails on latest main, but DeepSeek does apply the requested edit first.

The failure looks like the test expects the live bar to contain Go, while the current bar renders an icon-only submit button instead.

This probably used to be correct when the live feature had a visible Go button. The UI no longer shows one, so the assertion looks stale.

Repro

  1. Check out latest main.
  2. Install deps with bun install --frozen-lockfile.
  3. Run:
DEEPSEEK_API_KEY=<set> bun run test:live-svelte-adapter-deepseek

Observed

The first steer succeeds:

- <h1 class="hero-title">Offene Ausgaben</h1>
+ <h1 class="hero-title" data-impeccable-steer="e2e">Ausgaben</h1>

Then the test fails here:

tests/live-svelte-adapter-deepseek.test.mjs:458
AssertionError [ERR_ASSERTION]: false !== true

Captured live bar text:

article×Freeform▾×3

Expected

The test should pass after the successful steer, or it should look for the actual submit control instead of requiring visible Go text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions