fix(app): scope env variable/secret search per tab (#8491)

This commit is contained in:
Pooja
2026-07-07 15:05:29 +05:30
committed by GitHub
parent 6f8865e162
commit 4592d2c30e
7 changed files with 166 additions and 31 deletions

View File

@@ -118,6 +118,7 @@ export const buildCommonLocators = (page: Page) => ({
secretsTab: () => page.getByTestId('responsive-tab-secrets'),
saveTab: () => page.getByTestId('save-env'),
saveAll: () => page.getByTestId('save-all-env'),
searchInput: () => page.getByTestId('env-search-input'),
collectionEnvTab: () => page.locator('.request-tab').filter({ hasText: /^Environments$/ }),
globalEnvTab: () => page.locator('.request-tab').filter({ hasText: /^Global Environments$/ }),
unsavedModal: {