tacticalrmm/web/tests/unit/automation/automationmanager.spec.js

43 lines
846 B
JavaScript

import { shallowMount } from '@vue/test-utils'
import AutomationManager from '@/components/automation/AutomationManager'
describe('AutomationManager.vue', () => {
it('calls vuex getPolicies action on mount', () => {
});
it('lists data in table', () => {
})
it('sends vuex setSelectedPolicy mutations and loadPolicyChecks and loadPolicyAutomatedTasks actions when policy is selected', () => {
});
it('send vuex TOGGLE_AUTOMATION_MANAGER mutation on close', () => {
});
it('shows edit policy modal on button press', () => {
});
it('shows add policy on button press and clear policy selected row', () => {
});
it('deletes selected policy', () => {
});
it('shows overview modal when button clicked', () => {
});
it('calls vuex getPolicies action when refresh button clicked', () => {
});
});