Skip to content

Add test helpers to augment Publication Menu integration tests when GUI window not active - #9448

Open
michaelchadwick wants to merge 5 commits into
ilios:masterfrom
michaelchadwick:frontend-7043-pub-menu-dropdown-unfocus-test-fix
Open

Add test helpers to augment Publication Menu integration tests when GUI window not active#9448
michaelchadwick wants to merge 5 commits into
ilios:masterfrom
michaelchadwick:frontend-7043-pub-menu-dropdown-unfocus-test-fix

Conversation

@michaelchadwick

Copy link
Copy Markdown
Contributor

Fixes ilios/ilios#7043

Needed Claude to finally figure out how to fix this annoying issue (at least to me) when running Course/Session Publication Menu integration GUI tests. If the window/tab is not active, then navigating the dropdown menu and getting the correctly focused text does not work. These new test helpers are smarter about it and work even when the window is not active.

@netlify

netlify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploy Preview for ilios-frontend ready!

Name Link
🔨 Latest commit 5fa773e
🔍 Latest deploy log https://app.netlify.com/projects/ilios-frontend/deploys/6a763e3086f2130008271acc
😎 Deploy Preview https://deploy-preview-9448--ilios-frontend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@michaelchadwick
michaelchadwick marked this pull request as draft August 4, 2026 15:44
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

✅ Visual Diff Report — PASSED

984 images compared: 984 identical

Download the results.

@michaelchadwick

Copy link
Copy Markdown
Contributor Author

NTS: Fix newly-broken tests, and also make sure the tests don't always pass (when code is written that should break them).

@michaelchadwick
michaelchadwick force-pushed the frontend-7043-pub-menu-dropdown-unfocus-test-fix branch from 0e0682b to ddeb20f Compare August 4, 2026 22:39
@michaelchadwick
michaelchadwick force-pushed the frontend-7043-pub-menu-dropdown-unfocus-test-fix branch from ddeb20f to 5726e5c Compare August 7, 2026 20:08
@michaelchadwick
michaelchadwick force-pushed the frontend-7043-pub-menu-dropdown-unfocus-test-fix branch from 5726e5c to 5fa773e Compare August 7, 2026 20:21
@michaelchadwick
michaelchadwick marked this pull request as ready for review August 7, 2026 20:21
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.

Publication Menu frontend browser tests fail if testing window not focused

1 participant