Web Testing with JavaScript

Learn how to test a React web app using different types to tests

E2E UI tests with Cypress 10

Visual testing Cypress 10 and Happo

Performance and accessibility testing

Requirements

  • Knowledge in JavaScript

Description

Have you ever wondered what goes into web app testing? What does it mean to test your web apps and how does it relate to the code you write and maintain? If you find yourself with these questions, worry no longer!

In this tutorial, we’ll learn some of the latest tools and techniques to improve your ability to test modern web applications with JavaScript.

Also, we will learn to analyze risk and how to prevent risks with end-to-end testing, component testing and GitHub actions.

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”

I like the fundamental approach used by the author. Will see:) To prepare for such a course – it’s a really hard and big job. Respect and thank you.” – Serhii Kovalenko

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 execute web testing with JavaScript

Course content

11 sections • 25 lectures • 1h 0m total lengthExpand all sections

Introduction1 lecture • 1min

  • Introduction00:52

Setting Up Your Environment1 lecture • 5min

  • Gitpod Setup04:54

E2E UI Testing with Cypress2 lectures • 3min

  • E2E Browser Test01:13
  • Software Under Test and Test Strategy01:45

Exercises and Solutions6 lectures • 13min

  • Code A Cypress Test That Opens An App Exercise01:11
  • Code A Cypress Test That Opens An App Solution02:39
  • Exercise Code A Test To Ensure The Link Will Go To The Correct Location00:46
  • Solution Code A Test To Ensure The Link Will Go To The Correct Location05:47
  • Exercise Write A Functional UI Test & Link Validation That Opens In A New Tab00:44
  • Solution Write A Functional UI Test & Link Validation That Opens In A New Tab01:29

Additional Information3 lectures • 6min

  • What are some challenges of functional UI tests?01:50
  • Can we test the same thing more efficiently?01:22
  • What Risks Remain In Our Web App?02:25

Summary1 lecture • 1min

  • Web Testing with JavaScipt Part 1 Summary00:32

Visual E2E Testing4 lectures • 15min

  • Visual E2E Testing and Its Advantages01:52
  • Set Up A Visual Test02:05
  • Set Up Cross-Platform and Cross-Browser Visual Tests07:58
  • Visual Gotchas03:04

Summary1 lecture • 1min

  • Web Testing with JavaScipt Part 2 Summary00:33

Visual Gotchas Exercise and Solution2 lectures • 10min

  • Visual Gotchas Exercise00:24
  • Visual Gotchas Solution09:15

Performance and Aaccessibility Testing2 lectures • 7min

  • Performance and Accessibility Testing Exercise00:41
  • Performance and Accessibility Testing Solution06:43

Conclusion2 lectures • 1min

  • Conclusion00:37
  • Bonus Lecture00:16

React Testing – Code and Test 3 React Web Apps

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

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

Course content

3 sections • 32 lectures • 1h 59m total lengthExpand all sections

Creating React Web App and Deploy to Microsoft Azure11 lectures • 38min

  • Introduction00:46
  • Creating React App01:51
  • Running First Test01:53
  • Creating a CI Pipeline05:06
  • Add a Link test05:06
  • Add Visual Testing07:53
  • Making An Image Change02:57
  • Releasing to Azure Static Web Apps04:43
  • Creating CI for production testing04:45
  • Finalizing production build for CI02:12
  • Conclusion00:49

Birthday Reminder React App with Full Testing10 lectures • 35min

  • Introduction00:27
  • Birthday Reminder Set Up05:11
  • Static UI Created04:12
  • List Component05:32
  • OnClick() Implemented00:59
  • What Is Your Testing Strategy03:44
  • Installing WDIO03:50
  • Run WDIO Test01:40
  • Visual E2E Testing09:24
  • Conclusion00:09

Build & Test A Portfolio Website11 lectures • 46min

  • Introduction00:47
  • Website Overview02:03
  • Source Code Overview03:27
  • Code Header Overview04:27
  • Testing Strategy for Header03:35
  • Visual E2E Tests with Happo06:31
  • E2E Cypress Tests06:27
  • Hero Section04:32
  • Projects Section04:08
  • Jest Snapshot Tests10:14
  • BONUS LECTURE00:16

Cypress and Happo – Testing a Live Website

Code Setup using Cypress and Happo

Visual Differences between web browsers & mobile device viewport sizes

Identify the problem

Code a Visual Test

Handle Dynamic Content

Requirements

  • Knowledge in JavaScript
  • Knowledge in HTML and CSS
  • Knowledge in Cypress and Happo

Description

Cypress and Happo are two tools that can be used to test a website. Happo is like a remote control for your browser, allowing you to open multiple tabs at the same time. Cypress is an extension for Chrome and Firefox browsers, allowing you to test websites by simulating how visitors will interact with them. There are several advantages to using Cypress and Happo together.

For example, you can use Happo to test pages that might not have any content yet, while Cypress can simulate visitors who have actually found the page. On the other hand, there are some disadvantages as well. For instance, Cypress requires a steady Internet connection, so it’s not always reliable when trying to test a website during periods of heavy network traffic. In addition, both tools are very basic and might not be suitable for complex testing scenarios. So, if you’re looking for a way to quickly test whether your website works as expected when visitors arrive on it, then Cypress and Happo may be worth considering.

In today’s tutorial, we’re going to learn how to do automated visual testing on a live production website. And we’re going to do that using Cypress and Happo.

You will learn to:

  • Identify the problem
  • Code Setup using Cypress and Happo
  • Visual Differences between browsers & viewport sizes
  • Code a Visual Test
  • Handle Dynamic Content

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 live web & mobile applications.

Course content

2 sections • 9 lectures • 30m total lengthExpand all sections

Introduction1 lecture • 1min

  • Introduction01:00

Core Videos8 lectures • 29min

  • Identifying the problem02:39
  • Join Happo now!00:02
  • Code setup using Cypress and Happo05:13
  • Visual Differences07:18
  • Coding a Visual Test05:35
  • How to Handle Dynamic Test04:15
  • Getting started with Cypress04:10
  • BONUS LECTURE00:16