Skip to content
Briebug

Delivery partnership

Photobucket: Automated end-to-end tests to speed up feature releases

We built Photobucket a Cypress end-to-end suite of 80 test suites that runs in under 10 minutes, and fixed GraphQL calls that returned a boolean.

Situation:
Photobucket needed test coverage to speed up feature releases. Its Cypress tests ran slowly, and some GraphQL calls returned a boolean instead of data.
What we did:
We built a Cypress end-to-end suite for the NEXT app, documented the testing process, and added a GraphQL expert to fix the back end.
Result:
A suite of 37 spec files and 80 test suites with a full run under 10 minutes, and GraphQL mutations that return data.

Engagement: August 2021–October 2021 · Duration: about 3 months

Published Updated

Client
Consumer photo storage and sharing service
Engagement
Embedded testers and a project manager, August 2021 to October 2021. Briebug team: 2 engineers
Services
End-to-end test automation, a GraphQL back-end fix, test process and knowledge transfer
Stack
Cypress, GraphQL, Page Objects, CI/CD
  • 80end-to-end test suites across 37 spec files
  • 9 min 49 sfor a full run of the end-to-end suite

The challenge

Photobucket runs a consumer photo storage and sharing service. It wanted to speed up feature releases and get the test coverage it needed across the code base.

Its Cypress tests ran slowly, even after optimization. In its NEXT app, GraphQL calls returned a boolean instead of the mutated data.

What we did

Built a Cypress test suite

We built an end-to-end suite for the NEXT app with programmatic login, page objects and the Arrange-Act-Assert structure.

Made tests environment-agnostic

We made the configuration environment-agnostic and added fixtures for each environment and plan tier.

Fixed the GraphQL responses

We added a GraphQL expert, and the back end now returns the mutated data.

Documented the process

We wrote a test plan, test scripts, testing process documents, a CI/CD time-limit analysis and a knowledge transfer document.

The impact

What changed for the business.

  • Broad test coverage

    The end-to-end suite reached 37 spec files and 80 test suites.

  • Full run under 10 minutes

    A full run of the suite took 9 minutes and 49 seconds.

  • GraphQL returns data

    GraphQL mutations now return the mutated data instead of a boolean.

  • A process the team can follow

    Testing process documents and a knowledge transfer document left the team a clear way to keep the suite going.

All case studies

Are slow tests holding back your releases?

Talk to a senior engineer, not a salesperson. We build test suites your team can run, trust and keep up.