Posts with tag: JavaScript
Distributed system observability: Instrument Cypress tests with OpenTelemetry
Instrument Cypress tests with OpenTelemetry and be able to custom trace the tests.
Distributed system observability: Instrument React application with OpenTelemetry
Create a React web application using the Material UI design system and instrument the application with OpenTelemetry.
Distributed system observability: complete end-to-end example with OpenTracing, Jaeger, Prometheus, Grafana, Spring Boot, React and Selenium
Code examples and explanations on an end-to-end example showcasing a distributed system observability from the Selenium tests through React front end, all the way to the database calls of a Spring Boot application. Examples are implemented with the OpenTracing toolset and traces are saved in Jaeger. This example also shows a complete observability setup including tools like Grafana, Prometheus, Loki, and Promtail.
How to gather code coverage with Istanbul and Selenium and pitfalls to avoid
Istanbul does not seem to be recoding code coverage correctly, it turned out that the tests do navigation by changing the URL, which resets the code coverage.
How to use AWS Transcribe in real-time with React and .NET Core
Practical code example how to use AWS Transcribe from an application with React frontend and .NET Core backend.
Dockerize React application with a Docker multi-staged build
How to build React application inside a Docker container, with a multi-staged build and then run it with NGINX or Caddy.
Testing with Cypress - Code coverage with Istanbul
This article describes how to extract and process Istanbul code coverage, and generate HTML reports.
Testing with Cypress - Basic API overview
Basic overview of the Cypress API with code samples for some of the interesting features.
Testing with Cypress - Custom logging of errors and JUnit results
Description of the custom error logger and also custom JUnit XML file creator.
Testing with Cypress - Build a React application with Node.js backend
Short introduction to the application under test that is created for and used in all Cypress examples. It is React frontend created with Create React App package. Backend is a Node.js application running on Express.
Testing with Cypress - lessons learned in a complete framework
In the current post I will share some lessons I've learned using Cypress for quite a long time. Along this journey, I created a framework which solves some of the pain points that Cypress has.
Performance testing in the browser
Approaches for performance testing in the browser using Puppeteer, Lighthouse, and PerformanceTiming API.
Build a REST API with Express on Node.js and run it on Docker
Code examples how to create RESTful API with Node.js using Express web framework and then run it on Docker.