Skip to content

Let the late-component test follow the frontend under its second name - #13

Merged
oblomov-dev merged 1 commit into
mainfrom
claude/beautiful-turing-wxr303-component-name
Oct 11, 2026
Merged

oblomov-dev merged 1 commit into
mainfrom
claude/beautiful-turing-wxr303-component-name

Conversation

@oblomov-dev

Copy link
Copy Markdown
Member

What changes

test/e2e/freestyle.spec.mjs, "a component still being created is destroyed": the test intercepts Component.create for the frontend under either name - z2ui5, or z2ui5.embed.frontend, the second name the bundle of abap2UI5 main gives it (componentName of z2ui5/embed).

Why

The control of embed-control's main (abap2UI5/embed-control#25) creates the frontend under componentName whenever the bundle names one. The test only intercepted a create for "z2ui5", never saw the start, and ran into its 60 s timeout - four failures (ui5-1.136 and ui5-1.71, both variants) that turned the samples (abap2UI5 main) job of embed-control's CI red on main since #25 (run 38077811145) and on every embed-control pull request. With the published control 0.1.1 the name is still z2ui5, so the test passes with both, as AGENTS.md ("Tested from two sides") asks.

The component's metadata name stays z2ui5.Component under both names (the bundle registers the same Component.js twice), so the rest of the test is unchanged.

Independent of the dependency update in #12; either can be merged first.

Note: the e2e jobs of this repository are red on main independently of this change - the freestyle tests for restart(), the invisible control, endpoint spellings, the failed-load fallback and the params handling need the unreleased control (embed-control's "Unreleased" changelog section) and fail with the published 0.1.1. They turn green with the release of the control and its bump here.

Checked

npm run lint, npm run format:check; with abap2UI5 main on :3000 and the control of embed-control's main in node_modules/@abap2ui5/embed-control: npx playwright test --project ui5-1.136 --project ui5-1.71 -g "still being created" - 4 passed (all four failed before).

🤖 Generated with Claude Code

https://claude.ai/code/session_01Te3BRpRpxNhZAYnrQL6Gdt


Generated by Claude Code

The control of embed-control's main creates the frontend under the name
the bundle's z2ui5/embed module gives (componentName,
z2ui5.embed.frontend on abap2UI5 main) - the test only intercepted a
Component.create for "z2ui5", never saw the start and ran into its
timeout, which turned embed-control's CI red on main. It intercepts both
names now, so it passes with the published control and with the one of
embed-control's main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Te3BRpRpxNhZAYnrQL6Gdt
@oblomov-dev
oblomov-dev merged commit 6828432 into main Oct 11, 2026
2 of 4 checks passed
@oblomov-dev
oblomov-dev deleted the claude/beautiful-turing-wxr303-component-name branch October 11, 2026 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants