Released: Jun 3, 2026
Actualizaciones en V14.1p_2026-06-03
Características
Native Playwright Integration
- SmartClient now ships with full Playwright support, joining the existing Cypress and Selenium integrations for end-to-end automated testing.
- This new addition makes it easier than ever to create stable, long-lasting tests that understand SmartClient's component model and UI behavior.
- With SmartClient-aware Playwright commands, your tests can interact directly with SmartClient components instead of relying on fragile DOM selectors or arbitrary timeouts.
- Use stable locators designed to withstand UI and DOM changes.
- Eliminate unnecessary timeouts with automatic waits for SmartClient activity.
- Simplify complex interactions like drag-and-drop and ComboBox selection.
- Diagnose failures faster with built-in logging and rapid failure reporting.
- At the center of this integration is a new commands.js module that provides a suite of SmartClient-aware Playwright commands. These include:
- getSC().
- clickSC().
- waitForSCDone().
- dragAndDropSC().
- These helpers "understand" AutoTestLocators and interact with SmartClient components intelligently, using the same stable locator system that has powered SmartClient's Selenium and Cypress integrations for years.
- Auto-Waits for Stability and Speed:
- All SmartClient Playwright helpers auto-wait for the SmartClient framework to reach an idle state before proceeding. This produces two enormous advantages:
- No arbitrary timeouts. You don't need to guess or sprinkle delays throughout your test code. Your Playwright tests become more concise, more reliable, and more resilient to CI (Continuous Integration) slowness.
- Fast failures. If something you changed breaks a large portion of your test suite, you don't wait hours for cascading timeouts. You find out immediately what broke because the suite continues running at full speed, even during widespread failures.
- When something breaks, that is the moment you need your test system to run fastest and produce the clearest possible result. SmartClient's Playwright integration delivers exactly that.
- Helpers for Tricky UI Interactions:
- Simulating complex interactions such as drag-and-drop or combo-box searches is extremely difficult when working with raw Playwright events (like mouseDown and mouseMove). Dozens of events may be needed to accurately simulate a single user action. Using clickSC and typeSC with SmartClient Playwright support makes interacting with common UI components very direct.
- Diagnostics and Logging:
- As with the Cypress integration, SmartClient's Playwright helpers include built-in diagnostics. The enableSC_RPCTimeout() function logs slow RPCs and can automatically fail a test if the server responds more slowly than expected. This makes performance regressions easy to catch early in development or CI.
- Playwright support has been backported to SmartClient 14.1 because it required no framework changes. Existing 14.1 licensees receive this feature at no additional cost.