gazebo icon indicating copy to clipboard operation
gazebo copied to clipboard

chore: Move stats uploading to Vitest

Open nicholas-codecov opened this issue 1 year ago • 7 comments
trafficstars

Description

This PR updates the build stats command to be setup to run Vite over CRACO. As well this PR merges envs loaded from an env file and envs that are injected via process.env

nicholas-codecov avatar Oct 02 '24 18:10 nicholas-codecov

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
2575 1 2574 0
View the top 1 failed tests by shortest run time
src/pages/PlanPage/subRoutes/UpgradePlanPage/UpgradeForm/Controllers/ProPlanController/BillingOptions/BillingOptions.test.tsx BillingOptions > when rendered > planString is set to annual plan > renders annual button as "selected"
Stack Traces | 0.202s run time
Error: expect(element).toHaveClass("bg-ds-primary-base")

Expected the element to have class:
  bg-ds-primary-base
Received:
  flex-1 py-1 px-2 text-sm cursor-pointer whitespace-nowrap disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary rounded-l
 ❯ .../ProPlanController/BillingOptions/BillingOptions.test.tsx:144:27

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

codecov-qa[bot] avatar Oct 02 '24 18:10 codecov-qa[bot]

Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.

:x: Failed Test Results:

Completed 2575 tests with 1 failed, 2574 passed and 0 skipped.

View the full list of failed tests

src/pages/PlanPage/subRoutes/UpgradePlanPage/UpgradeForm/Controllers/ProPlanController/BillingOptions/BillingOptions.test.tsx

  • Class name: src/pages/PlanPage/subRoutes/UpgradePlanPage/UpgradeForm/Controllers/ProPlanController/BillingOptions/BillingOptions.test.tsx
    Test name: BillingOptions > when rendered > planString is set to annual plan > renders annual button as "selected"

    Error: expect(element).toHaveClass("bg-ds-primary-base")

    Expected the element to have class:
    bg-ds-primary-base
    Received:
    flex-1 py-1 px-2 text-sm cursor-pointer whitespace-nowrap disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary rounded-l
    ❯ .../ProPlanController/BillingOptions/BillingOptions.test.tsx:144:27

codecov-public-qa[bot] avatar Oct 02 '24 18:10 codecov-public-qa[bot]

:x: 1 Tests Failed:

Tests completed Failed Passed Skipped
3369 1 3368 0
View the top 1 failed tests by shortest run time
src/pages/PlanPage/subRoutes/UpgradePlanPage/UpgradeForm/Controllers/ProPlanController/BillingOptions/BillingOptions.test.tsx BillingOptions > when rendered > planString is set to annual plan > renders annual button as "selected"
Stack Traces | 0.202s run time
Error: expect(element).toHaveClass("bg-ds-primary-base")

Expected the element to have class:
  bg-ds-primary-base
Received:
  flex-1 py-1 px-2 text-sm cursor-pointer whitespace-nowrap disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary rounded-l
 ❯ .../ProPlanController/BillingOptions/BillingOptions.test.tsx:144:27

To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard

codecov[bot] avatar Oct 02 '24 18:10 codecov[bot]

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

:white_check_mark: All tests successful. No failed tests found.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3345   +/-   ##
=======================================
  Coverage   99.12%   99.12%           
=======================================
  Files         797      797           
  Lines       13877    13877           
  Branches     3817     3817           
=======================================
  Hits        13756    13756           
  Misses        112      112           
  Partials        9        9           
Components Coverage Δ
Assets 100.00% <ø> (ø)
Layouts 100.00% <ø> (ø)
Pages 98.96% <ø> (ø)
Services 99.44% <ø> (ø)
Shared 99.59% <ø> (ø)
UI 98.85% <ø> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fbe05b4...5730021. Read the comment docs.

✅ Deploy preview for gazebo ready!

Previews expire after 1 month automatically.

Storybook

Commit Created Cloud Enterprise
ed69f61abf8831820531d0335f1478d887b4dde5 Wed, 02 Oct 2024 18:22:11 GMT Expired Expired
ed69f61abf8831820531d0335f1478d887b4dde5 Wed, 02 Oct 2024 18:27:36 GMT Expired Expired
03bb42c5bc7abd6ecb25f9a0a8fa293e9fb8d91c Thu, 03 Oct 2024 10:24:31 GMT Expired Expired
03bb42c5bc7abd6ecb25f9a0a8fa293e9fb8d91c Thu, 03 Oct 2024 10:34:23 GMT Expired Expired
5730021e52b6fa2aeba748dbc41d68b17fc22204 Fri, 04 Oct 2024 14:54:33 GMT Expired Expired
3b9e65861b94377e79bca6cc1702e6125f0ae2f2 Wed, 09 Oct 2024 14:59:09 GMT Cloud Enterprise

codecov-releaser avatar Oct 02 '24 18:10 codecov-releaser

Bundle Report

Changes will increase total bundle size by 5.15MB (84.79%) :arrow_up::warning:, exceeding the configured threshold of 5%.

Bundle name Size Change
gazebo-staging-esm 5.15MB 5.15MB (100%) :arrow_up::warning:

codecov-staging[bot] avatar Oct 02 '24 18:10 codecov-staging[bot]

Bundle Report

Changes will increase total bundle size by 5.15MB (84.79%) :arrow_up::warning:, exceeding the configured threshold of 5%.

Bundle name Size Change
gazebo-production-esm 5.15MB 5.15MB (100%) :arrow_up::warning:

codecov[bot] avatar Oct 02 '24 18:10 codecov[bot]

Moving in favour of newer PR.

nicholas-codecov avatar Oct 15 '24 10:10 nicholas-codecov