Skip to content

EDM-4520: Scroll enrolled Devices table before row interactions - #37

Open
dudyas6 wants to merge 1 commit into
flightctl:mainfrom
dudyas6:fix/enrolled-devices-table-scroll
Open

EDM-4520: Scroll enrolled Devices table before row interactions#37
dudyas6 wants to merge 1 commit into
flightctl:mainfrom
dudyas6:fix/enrolled-devices-table-scroll

Conversation

@dudyas6

@dudyas6 dudyas6 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Scroll the enrolled Devices table into view before row/link interactions when Devices pending approval pushes the list below the fold
  • Keep enrolledDeviceRowByAlias as a pure cy.contains query (long Online waits + polling)
  • Add table scroll at interaction entry points and inside enrolledDeviceLinkByAlias for name-link clicks

Context

Cypress failed on device.cy.js with expected <a> to be visible for test-device-edited — the link existed in DOM but the enrolled table was off-screen below pending approval (e.g. device6/test-apps).

Jira: https://redhat.atlassian.net/browse/EDM-5304

Test plan

  • Run device.cy.js on ACM profile with device6 pending approval visible above enrolled table
  • Confirm edit/out-of-date/decommission flows pass without visibility flake

When Devices pending approval is visible, the enrolled table sits below
the fold and row-only scrollIntoView is not enough. Scroll the enrolled
table once at interaction entry points; keep enrolledDeviceRowByAlias as
a pure query for long Online waits and polling.

Co-authored-by: Cursor <cursoragent@cursor.com>
@dudyas6
dudyas6 force-pushed the fix/enrolled-devices-table-scroll branch from d451aee to 3b4cf27 Compare August 27, 2026 08:43
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