Skip to content

Commit f701169

Browse files
Removed StudioBannertests
1 parent b2e8476 commit f701169

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

contentcuration/contentcuration/frontend/administration/pages/Users/__tests__/emailUsersDialog.spec.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -219,19 +219,6 @@ describe('emailUsersDialog', () => {
219219
expect(wrapper.vm.showInvalidText).toBe(true);
220220
});
221221

222-
it('should show StudioBanner when there are validation errors', async () => {
223-
await wrapper.setData({
224-
subject: '',
225-
message: '',
226-
showInvalidText: true,
227-
});
228-
wrapper.vm.errors = { subject: true, message: true };
229-
await wrapper.vm.$nextTick();
230-
231-
const banner = wrapper.findComponent({ name: 'StudioBanner' });
232-
expect(banner.exists()).toBe(true);
233-
});
234-
235222
it('should close warning modal when cancel is clicked', async () => {
236223
wrapper.vm.showWarning = true;
237224
await wrapper.vm.$nextTick();

0 commit comments

Comments
 (0)