
Learn to build a simple React web app, code components, create automated visual tests, and deploy it to Microsoft Azure using Azure Static Web Apps with GitHub Actions for CI.
Explore how a Create React app includes a ready-to-run unit test, execute it with npm test, render the app component with React Testing Library, and verify the Learn React link.
Set up a github actions ci pipeline for a react app by selecting a suggested workflow, configuring secrets, and creating a yaml file to build and test.
Validate React app navigation by testing link targets with React Testing Library, update tests to use data-test-id, and align link text with testing goals.
Learn to add visual testing to a React app deployment workflow, capturing browser snapshots across desktop and mobile, validating baselines in a CI pipeline.
Replace the logo with a JPEG image, run visual tests with Screener, and validate the new UI as the baseline while ensuring component tests pass.
Deploy a React app to Microsoft Azure using the Azure Static Web Apps workflow, configure the source and build outputs, and test it in production.
Upgrade your React app by swapping in a better image, then extend your Azure pipeline to run visual tests for production and localhost, with updated base URLs.
Rerun tests after updating the image, confirm the new baseline across browsers, then deploy the production build with Azure static web apps and run visual tests again.
In this tutorial we will learn:
How to create a very simple React web app in under 5 min
How to code component tests using React Testing Library
How to shift-right by creating automated visual tests using WebDriverIO and Screener
How to add the code to a CI pipeline using Github Actions for staged execution and true continuous integration
How to use Azure Static Web Apps to easily deploy our app to the Microsoft Azure cloud
So what are you waiting for? Let's jump into the tutorial
What current 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 your are using window 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 fundamental approach used by author. Will see:) To prepare 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 put 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 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
“One Of the Best courses on Selenium With C#. Cheers Nikolay!!” - Saransh Vaid