Replace Rose::Button with Hds::Button (#2771)
* refactor btn * refactor scope/workers/index.hbs * refactor add-members, add-principals * refactor btns, fix tests * update json-secret-skeleton btn * remove class from app.scss
This commit is contained in:
1 parent
5786b86521
commit
36db2d3f1d
11 files changed
+61
-70
No files matched your search
@@ -50,7 +50,7 @@ export const FIELD_NEW_GRANT_ADD_BTN = 'form:nth-child(1) [type="submit"]';
|
||||
export const FIELD_GRANT = 'form:nth-child(2) [name="grant"]';
|
||||
export const FIELD_GRANT_VALUE = 'ids=123,action=delete';
|
||||
export const FIELD_GRANT_REMOVE_BTN =
|
||||
'form:nth-child(2) button[title="Remove"]';
|
||||
'form:nth-child(2) button[type="button"]';
|
||||
export const GRANTS_FORM = 'form:nth-child(2)';
|
||||
// We need to use a different selector for the grants form because the
|
||||
// grants form has multiple submit buttons
|
||||
|
||||
@@ -21,7 +21,6 @@ module(
|
||||
{{this.value}}
|
||||
</Form::Field::JsonSecret::Skeleton>
|
||||
`);
|
||||
|
||||
assert.dom('.secret-editor-skeleton-wrapper').isVisible();
|
||||
assert.dom('.secret-editor-skeleton-message').hasText('Skeleton Message');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user