Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

fix(chromatic): Fix validation errors that shows in chromatic #1869

Merged
merged 1 commit into from
May 29, 2023
Merged

fix(chromatic): Fix validation errors that shows in chromatic #1869

merged 1 commit into from
May 29, 2023

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented May 29, 2023

Context

Currently, the "chromatic" build step is tagging all commits as failed since there are a few errors showing up as now all endpoints are being mocked properly.

This pull request adds a small validation until we have a better-mocked setup to support all components and their stories.

It also removes the SourceCodeEditor story as we're not providing the necessary HTTP mocks to ensure that works properly.

Currently the "chromatic" build step is tagging all commits as failed
since there are a few errors showing up as now all endpoints are being
mocked properly.

This pull request adds a small validation until we have a better mocked
setup to support all components and their stories.

It also removes the SourceCodeEditor story as we're not providing the
necessary http mocks to ensure that works properly.
@lordrip lordrip requested a review from a team May 29, 2023 09:13
@codecov
Copy link

codecov bot commented May 29, 2023

Codecov Report

Merging #1869 (ba7466e) into main (0fe04a7) will decrease coverage by 0.07%.
The diff coverage is 20.00%.

@@            Coverage Diff             @@
##             main    #1869      +/-   ##
==========================================
- Coverage   65.71%   65.64%   -0.07%     
==========================================
  Files          73       73              
  Lines        2129     2131       +2     
  Branches      524      526       +2     
==========================================
  Hits         1399     1399              
  Misses        688      688              
- Partials       42       44       +2     
Impacted Files Coverage Δ
src/components/SettingsModal.tsx 55.68% <0.00%> (-0.65%) ⬇️
src/components/DeploymentsModal.tsx 42.10% <33.33%> (-0.57%) ⬇️

@sonarcloud
Copy link

sonarcloud bot commented May 29, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@lordrip lordrip merged commit 78c65c7 into KaotoIO:main May 29, 2023
@lordrip
Copy link
Member Author

lordrip commented May 29, 2023

thanks @Delawen

@lordrip lordrip deleted the fix/chromatic-errors branch June 14, 2023 10:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants