-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ICU-15838] Add vault credential store worker filter tests (#2595)
* add data test elements * add subtests to update-test.js * add subtext to check for .hasText() * add subtest when worker filter exists * update subtest name * remove console.log * clean up * add new selectors
- Loading branch information
1 parent
e5f741f
commit 28e55ba
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Copyright (c) HashiCorp, Inc. | ||
* SPDX-License-Identifier: BUSL-1.1 | ||
*/ | ||
|
||
// Manage actions dropdown selectors | ||
export const MANAGE_DROPDOWN = | ||
'[data-test-manage-credential-stores-dropdown] button:first-child'; | ||
export const EDIT_ACTION = | ||
'[data-test-manage-credential-stores-dropdown] ul li:nth-child(2) a'; | ||
|
||
export const CODE_EDITOR_BODY = '[data-test-code-editor-field-editor] textarea'; | ||
export const CODE_BLOCK_BODY = '.hds-code-block__code'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters