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: lock lng core version to avoid bug introduced in 2.12.0 #400

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

THoj13
Copy link
Contributor

@THoj13 THoj13 commented Nov 8, 2023

Description

Upgrading @lightningjs/core to version 2.12.0 results in multiple unit tests timing out and failing in Artwork.test.js. I believe this change in @lightningjs/core is what resulted in these test failures: rdkcentral/Lightning#508.

The failing Artwork unit tests are all awaiting a method that gets triggered from the txLoaded event, which seems to now be emitted less times due to the above change. We'll lock the @lightningjs/core in this repo to 2.11.0 until we've resolved the issues.

Testing

  1. delete yarn.lock file and do a fresh install with the yarn command
  2. run the unit testing suite: yarn workspace @lightningjs/ui-components test
  3. All tests should pass. (If a ^ is prepended to the @lightningjs/core version in package.json files and these steps are repeated, version 2.12.0 will be installed and the Artwork tests will fail)

Checklist

  • all commented code has been removed
  • any new console issues have been resolved
  • code linter and formatter has been run
  • test coverage meets repo requirements
  • PR name matches the expected semantic-commit syntax

@svc-lightning-ui-components
Copy link
Collaborator

Test Execution Failed.

@THoj13 THoj13 merged commit a128329 into develop Nov 8, 2023
5 checks passed
@THoj13 THoj13 deleted the fix/lock-lng-core-version branch November 8, 2023 15:15
svc-lightning-ui-components pushed a commit that referenced this pull request Nov 9, 2023
# [@lightningjs/ui-components-v2.16.0](https://github.com/rdkcentral/Lightning-UI-Components/compare/@lightningjs/ui-components-v2.15.1...@lightningjs/ui-components-v2.16.0) (2023-11-09)

### Bug Fixes

* lock lng core version to avoid bug introduced in 2.12.0 ([#400](#400)) ([a128329](a128329))

### Features

* **Storybook:** upgrade v7 ([#280](#280)) ([5e39f37](5e39f37))
@svc-lightning-ui-components
Copy link
Collaborator

🎉 This PR is included in version @lightningjs/ui-components-v2.16.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

svc-lightning-ui-components pushed a commit that referenced this pull request Nov 9, 2023
# [@lightningjs/ui-components-test-utils-v1.5.0](https://github.com/rdkcentral/Lightning-UI-Components/compare/@lightningjs/ui-components-test-utils-v1.4.3...@lightningjs/ui-components-test-utils-v1.5.0) (2023-11-09)

### Bug Fixes

* lock lng core version to avoid bug introduced in 2.12.0 ([#400](#400)) ([a128329](a128329))

### Features

* **Storybook:** upgrade v7 ([#280](#280)) ([5e39f37](5e39f37))
@svc-lightning-ui-components
Copy link
Collaborator

🎉 This PR is included in version @lightningjs/ui-components-test-utils-v1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants