Skip to content

Commit

Permalink
add secretTab and checkboxByAttr to general selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
hashishaw committed Apr 3, 2024
1 parent 059eac7 commit 8e1063a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ui/tests/helpers/general-selectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ export const GENERAL = {
headerContainer: 'header.page-header',
icon: (name) => `[data-test-icon="${name}"]`,
tab: (name) => `[data-test-tab="${name}"]`,
secretTab: (name) => `[data-test-secret-list-tab="${name}"]`,

filter: (name) => `[data-test-filter="${name}"]`,
filterInput: '[data-test-filter-input]',
confirmModalInput: '[data-test-confirmation-modal-input]',
Expand All @@ -29,6 +31,7 @@ export const GENERAL = {
infoRowValue: (label) => `[data-test-value-div="${label}"]`,
inputByAttr: (attr) => `[data-test-input="${attr}"]`,
selectByAttr: (attr) => `[data-test-select="${attr}"]`,
checkboxByAttr: (attr) => `[data-test-checkbox="${attr}"]`,
fieldByAttr: (attr) => `[data-test-field="${attr}"]`,
enableField: (attr) => `[data-test-enable-field="${attr}"] button`,
ttl: {
Expand Down

0 comments on commit 8e1063a

Please sign in to comment.