
A starter-kit quipped with the minimal requirements for Puppeteer + Jest, making E2E testing a breeze.
The Puppeteer-Jest StarterCircleCIA starter kit simplifies the process of end-to-end (E2E) testing for developers, offering the essential tools to streamline testing workflows with Puppeteer and Jest. Designed to ease the setup and execution of tests, this kit empowers users to write their test cases with minimal configuration, allowing them to focus on developing their applications rather than getting bogged down in testing complexities.
This starter kit not only facilitates standard testing practices but also includes robust features that enhance usability and provide valuable insights into test failures. With built-in support for visual verification and detailed failure reports, it caters to both seasoned developers and newcomers looking to implement E2E testing effectively.
Global Page Instance: The kit provides a wrapped global.page instance, enabling users to start writing their test cases immediately without extensive setup.
Automated Screenshots: A screenshot is automatically captured for each failed test case, stored in a dedicated folder, which simplifies debugging and ensures clarity on what went wrong.
Detailed Failure Reports: For each failed test case, a JSON file is generated containing crucial information such as the current page URL, spec description, and console messages, facilitating thorough investigation.
Multiple Browser Support: Users can manipulate multiple browsers within a single test case, perfect for scenarios like two-sided chat testing, enhancing flexibility and coverage in tests.
Customizable Global Page: The wrapped global.page comes with default options that can be easily overwritten, allowing for tailored test execution and more readable error messages.
UI Detail Decoupling: The implementation of a window driver layer abstracts UI details, making it easier to maintain tests as UI changes occur and improving the readability of error messages.
CircleCI Integration: The kit includes a pre-configured CircleCI setup, allowing for smooth continuous integration processes and ensuring that tests are run consistently in the development pipeline.
