DEV Community

Michael Voase
Michael Voase

Posted on

Publish Cypress test results into ReportPortal.io with Docker - Part 1

Background

Welcome to my first blog post on Dev.to, forgive me if this is a little clunky initially! I'm new to this. Firstly, if you find yourself reading this then thank you so much for taking the time out, and if it doesn't give you the specific answers you need drop me a line and I can sure do my best to help :)

Without boring you with a load of background on my life, i'm a Senior QA Automation Engineer working in the media industry.
I recently attended the SeleniumConf in London where I came across - ReportPortal.io

ReportPortal.io is an AI powered test automation dashboard developed by EPAM

Initially while sat listening to the talk by EPAM's Delivery Manager Dzmitry Humianiuk I thought this potentially would be something really difficult to setup and get integrated with some of the test frameworks we'd been writing at PA Media - how wrong was i!

Cypress.io

I'm not going to spend loads of time and detail going into the ins and out of Cypress.io.

The documentation and getting started guides will get you up to speed if you need to. Also here is a link to a GitHub Typescript template I have created that gives you a project setup out of the box.

Cypress TypeScript Template

This template gives you a TypeScript Cypress project out of the box and targets a demo website with a few example tests.

To use this project simply select the "Use Template" button on the GitHub repository page and create your own repository.

Once you're new repository is created and cloned locally don't forget to you know make it work ;)

npm install

is your friend here!

Once you've created the repository and installed the dependencies then go ahead and run the tests.....

npm cypress:run

Will run the example tests in headless mode..
Of course some of you might be here to get your existing test framework hooked into ReportPortal, but be patient we will get there.

Come back for Part 2 to get ReportPortal stood up in Docker.

Top comments (1)

Collapse
 
thenoobtester profile image
Michael Voase

UPDATE: Part 2 will be coming shortly but things have been extremely hectic recently.