Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/ci test issue #696

Merged
merged 6 commits into from
Dec 28, 2023
Merged

Fix/ci test issue #696

merged 6 commits into from
Dec 28, 2023

Conversation

fterra-encora
Copy link
Collaborator

@fterra-encora fterra-encora commented Dec 28, 2023

Description

Please provide a summary of the change and the issue fixed. Please include relevant context. List dependency changes.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • New unit tests
  • New integrated tests
  • New component tests
  • New end-to-end tests
  • New user flow tests
  • No new tests are required
  • Manual tests (description below)

Checklist

  • I have read the CONTRIBUTING doc
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have already been accepted and merged

Further comments


Thanks for the PR!

Any successful deployments (not always required) will be available below.
Backend available
Frontend available
Legacy available

Once merged, code will be promoted and handed off to following workflow run.
Main Merge Workflow

Copy link
Contributor

Current changelog

Bug Fixes

  • deps: update dependency date-fns to v3 (#693) (faa7b88)

Copy link
Contributor

Overall Project NaN% NaN% 🍏

There is no coverage information present for the Files changed

Copy link

sonarcloud bot commented Dec 28, 2023

Quality Gate Passed Quality Gate passed for 'forest-client-frontend'

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

Frontend unit Test Coverage

Coverage after merging fix/ci-test-issue into main will be
56.08%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   App.vue48.39%50%0%68.42%108, 36, 39–40, 44, 52–53, 62
   directivesMap.ts100%100%100%100%
src/components
   DataFetcher.vue85%60%83.33%95.83%33–35, 50, 55
   MainHeaderComponent.vue79.69%76.56%58.33%88.46%100, 107, 111, 122, 124, 134, 136, 147, 173, 176, 185, 201, 217, 217, 217, 230, 249, 41, 50–51, 55
   UserProfileComponent.vue80%33.33%100%85.71%17, 17, 19, 23
src/components/forms
   AutoCompleteInputComponent.vue75.37%58.14%80.95%84.29%111–112, 128, 133–134, 179, 208, 47, 60, 62, 62, 62, 62, 62–64, 66, 66, 66–68, 78, 81, 81, 81, 81, 81, 83, 85
   DropdownInputComponent.vue90.10%87.10%83.33%94.23%111, 136, 67, 81, 81, 81–82
   MultiselectInputComponent.vue92.55%91.67%85.71%95.92%100, 109, 80, 89
   RadioInputComponent.vue87.50%85.71%75%93.33%39, 44, 80, 89
   ReadOnlyComponent.vue66.67%100%100%66.67%2
   TextInputComponent.vue86.49%77.27%84.62%92.31%122, 130, 148, 55, 84, 89–90, 98
src/components/forms/DateInputComponent
   DateInputPart.vue91.30%75%100%100%46, 50
   common.ts100%100%100%100%
   index.vue81.32%75.28%75%86.18%137, 172–174, 182–185, 185, 185–186, 213, 215, 218–219, 225, 269–270, 280–281, 296–298, 300–301, 311–312, 316, 319–320, 330–333, 340, 352, 381, 384, 450, 460, 467, 473, 479
src/components/grouping
   AddressGroupComponent.vue1.22%0%0%2.73%104–105, 107, 107, 107, 111–112, 114–115, 115, 115, 115, 117, 124, 131, 140–141, 141, 141, 141, 143, 145, 147, 151, 153–154, 154, 154–155, 155, 155, 155, 157, 159, 161, 164, 168–169, 169, 169, 169, 171, 173, 175, 179–180, 180, 180, 183, 185–186, 186–187, 187, 189, 19, 192, 194–196, 196, 196, 196, 196–198, 206, 208–209, 212, 214, 219–220, 220, 220–225, 225, 225–227, 230, 234–235, 235, 235–236, 248, 248, 248, 255, 255, 255–256, 256, 256–257, 257, 261, 261, 261, 273, 273, 273–274, 274, 28, 280, 280, 280, 282, 282, 282–283, 283, 283, 285, 285, 293, 293, 293, 301, 301, 301–302, 302, 302, 306, 306, 306, 323, 323, 323–324, 324, 324, 338, 338, 338, 34, 340, 340, 340, 35, 351, 351, 351, 354, 354, 354–355, 355, 355, 359, 359, 361, 361, 361, 37, 40, 42, 42, 42, 46, 46, 46, 49–51, 53–54, 57, 61–63, 66–68, 72, 76, 76, 76, 76, 76, 76–77, 82, 84, 87–88, 88, 88, 88, 88–89, 92, 95
   ContactGroupComponent.vue68.35%85.45%42.42%67.14%103, 103, 103–104, 114–115, 138, 163, 172, 179, 188, 195, 203, 212, 220, 234, 240, 245, 251, 275, 42, 55–56, 83, 83, 83–84, 90, 90, 90–91
   ErrorNotificationGroupingComponent.vue77.14%64.52%66.67%90.91%110, 117, 117, 117, 121, 129, 129, 138, 150, 58, 63, 81, 90, 98
src/composables
   useElementVisibility.ts96.55%87.50%100%100%6
   useFetch.ts87.69%68.42%100%95.12%117, 121, 130, 17, 51, 62, 66, 88
   useFocus.ts23.29%4.55%33.33%30.77%106, 112, 112, 112, 112, 112–113, 116, 120–122, 122, 122–123, 125, 134, 137, 140, 34, 34, 34–36, 36, 36–38, 40, 50, 55–56, 56, 56, 59, 59, 59, 61–63, 69, 69, 69, 72–73, 76, 91, 91, 91
   useScreenSize.ts100%100%100%100%
   useSvg.ts100%100%100%100%
src/helpers
   CustomDirectives.ts21.43%13.04%50%22.22%10, 17–18, 18, 18–19, 19, 19–21, 21, 21–22, 24, 27, 27, 27–28, 35–36, 36, 36–37, 43–45, 45,

Copy link
Contributor

Frontend component Test Coverage

Coverage after merging fix/ci-test-issue into main will be
89.01%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   App.vue100%100%100%100%
   CoreConstants.ts100%100%100%100%
   directivesMap.ts100%100%100%100%
   main.ts100%100%100%100%
   routes.ts100%100%100%100%
   shims-vue.d.ts100%100%100%100%
src/components
   DataFetcher.vue97.14%80%100%100%33
   MainHeaderComponent.vue100%100%100%100%
   UserProfileComponent.vue100%100%100%100%
src/components/forms
   AutoCompleteInputComponent.vue92.19%89.19%85.71%95.71%179, 208, 41, 47, 68, 81, 83
   DropdownInputComponent.vue91.67%92.31%83.33%94.23%111, 136, 81, 81–82
   MultiselectInputComponent.vue92.31%90.48%85.71%95.92%100, 109, 47, 89
   RadioInputComponent.vue100%100%100%100%
   ReadOnlyComponent.vue100%100%100%100%
   TextInputComponent.vue90.14%84.21%84.62%94.87%122, 130, 148, 55, 98
src/components/forms/DateInputComponent
   DateInputPart.vue100%100%100%100%
   common.ts100%100%100%100%
   index.vue100%100%100%100%
src/components/grouping
   AddressGroupComponent.vue89.67%89.89%90.70%89.09%115, 131, 141, 147, 154–155, 155, 155, 155, 157, 159, 161, 169, 175, 186, 208–209, 225, 261, 306, 361
   ContactGroupComponent.vue91.61%96.15%87.88%90%103, 103–104, 234, 240, 262, 275, 84, 91
   ErrorNotificationGroupingComponent.vue100%100%100%100%
src/composables
   useElementVisibility.ts100%100%100%100%
   useFetch.ts100%100%100%100%
   useFocus.ts100%100%100%100%
   useScreenSize.ts100%100%100%100%
   useSvg.ts100%100%100%100%
src/dto
   ApplyClientNumberDto.ts100%100%100%100%
   CommonTypesDto.ts100%100%100%100%
src/helpers
   CustomDirectives.ts100%100%100%100%
   DataConversors.ts100%100%100%100%
   ForestClientUserSession.ts100%100%100%100%
src/helpers/validators
   BCeIDFormValidations.ts100%100%100%100%
   GlobalValidators.ts100%100%100%100%
   SubmissionValidators.ts100%100%100%100%
src/pages
   ErrorPage.vue100%100%100%100%
   FormBCSCPage.vue100%100%100%100%
   FormBCeIDPage.vue100%100%100%100%
   FormSubmittedPage.vue100%100%100%100%
   LandingPage.vue100%100%100%100%
   NotFoundPage.vue100%100%100%100%
   SubmissionListPage.vue100%100%100%100%
   SubmissionReviewPage.vue100%100%100%100%
   UserLoadingPage.vue100%100%100%100%
src/pages/bceidform
   AddressWizardStep.vue100%100%100%100%
   BusinessInformationWizardStep.vue100%100%100%100%
   ContactWizardStep.vue59.05%65.22%47.83%61.02%118, 118, 118, 123, 143, 150, 171, 173, 40, 40–41, 41, 41, 43–45, 48, 54–55, 64, 72–73, 76, 76–78, 80, 84–87
   ReviewWizardStep.vue100%100%100%100%
src/services
   ForestClientService.ts100%100%100%100%

Copy link
Contributor

Frontend e2e Test Coverage

Coverage after merging fix/ci-test-issue into main will be
75.37%
Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   App.vue83.87%75%50%100%62
   CoreConstants.ts100%100%100%100%
   directivesMap.ts100%100%100%100%
   main.ts100%100%100%100%
   routes.ts100%100%100%100%
   shims-vue.d.ts100%100%100%100%
src/components
   DataFetcher.vue97.14%80%100%100%33
   MainHeaderComponent.vue47.58%50%8.33%53.85%100, 107, 122, 134, 141, 150, 173, 173–174, 174–175, 175–176, 176, 185, 185, 185, 197, 197, 197, 201, 217, 217, 217, 230, 249, 41, 41–42, 50, 50, 50, 50–51, 53–55, 55–56, 56, 56–57, 59, 66–67, 70–72, 81, 87, 87, 87–88, 90
   UserProfileComponent.vue30%0%0%42.86%11–12, 15, 17, 17, 17, 17, 19, 21, 23, 4
src/components/forms
   AutoCompleteInputComponent.vue92.97%91.89%85.71%95.71%179, 208, 47, 68, 81, 83
   DropdownInputComponent.vue96.88%96.15%94.44%98.08%111, 136
   MultiselectInputComponent.vue92.31%90.48%85.71%95.92%100, 109, 47, 89
   RadioInputComponent.vue88.89%75%83.33%96.67%39, 49, 80, 91
   ReadOnlyComponent.vue66.67%100%100%66.67%2
   TextInputComponent.vue92.96%84.21%92.31%97.44%122, 130, 148, 55
src/components/forms/DateInputComponent
   DateInputPart.vue91.30%75%100%100%46, 50
   common.ts100%100%100%100%
   index.vue83.86%74.29%93.75%86.18%108, 117, 120, 122, 137, 149, 203, 218, 225, 269–270, 280–281, 296–298, 300–301, 311–312, 316, 330–333, 340–342, 344–345, 347–348, 350, 352, 352–353, 467, 473, 479
src/components/grouping
   AddressGroupComponent.vue89.67%89.89%90.70%89.09%115, 131, 141, 147, 154–155, 155, 155, 155, 157, 159, 161, 169, 175, 186, 208–209, 225, 261, 306, 361
   ContactGroupComponent.vue97.42%100%96.97%95.71%275, 84, 91
   ErrorNotificationGroupingComponent.vue40.91%14.81%66.67%57.58%110, 110, 117, 117, 117, 121, 121, 129, 129, 138, 138, 150, 150, 163, 30–31, 31, 34, 58–59, 59, 63, 63–64, 64, 64, 66–67, 67, 69, 73–74, 74, 76, 90, 98, 98
src/composables
   useElementVisibility.ts100%100%100%100%
   useFetch.ts100%100%100%100%
   useFocus.ts100%100%100%100%
   useScreenSize.ts100%100%100%100%
   useSvg.ts100%100%100%100%
src/dto
   ApplyClientNumberDto.ts100%100%100%100%
   CommonTypesDto.ts100%100%100%100%
src/helpers
   CustomDirectives.ts100%100%100%100%
   DataConversors.ts100%100%100%100%
   ForestClientUserSession.ts100%100%100%100%
src/helpers/validators
   BCeIDFormValidations.ts100%100%100%100%
   GlobalValidators.ts100%100%100%100%
   SubmissionValidators.ts100%100%100%100%
src/pages
   ErrorPage.vue25%100%100%25%11–12, 2
   FormBCSCPage.vue82.25%64.91%71.88%91.55%121–122, 135, 209, 270, 272, 281, 296–298, 306, 311, 323, 323, 323, 325–326, 331, 377, 463, 470, 477, 498, 50, 508, 51–52, 544, 544, 544, 63, 80
   FormBCeIDPage.vue55.60%48.78%33.33%65.87%110–112, 118, 118–119, 124, 124, 124, 127–128, 133, 239, 241, 250, 260–261, 261, 261, 261, 261, 261–264, 270, 276, 281, 281–286, 300, 300–301, 306, 306–307, 307–308, 308, 313, 319–320, 322, 322–324, 329–330, 339, 342–346, 356, 356, 358–360, 445, 469, 469, 469, 489, 489, 489, 498, 534, 537, 540, 540, 540, 559, 68–70, 89, 93–94, 96, 99
   FormSubmittedPage.vue61.11%25%0%83.33%12, 30, 32, 32, 32
   LandingPage.vue75%42.86%100%92.31%18, 18–19, 48, 58
   SubmissionListPage.vue8.05%0%0%12.73%103–105, 137, 153, 153, 178, 178, 23, 26–28, 31–34, 37–38, 41–42, 42–43, 46, 46, 46, 49–51, 54–55, 55, 55, 55, 55, 57, 59, 61, 63, 67–69, 69, 72–73, 75–76, 79–82, 82, 82–83, 85, 88, 91–92, 92–93, 96–97, 97, 97, 97–99
   SubmissionReviewPage.vue19.92%0%0%40.17%101, 103–105, 114, 114–115, 115, 120–121, 121–124, 128, 128, 142, 148–151, 151, 151–152, 154, 157, 160–161, 161–163, 166–167, 167–168, 170–171, 171–172, 175–176, 176–177, 177, 177–178, 181–182, 182, 182, 182, 182, 184, 186, 188, 190, 216, 216, 221, 221, 233, 233, 233, 233, 245, 245, 245, 245, 245, 268, 268, 268, 268, 268, 277, 277, 286, 32, 35–36, 384, 384, 39, 418, 418,

@fterra-encora fterra-encora merged commit 7de796c into main Dec 28, 2023
17 checks passed
@fterra-encora fterra-encora deleted the fix/ci-test-issue branch December 28, 2023 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants