Skip to content

fix(test): scope IP Address locators to active tab in multi-adapter tests#119

Merged
JanZachmann merged 1 commit intoomnect:mainfrom
JanZachmann:fix/clippy-ci
Apr 8, 2026
Merged

fix(test): scope IP Address locators to active tab in multi-adapter tests#119
JanZachmann merged 1 commit intoomnect:mainfrom
JanZachmann:fix/clippy-ci

Conversation

@JanZachmann
Copy link
Copy Markdown
Contributor

@JanZachmann JanZachmann commented Apr 8, 2026

Summary

  • Scoped all page.getByRole('textbox', { name: /IP Address/i }).first() locators to .v-window-item--active in multi-adapter e2e tests
  • Without scoping, .first() resolved to the hidden eth0 input when wlan0/eth1 was the active tab, causing fill() to fail with "element is not visible"

…ests

Unscoped `page.getByRole('textbox', { name: /IP Address/i }).first()`
resolved to hidden eth0 input when wlan0/eth1 was the active tab,
causing fill() to fail with "element is not visible".

Scope all IP Address locators to `.v-window-item--active` to match
the correct input regardless of which tab is active.

Signed-off-by: Jan Zachmann <50990105+JanZachmann@users.noreply.github.com>
@JanZachmann JanZachmann merged commit 84d69bc into omnect:main Apr 8, 2026
2 checks passed
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.

1 participant