Assured CX through test automation expedites features & fixes rollout by 4x for InsurTech giant

Assured CX through test automation expedites features & fixes rollout by 4x for InsurTech giant
The speed at which they’re able to understand the product is impressive. Trigent delivers everything that’s asked of them each sprint. The team is excellent at getting up to speed with new technologies. They’re an organized team that gets the job done.

About the client

The client the first true-cloud, enterprise-grade SaaS Platform for Insurance that enables insurers to rapidly build products and experiences for their millennial customers. They can configure and create any type of insurance product, for any region, and distribute it any way that they choose. They have quickly grown to become a trusted partner to leading insurers in the U.S, enabling them to serve their policyholders better. The platform handles the end-to-end process of insurance product development, pricing, underwriting, risk assessment, policy issuance, premium payment, customer onboarding, claim management, and payments.

Business challenge

To maintain its disruptive leadership position in the market, the client undertook to upgrade its platform that would offer an integrated front end that dramatically simplified the experience for both online customers and their agents. The new front end interface needed to:

  • Speed up, by up to 3x, the ability for a new customer to go live on their platform
  • Reduce the costs of customer implementation by up to 50%
  • Provide a frictionless customer experience for online consumers
  • Ease navigation across the process with improved menus
  • Switch from traditional linear flow and be able preset multiple policy states
  • Improve view and drill down into data across functions
  • Improve cross-site searchability

Additionally, the new platform was designed to allow the insurance policyholders to self-serve. Hence every feasible situation must undergo quality assurance and testing (QA and testing), especially for exceptions or extreme circumstances, to guarantee that all use cases function as expected. It was important that all permutations & combinations options are thoroughly validated.

Ensure Customer Delight with every Connected ExperienceContact us now

Trigent solution

To achieve the desired Customer Experience (CX), the client switched from using a very old version of React, Typescript, Gulp, and Bower to the latest version of React and Typescript, supported by Webpack and npm. As the new CX was designed to provide customers greater flexibility and choice, it also exponentially increased the business rules and data requirements that needed to be validated.

The client partnered with Trigent to augment and extend their QA capabilities, undertake functional testing and build the automated checks across the new platform. The testing team got involved in defining the test strategy, the core elements of which were:

  • Shift left the tests early by identifying errors or missing business rules early in the DIY workflows
  • Build rapid fail fast cycles of tests to ensure errors in weekly builds were trapped as early in the sprint cycle
  • Ensure a strong focus on consistency of the UX across all stages of the insurance process

The automation team focused on the component integration and the end-to-end business functional tests parts of the test pyramid. Scenarios to automate were chosen to maximize coverage in areas of risk and business criticality. The API integration test cases were run at every pull request in the local development branch, periodically, in the main development branch and whenever a release was undertaken (usually weekly). API tests were integrated into the CI/CD pipeline and controlled through Jenkins jobs. UI tests, that covered critical business functionality, were to be run twice daily to check for regressions on the development branch and against release candidates on different test environments.

Trigent’s AutoMATE framework formed the basis and jump-started the framework development process, thus saving time, in an already time-crunched project. The enhanced framework enabled:

  • Implementation of page object models having separate classes for each page
  • Parallel execution of tests with no dependency on any pre-conditions
  • Creation of data through APIs (stored in JSON) and passed on to UI tests for validations
  • Avoidance of code duplication
  • Handling dynamic waits thus reducing the flakiness of tests
  • Implementation of utilities like Date Utils to format date, Faker utils to generate fake data
  • Generation of Mochawesome reports showing a detailed representation of test cases and messages
  • Static code analysis using ESLint
Automation coverage achieved

Achieved automation of 90% of the test scenarios across high risk and business-critical scenarios.


API tests


End-to-end business functional scenarios

The entire CI/CD pipeline was set up so that the checks covered:

  • Building test data (encapsulation of test data in JSON into the test case)
  • Creating JSON data files for each entity with all the required test data; handling different data combinations to validate for edge and corner cases
  • Validating code correctness using ESLint
  • Randomizing the functional scenario execution to simulate a real-time environment. For example:
    • Multiple policy workflows with random policy actions
    • According to business workflow from policy creation to lapse
    • Covering edge scenarios and negative scenarios
  • Deploying correct Configuration through API and executing tests on that environment
  • Execution of tests on different customer configurations
  • Adding sufficient assertions and verifying all possible validations
  • Verifying audit logs are generated correctly and verifying correct date, and timestamp to name a few
  • Trapping any console errors
  • Client benefits
    • Effective testing reported a good number of defects in the application which in turn reduced the production defects, and post-production issues in customer configurations by 75%.
    • With code checks for 600+ API tests run at every pull request, daily (and on every build) runs of 150+ UX tests helped identify regression issues early and reduced the testing cycle time by 70%.
    • The ability of the framework to integrate seamlessly into the CI/CD process helped improve the sprint velocity by 25%.
    • Increased confidence in the product, such that the overall test execution time for each intermediate release was reduced from 3 weeks to 2 days.
  • Technology Stack
    Technology stack:
    Testrail JIRA Cypress TypeScript Postman Github ESLINT Jenkins Amazon S3 bucket