remove verify emails from the dropdown (#16699)
This commit is contained in:
parent
3322b49e84
commit
92e59d76c4
2 changed files with 0 additions and 14 deletions
|
|
@ -10,13 +10,6 @@
|
|||
<% if @user.access_locked? %>
|
||||
<li><%= link_to "Unlock access", unlock_access_admin_user_path(@user), method: :patch, class: "c-link c-link--block" %></li>
|
||||
<% end %>
|
||||
<% unless @last_email_verification_date %>
|
||||
<li>
|
||||
<%= form_with url: verify_email_ownership_admin_user_path(@user), local: true do |f| %>
|
||||
<%= f.button "Verify email address", class: "c-btn w-100 align-left" %>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
<li><button type="button" class="c-btn w-100 align-left" data-modal-trigger data-modal-title="Export data" data-modal-size="small" data-modal-content-selector="#export-data">Export data</button></li>
|
||||
<li><button type="button" class="c-btn w-100 align-left" data-modal-trigger data-modal-title="Merge accounts" data-modal-size="small" data-modal-content-selector="#merge-accounts">Merge accounts</button></li>
|
||||
<% if @user.articles_count > 0 %>
|
||||
|
|
|
|||
|
|
@ -37,13 +37,6 @@ describe('Manage User Options', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it(`should verify a user's email address`, () => {
|
||||
openUserOptions(() => {
|
||||
cy.findByRole('button', { name: 'Verify email address' }).click();
|
||||
});
|
||||
verifyAndDismissUserUpdatedMessage('Verification email sent!');
|
||||
});
|
||||
|
||||
it(`should export a user's data to an admin`, () => {
|
||||
openUserOptions(() => {
|
||||
cy.findByRole('button', { name: 'Export data' }).click();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue