[PR #12] [MERGED] Vue unit test start #3442

Closed
opened 2026-03-14 07:20:19 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amidaware/tacticalrmm/pull/12
Author: @sadnub
Created: 5/7/2020
Status: Merged
Merged: 5/8/2020
Merged by: @wh1te909

Base: developHead: feature-policies-alerts


📝 Commits (1)

📊 Changes

12 files changed (+515 additions, -390 deletions)

View changed files

docker/docker-compose.test.yml (+11 -0)
📝 docker/readme.md (+15 -1)
📝 web/jest.config.js (+4 -1)
📝 web/src/components/FileBar.vue (+8 -6)
📝 web/src/components/automation/AutomationManager.vue (+120 -116)
web/src/components/automation/modals/AddPolicy.vue (+0 -192)
📝 web/src/components/automation/modals/PolicyForm.vue (+66 -55)
web/src/mixins/dropdown_formatter.js (+28 -0)
📝 web/src/store/automation.js (+16 -2)
📝 web/src/store/store.js (+10 -5)
📝 web/tests/unit/automation/automationmanager.spec.js (+152 -12)
web/tests/unit/automation/automationmodals.spec.js (+85 -0)

📄 Description

Here is a good start to the vue unit testing. I was having a ton of issues testing the quasar components. I have everything ironed out for the Automation Manager window and will continue to add more tests.

I restructured the q-dialog for the automation manager and moved all api actions to the vuex store. This greatly simplified writing tests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amidaware/tacticalrmm/pull/12 **Author:** [@sadnub](https://github.com/sadnub) **Created:** 5/7/2020 **Status:** ✅ Merged **Merged:** 5/8/2020 **Merged by:** [@wh1te909](https://github.com/wh1te909) **Base:** `develop` ← **Head:** `feature-policies-alerts` --- ### 📝 Commits (1) - [`f3cf543`](https://github.com/amidaware/tacticalrmm/commit/f3cf543d7cfe6014c973900946836db999d3d240) Vue unit test start ### 📊 Changes **12 files changed** (+515 additions, -390 deletions) <details> <summary>View changed files</summary> ➕ `docker/docker-compose.test.yml` (+11 -0) 📝 `docker/readme.md` (+15 -1) 📝 `web/jest.config.js` (+4 -1) 📝 `web/src/components/FileBar.vue` (+8 -6) 📝 `web/src/components/automation/AutomationManager.vue` (+120 -116) ➖ `web/src/components/automation/modals/AddPolicy.vue` (+0 -192) 📝 `web/src/components/automation/modals/PolicyForm.vue` (+66 -55) ➕ `web/src/mixins/dropdown_formatter.js` (+28 -0) 📝 `web/src/store/automation.js` (+16 -2) 📝 `web/src/store/store.js` (+10 -5) 📝 `web/tests/unit/automation/automationmanager.spec.js` (+152 -12) ➕ `web/tests/unit/automation/automationmodals.spec.js` (+85 -0) </details> ### 📄 Description Here is a good start to the vue unit testing. I was having a ton of issues testing the quasar components. I have everything ironed out for the Automation Manager window and will continue to add more tests. I restructured the q-dialog for the automation manager and moved all api actions to the vuex store. This greatly simplified writing tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-14 07:20:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tacticalrmm#3442
No description provided.