diff options
Diffstat (limited to 'spec/frontend/admin/users')
3 files changed, 9 insertions, 4 deletions
diff --git a/spec/frontend/admin/users/components/associations/__snapshots__/associations_list_item_spec.js.snap b/spec/frontend/admin/users/components/associations/__snapshots__/associations_list_item_spec.js.snap index 4237685e45c..d8157c6ff20 100644 --- a/spec/frontend/admin/users/components/associations/__snapshots__/associations_list_item_spec.js.snap +++ b/spec/frontend/admin/users/components/associations/__snapshots__/associations_list_item_spec.js.snap @@ -1,3 +1,10 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`AssociationsListItem renders interpolated message in a \`li\` element 1`] = `"<li><strong>5</strong> groups</li>"`; +exports[`AssociationsListItem renders interpolated message in a \`li\` element 1`] = ` +<li> + <strong> + 5 + </strong> + groups +</li> +`; diff --git a/spec/frontend/admin/users/components/modals/__snapshots__/delete_user_modal_spec.js.snap b/spec/frontend/admin/users/components/modals/__snapshots__/delete_user_modal_spec.js.snap index 265569ac0e3..7f853f13363 100644 --- a/spec/frontend/admin/users/components/modals/__snapshots__/delete_user_modal_spec.js.snap +++ b/spec/frontend/admin/users/components/modals/__snapshots__/delete_user_modal_spec.js.snap @@ -10,13 +10,11 @@ exports[`Delete user modal renders modal with form included 1`] = ` type="hidden" value="delete" /> - <input name="authenticity_token" type="hidden" value="csrf" /> - <gl-form-input-stub autocomplete="off" autofocus="" diff --git a/spec/frontend/admin/users/components/user_actions_spec.js b/spec/frontend/admin/users/components/user_actions_spec.js index 69755c6142a..b44986ea7de 100644 --- a/spec/frontend/admin/users/components/user_actions_spec.js +++ b/spec/frontend/admin/users/components/user_actions_spec.js @@ -18,7 +18,7 @@ describe('AdminUserActions component', () => { const findUserActions = (id) => wrapper.findByTestId(`user-actions-${id}`); const findEditButton = (id = user.id) => findUserActions(id).find('[data-testid="edit"]'); const findActionsDropdown = (id = user.id) => - findUserActions(id).find('[data-testid="dropdown-toggle"]'); + findUserActions(id).find('[data-testid="user-actions-dropdown-toggle"]'); const findDisclosureGroup = () => wrapper.findComponent(GlDisclosureDropdownGroup); const initComponent = ({ actions = [], showButtonLabels } = {}) => { |