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:
Siddharth Gelera (reaper)
2025-10-08 17:06:24 +05:30
committed by GitHub
parent 6890bbee70
commit c6ce40c245
5 changed files with 93 additions and 17 deletions

View File

@@ -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