Skip to content

feat/full-chain-integration-tests - #371

Merged
JosephSamirL merged 1 commit into
main-convertfrom
feat/full-chain-integration-tests
Apr 6, 2026
Merged

feat/full-chain-integration-tests#371
JosephSamirL merged 1 commit into
main-convertfrom
feat/full-chain-integration-tests

Conversation

@abbaseya

@abbaseya abbaseya commented Apr 5, 2026

Copy link
Copy Markdown
Collaborator

@abbaseya
abbaseya requested a review from a team April 5, 2026 13:58
@abbaseya abbaseya self-assigned this Apr 5, 2026
@abbaseya
abbaseya force-pushed the feat/full-chain-integration-tests branch from 5a2a9f5 to ca40960 Compare April 5, 2026 14:01

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request migrates the browser and integration testing framework from Karma to Playwright, introducing new test suites and a comprehensive testing guide. It also includes package version increments and a bug fix for rule evaluation logic. Feedback focuses on improving the new test code by removing unused helper functions and dead code, enhancing error handling during configuration loading, and refactoring manual polling into a cleaner Promise-based approach.

Comment thread packages/js-sdk/tests/browser/umd-bundle.spec.ts Outdated
Comment thread packages/js-sdk/tests/browser/umd-bundle.spec.ts Outdated
Comment thread packages/js-sdk/tests/browser/umd-bundle.spec.ts Outdated
Comment thread packages/js-sdk/tests/integration/full-chain.spec.ts Outdated
Comment thread packages/js-sdk/tests/integration/full-chain.spec.ts
@abbaseya
abbaseya force-pushed the feat/full-chain-integration-tests branch 5 times, most recently from bc5cece to a248610 Compare April 5, 2026 14:28
- Replace Karma + BrowserStack browser tests with Playwright
- Port all UMD bundle browser tests (19 tests)
- Add full-chain integration tests matching PHP SDK pattern (17 tests per mode)
- Support 3 auth modes: static, live (public key), live-secret (key+secret)
- Upgrade CI to Node 22, corepack, actions v4
- Remove Karma, BrowserStack, and Puppeteer dependencies
- Add TESTING.md documentation
@abbaseya
abbaseya force-pushed the feat/full-chain-integration-tests branch from a248610 to be7e235 Compare April 5, 2026 14:31
@sonarqubecloud

sonarqubecloud Bot commented Apr 5, 2026

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

@JosephSamirL
JosephSamirL merged commit ca33deb into main-convert Apr 6, 2026
5 checks passed
@JosephSamirL
JosephSamirL deleted the feat/full-chain-integration-tests branch April 6, 2026 06:32
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