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

Automation - removing redundant broken test, replacing with more appropriate #331

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

mwalker-scottlogic
Copy link
Collaborator

The summary table regression test 'Verify table shows pollutant data for the timestamp that has the largest deviation - diff 0 - forecast AQI 3, measurement AQI 3' was breaking after recent changes. I don't believe that the behaviour this test was capturing is actually desired. The logic now works that it picks the earlier timeslot when the options are all equal.

Replaced with a test that checks this, and added a test to check for cell colour in summary table when the pollutant values are greater than AQI 6

Copy link

github-actions bot commented Aug 29, 2024

Coverage report for air-quality-ui

St.
Category Percentage Covered / Total
🟢 Statements 94.42% 677/717
🟢 Branches 86.43% 172/199
🟢 Functions 87.98% 161/183
🟢 Lines 94.1% 622/661

Test suite run success

362 tests passing in 28 suites.

Report generated by 🧪jest coverage report action from e8dd7a6

Copy link
Collaborator

@mnyamunda-scottlogic mnyamunda-scottlogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good 🥇

@mwalker-scottlogic mwalker-scottlogic merged commit 47ab9ea into main Aug 29, 2024
6 checks passed
@mwalker-scottlogic mwalker-scottlogic deleted the test/update-test-snapshot-o3-without-insitu branch August 29, 2024 10:42
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