From 994044d16503a8e41aa2065d1376c7bbad11cbaf Mon Sep 17 00:00:00 2001 From: Basit Chonka Date: Mon, 4 Nov 2024 12:10:29 +0100 Subject: [PATCH] sensable selector --- packages/compass-e2e-tests/helpers/selectors.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/compass-e2e-tests/helpers/selectors.ts b/packages/compass-e2e-tests/helpers/selectors.ts index f9d323bbd43..8e8b9bfcfdb 100644 --- a/packages/compass-e2e-tests/helpers/selectors.ts +++ b/packages/compass-e2e-tests/helpers/selectors.ts @@ -1402,7 +1402,8 @@ export const ProxyCustomButton = export const ConfirmTabCloseModal = '[data-testid="confirm-tab-close"]'; export const GlobalWrites = { - tabStatus: (status: string) => `[data-status="${status.toLowerCase()}"]`, + tabStatus: (status: string) => + `[data-testid="globalwrites-content"] > [data-status="${status.toLowerCase()}"]`, ShardKeyFormSecondKeyInputCombobox: '[data-testid="second-shard-key"] [role="combobox"] input',