Use build in DashboardEnvironmentsProjectEntity spec
What does this MR do and why?
Describe in detail what your merge request does and why.
Use build
DashboardEnvironmentsProjectEntity spec
Before
Finished in 10.26 seconds (files took 7.71 seconds to load)
1 example, 0 failures
[TEST PROF INFO] Time spent in factories: 00:03.003 (27.58% of total time)
[TEST PROF INFO] Factories usage
Total: 7
Total top-level: 4
Total time: 00:03.003 (out of 00:14.922)
Total uniq factories: 5
total top-level total time time per call top-level time name
2 1 2.7221s 1.3611s 0.5015s project
2 0 0.1308s 0.0654s 0.0000s namespace
1 1 0.0064s 0.0064s 0.0064s license
1 1 0.2554s 0.2554s 0.2554s user
1 1 2.2407s 2.2407s 2.2407s environment
After
Finished in 8.32 seconds (files took 12.55 seconds to load)
1 example, 0 failures
[TEST PROF INFO] Time spent in factories: 00:00.006 (0.07% of total time)
[TEST PROF INFO] Factories usage
Total: 1
Total top-level: 1
Total time: 00:00.006 (out of 00:13.899)
Total uniq factories: 1
total top-level total time time per call top-level time name
1 1 0.0061s 0.0061s 0.0061s license
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.