Skip to content

Commit 268bf54

Browse files
committed
Update the selector for button
1 parent 77a7675 commit 268bf54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/e2e/constants.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ export const GRAFANA_SELECTORS = {
6060

6161
REFRESH_GRAPH_BUTTON: 'button[data-testid="data-testid RefreshPicker run button"]',
6262

63-
APPLY_CHANGES_AND_SAVE_BUTTON: 'button[title="Apply changes and save dashboard"]',
63+
APPLY_CHANGES_AND_SAVE_BUTTON: 'button[data-testid="data-testid Save dashboard button"]',
6464
SAVE_DASHBOARD_TITLE: 'input[aria-label="Save dashboard title field"]',
65-
SAVE_BUTTON: 'button[aria-label="Save dashboard button"]',
65+
SAVE_BUTTON: 'button[data-testid="data-testid Save dashboard drawer button"]',
6666
},
6767
};
6868

0 commit comments

Comments
 (0)