Home / Companies / Cypress / Blog / September 2025

September 2025 Summaries

5 posts from Cypress

Filter
Month: Year:
Post Summaries Back to Blog
Salesforce testing presents unique challenges due to its complex and dynamic UI, which can be particularly difficult for those using Cypress for end-to-end testing. The first part of a four-part series, this blog post by Ronald Williams outlines the essential setup and configuration needed to effectively test Salesforce using Cypress. It covers the installation and configuration of Cypress, including setting appropriate timeouts and installing helpful plugins like cypress-xpath, cypress-plugin-tab, and cypress-wait-until to navigate Salesforce's complex DOM structures. The post emphasizes increasing timeouts to accommodate Salesforce's slow page loads and configuring the viewport to avoid layout issues. It also addresses common setup pitfalls, such as dealing with dynamic IDs and cross-origin redirects, while providing a step-by-step guide to running an initial Salesforce test to verify the setup. This foundational setup aims to prepare users for more advanced testing scenarios, which will be explored in subsequent parts of the series.
Sep 26, 2025 874 words in the original blog post.
Cypress 15 builds upon the advancements made in versions 13 and 14 by further modernizing the test runner and aligning with current development environments. This iteration enhances support for the latest frameworks and Node.js versions while phasing out older dependencies and obsolete features. Key updates include an improved Electron/Chromium engine for increased test stability and speed, an upgraded test authoring experience with Cypress Studio, and the introduction of cy.prompt() for natural language test generation. Additionally, Cypress 15 continues refining cross-origin testing, requiring cy.origin() when tests involve multiple domains, and completely removing support for Webpack 4 in favor of Webpack 5 or Vite. These changes are designed to future-proof test suites, ensuring they run efficiently in modern environments and are well-positioned for upcoming enhancements.
Sep 24, 2025 938 words in the original blog post.
The blog post by Mark Noonan introduces the ARIA Notify API, a new tool designed to improve accessibility in web applications by efficiently communicating live page updates to assistive technologies like screen readers. The post provides a detailed guide on testing this API using Cypress, including specific techniques for setting up and executing tests without needing a server, such as utilizing a beta version of Chrome, stubbing methods, and controlling time with cy.clock(). It explains how the API contributes to a smoother user experience for those with disabilities by programmatically announcing state changes, thus reducing reliance on DOM manipulation and live regions. The author demonstrates this through a shopping cart example, highlighting the challenges of maintaining accessibility in complex web applications and emphasizing the importance of accurate state communication. The post also underscores the benefits of integrating ARIA Notify with Cypress's testing capabilities, offering insights into advanced testing techniques and encouraging the use of Cypress's accessibility features to enhance the user experience for all, irrespective of the technology they use.
Sep 23, 2025 2,099 words in the original blog post.
In the fast-evolving landscape of AI-driven testing, Cypress introduces cy.prompt() as a specialized command designed to streamline the creation and maintenance of reliable tests, contrasting with the more generalized Model Context Protocol (MCP) agents. While MCP agents offer flexibility and model-agnostic capabilities for general-purpose automation by interfacing with browsers through a standard protocol, they face challenges such as latency and issues with maintaining accuracy and stability in testing environments. In contrast, cy.prompt() is integrated directly into the Cypress test runner, allowing users to write and execute test flows in natural language, with features like self-healing and caching for speed and resilience. This approach not only accelerates test authoring but also adapts to application changes without breaking, thereby reducing false failures and enhancing collaboration by enabling non-engineering team members to contribute to test creation. As AI in testing continues to evolve, Cypress believes that combining natural language convenience with the robustness of purpose-built testing tools offers a promising path for reliable and efficient test automation.
Sep 10, 2025 926 words in the original blog post.
Cypress 15.1.0 introduces an enhanced version of cy.press(), a feature initially launched in Cypress 14.3.0 to send native keyboard events to the browser, which now supports a wider array of keys including letters, numbers, special characters, and named keys such as Enter, Space, and arrow keys. This upgrade addresses the limitations of the earlier .type() method, which, while effective for simulating text input, did not accurately reflect the behavior of real keystrokes, particularly for non-character keys. The expanded functionality of cy.press() allows developers to conduct more thorough accessibility testing and keyboard navigation validation by simulating realistic keyboard interactions, thus improving the testing of focus management and keyboard shortcuts. The update is aimed at enhancing both the accessibility and usability of applications by allowing developers to test complex navigation and accessibility workflows more effectively.
Sep 03, 2025 449 words in the original blog post.