Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
React Testing - Code and Test 3 React Web Apps
Rating: 3.8 out of 5(37 ratings)
5,840 students

React Testing - Code and Test 3 React Web Apps

Code and test 3 ReactJs web applications using Cypress, WebDriverIO, HappoIO
Last updated 6/2022
English
English [Auto],

What you'll learn

  • Code A Simple React App
  • Visual Testing And Deploy To Microsoft Azure
  • Create A Birthday Reminder React Application with Full Testing
  • Build & Test A Dev Portfolio Website

Course content

3 sections32 lectures1h 59m total length
  • Introduction0:46

    Create a simple React web app in under five minutes, test components with a React custom library, and deploy via GitHub actions and Azure Static Web Apps.

  • Creating React App1:51

    Learn to create a new React app using create-react-app, initialize npm with npm init, name the project my app, install dependencies, and run the app on localhost 3000.

  • Running First Test1:53

    Create React App provides a ready-to-modify app and a built-in unit test runnable with npm test, rendering via React testing library and verifying Learn, React is in the document.

  • Creating a CI Pipeline5:06

    Validate a QR rail link in a React app with React Testing Library, adjust the URL and link text, and adopt data-test-id selectors to stabilize the CI pipeline.

  • Add a Link test5:06

    Add a link test to verify the QR rail navigates to the correct URL, update the link text to learn testing, and switch to data-test-id for robust CI-ready tests.

  • Add Visual Testing7:53

    Extend your CI pipeline with visual testing using web driver IO to capture home page snapshots across desktop and mobile, compare to baselines, and accept approved differences.

  • Making An Image Change2:57

    Replace the logo svg with a jpeg to demonstrate visual testing, update the link, and verify two visual changes with screener and component tests, then accept the new baseline.

  • Releasing to Azure Static Web Apps4:43

    Learn to deploy a React app with Azure static web apps, configure the deployment workflow, and test in production using the built workflow and dynamic URL.

  • Creating CI for production testing4:45

    Update app assets, rename images, and integrate a production CI pipeline in Azure, adding visual tests for production and adjusting the base URL to validate the CI workflow.

  • Finalizing production build for CI2:12

    Accept the updated image baseline, rerun the CI job, and confirm local and production visual tests pass across Chrome, Windows, and Mac OS through the Azure Static Web Apps deployment.

  • Conclusion0:49

    Build a react app using create react app, test components with react testing library, and deploy tests via screener and web driver using GitHub Actions to Azure Static Web Apps.

Requirements

  • Knowledge of JavaScript
  • Knowledge of HTML and CSS
  • Basic understanding of React

Description

In this 3-part video tutorial, we will train you on how to code and test 3 beautiful ReactJS web applications even without React App testing experience.

You’ll Learn:

Creating A React App and Deploy to Microsoft Azure

  • Creating a React App

  • Running First Test

  • Creating a Pipeline

  • Add a Link Test

  • Add Visual Testing

  • Making an Image Change

  • Releasing to Azure Static Web Apps

  • Creating CI for Production Testing

  • Finalizing Production Build for CI

Birthday Reminder React App with Full Testing

  • Birthday Reminder Project Setup

  • Static UI Created

  • List Component

  • onClick() Implemented

  • What is Our Testing Strategy

  • Installing WDIO

  • Run WDIO Test

  • Visual e2e Testing

  • Conclusion

Build & Test A Portfolio Website

  • Website Overview

  • Source Code Overview

  • Code Header Overview

  • Testing Strategy for Header

  • Visual E2E Tests with Happo

  • E2E Cypress Tests

  • Hero Section

  • Projects Section

  • Jest Snapshot Tests

Ready to start? Check out the full curriculum and jump into the tutorial.

What our students are saying?

"I appreciate the time the instructor put on this course as well as the opportunity to get familiar with TestProject free of charge. Well explained, however, if you are using Windows and you are new in Automation Testing, you might find it a bit challenging with adding the SDK Token in your system environment since the instruction used MAC which is completely a different way with windows. Other than that... I appreciate a lot this free course .... thank you so much"


Wonderful content and things explained in a nutshell. Overwhelmed by Author's dedication to putting things in such a way that any novice or manual tester can follow and understand and definitely be on-boarded as a Selenium Automation Engineer the next day at work. Thanks a million times for creating these courses! One Stop for Automation."- Rupashree Geethaaviji Ananthakrishna


“I am familiar with Nikolay from a course I saw on TestAutomation and have the highest regard for him. Glad to see him on Udemy.” - Annamalai Viswanathan

Who this course is for:

  • Intermediate developers looking to learn how to test web applications