Parent testing issue: #1
Source defect report: https://github.com/eviltester/anywaydata-ai-testing/blob/main/docs/testing/20260625/issue-230-001/defects/ux-001-apply-does-not-restore-focus.md
Testing artifact folder: https://github.com/eviltester/anywaydata-ai-testing/tree/main/docs/testing/20260625/issue-230-001
Original grid-table-editor story: eviltester/grid-table-editor#230
Original grid-table-editor PR: eviltester/grid-table-editor#247
The detailed defect report from the testing artifact is copied below.
UX-001: Applying a method picker selection does not restore keyboard focus
Severity: Low to medium
Status: Defect candidate, repeatable in automated browser pass
Area: Method picker dialog, focus restoration, generator workflow
Evidence:
- Screenshot:
../screenshots/ux-regression-05-method-picker-search-httpmethod.png
- State data:
../support/ux-regression-flow-results.json, labels selected-httpmethod-before-apply and after-apply-httpmethod
Steps:
- Open
https://eviltester.github.io/grid-table-editor/generator.html.
- Change the schema row type to
domain.
- Click
Select domain command.
- Search for
internet.httpMethod.
- Select
internet.httpMethod.
- Click
Apply.
Observed:
The dialog closes and the row updates to internet.httpMethod, but focus moves to the document body. The captured state after apply was activeTag: "BODY" and focusOnPickerButton: false.
Expected:
After a modal apply action, focus should return to the invoking internet.httpMethod command picker button, matching the behavior observed for Escape, Cancel, and backdrop close.
Why this matters:
Keyboard users lose their position after applying a method and must rediscover where focus is. This is especially noticeable because the adjacent Cancel, Escape, and backdrop close paths do restore focus correctly.
Parent testing issue: #1
Source defect report: https://github.com/eviltester/anywaydata-ai-testing/blob/main/docs/testing/20260625/issue-230-001/defects/ux-001-apply-does-not-restore-focus.md
Testing artifact folder: https://github.com/eviltester/anywaydata-ai-testing/tree/main/docs/testing/20260625/issue-230-001
Original grid-table-editor story: eviltester/grid-table-editor#230
Original grid-table-editor PR: eviltester/grid-table-editor#247
The detailed defect report from the testing artifact is copied below.
UX-001: Applying a method picker selection does not restore keyboard focus
Severity: Low to medium
Status: Defect candidate, repeatable in automated browser pass
Area: Method picker dialog, focus restoration, generator workflow
Evidence:
../screenshots/ux-regression-05-method-picker-search-httpmethod.png../support/ux-regression-flow-results.json, labelsselected-httpmethod-before-applyandafter-apply-httpmethodSteps:
https://eviltester.github.io/grid-table-editor/generator.html.domain.Select domain command.internet.httpMethod.internet.httpMethod.Apply.Observed:
The dialog closes and the row updates to
internet.httpMethod, but focus moves to the document body. The captured state after apply wasactiveTag: "BODY"andfocusOnPickerButton: false.Expected:
After a modal apply action, focus should return to the invoking
internet.httpMethodcommand picker button, matching the behavior observed for Escape, Cancel, and backdrop close.Why this matters:
Keyboard users lose their position after applying a method and must rediscover where focus is. This is especially noticeable because the adjacent Cancel, Escape, and backdrop close paths do restore focus correctly.