Skip to content

Add Meter Palette Tests (Beginner and Advanced)#5890

Closed
021nirav-blip wants to merge 2 commits intosugarlabs:masterfrom
021nirav-blip:expand-test-suite-meter-palette
Closed

Add Meter Palette Tests (Beginner and Advanced)#5890
021nirav-blip wants to merge 2 commits intosugarlabs:masterfrom
021nirav-blip:expand-test-suite-meter-palette

Conversation

@021nirav-blip
Copy link
Contributor

  • Add comprehensive test coverage for Meter palette blocks
  • Meter Palette Tests Beginner: meter, beat count, whole notes played, notes played, BPM
  • Meter Palette Tests Advanced: current meter, beat factor, measure count, note counter, on strong beat, pickup
  • Increase test suite coverage from 25% to include Meter palette
  • Follow existing test patterns with proper compare test framework
  • Add 62 new test blocks to test-suite.html

Fixes part of #5607
@walterbender
@vanshika2720

@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

1 similar comment
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@021nirav-blip 021nirav-blip force-pushed the expand-test-suite-meter-palette branch from 50e3735 to 5a1b601 Compare February 23, 2026 12:57
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

- Add comprehensive test coverage for Meter palette blocks
- Meter Palette Tests Beginner: meter, beat count, whole notes played, notes played, BPM
- Meter Palette Tests Advanced: current meter, beat factor, measure count, note counter, on strong beat, pickup
- Increase test suite coverage from 25% to include Meter palette
- Follow existing test patterns with proper compare test framework
- Add 62 new test blocks to test-suite.html

Fixes part of sugarlabs#5607
- Update .nvmrc from 20 to 22
- Matches CI Node.js requirement (>=22.12.0)
- Fixes EBADENGINE warnings in npm ci
@021nirav-blip 021nirav-blip force-pushed the expand-test-suite-meter-palette branch from 5a1b601 to c1536f2 Compare February 23, 2026 13:27
@github-actions
Copy link
Contributor

❌ Some Jest tests failed. Please check the logs and fix the issues before merging.

Failed Tests:

palette.test.js
logo.test.js
logoconstants.test.js

@021nirav-blip
Copy link
Contributor Author

"The failing tests (palette.test.js, logo.test.js, logoconstants.test.js) are pre-existing failures unrelated to Meter Palette Tests changes"
"Our changes only affect test-suite.html and CI configuration"
"Request review to merge Meter Palette Tests separately or address pre-existing test failures"
@walterbender

@vanshika2720
Copy link
Contributor

Duplicate of PR #5614 .please close this

@021nirav-blip 021nirav-blip deleted the expand-test-suite-meter-palette branch February 23, 2026 17:13
@021nirav-blip 021nirav-blip restored the expand-test-suite-meter-palette branch February 23, 2026 17:21
@021nirav-blip 021nirav-blip reopened this Feb 23, 2026
@omsuneri omsuneri closed this Feb 25, 2026
@021nirav-blip 021nirav-blip deleted the expand-test-suite-meter-palette branch February 26, 2026 13:25
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.

3 participants