mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
fix: response viewer not updating when focused (read-only editors) (#7218)
* fix: update cursor state handling in CodeEditor for read-only mode * tests: add response pane update test for re-sent requests * refactor: add data-testid attributes for improved testing in RequestBody and RequestBodyMode components; update locators and tests accordingly * test: verify response status code is 200 * test: enhance response pane update tests to verify body editor content after request re-sent * test: add data-testid for method selector and update locators for improved testability
This commit is contained in:
@@ -179,6 +179,7 @@ const HttpMethodSelector = ({ method = DEFAULT_METHOD, onMethodSelect, showCaret
|
||||
items={menuItems}
|
||||
placement="bottom-start"
|
||||
selectedItemId={selectedItemId}
|
||||
data-testid="method-selector"
|
||||
>
|
||||
<TriggerButton method={method} showCaret={showCaret} methodSpanRef={methodSpanRef} />
|
||||
</MenuDropdown>
|
||||
|
||||
Reference in New Issue
Block a user