mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
fix: keepAlive's fallback adds problem while saving normal requests (#5741)
* fix: only get the values if the settings exist * Apply suggestion from @Copilot * refactor: move status line to the query bar --------- Co-authored-by: Bijin A B <bijin@usebruno.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
6890bbee70
commit
c6ce40c245
@@ -1,10 +1,14 @@
|
||||
import { Page } from '../../../playwright';
|
||||
|
||||
export const buildWebsocketCommonLocators = (page: Page) => ({
|
||||
export const buildCommonLocators = (page: Page) => ({
|
||||
runner: () => page.getByTestId('run-button'),
|
||||
saveButton: () => page
|
||||
.locator('.infotip')
|
||||
.filter({ hasText: /^Save/ }),
|
||||
.filter({ hasText: /^Save/ })
|
||||
});
|
||||
|
||||
export const buildWebsocketCommonLocators = (page: Page) => ({
|
||||
...buildCommonLocators(page),
|
||||
connectionControls: {
|
||||
connect: () =>
|
||||
page
|
||||
|
||||
Reference in New Issue
Block a user