mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 23:15:57 +03:00
[PR #12] [MERGED] Vue unit test start #3442
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#3442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
develop← Head:feature-policies-alerts📝 Commits (1)
f3cf543Vue unit test start📊 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.