24 - Run Functional Tests using a Headless Browser II - Quality Assurance - freeCodeCamp Tutorial

Published: 28 July 2020
on channel: Ganesh H
987
14

This is the final Quality Assurance challenge, and we are once again using Zombie to test with a different input this time.

Link to Challenge : https://www.freecodecamp.org/learn/qu...
Written Guide: https://www.notion.so/ganeshh123/Run-...

Full Playlist for this course :    • Quality Assurance and Testing with Ch...  
All Writen Guides for this course : https://www.notion.so/ganeshh123/54ec...
All My Tutorials can be found at : https://www.notion.so/Tutorials-Ganes...

Concepts:
browser.visit()
Loads document from the specified URL, processes events and calls the callback, or returns a promise.
https://www.npmjs.com/package/zombie#...

browser.assert.element()
Asserts that one element matching selection exists. Fails if no element or more than one matching element are found.
https://www.npmjs.com/package/zombie#...

browser.fill()
Fill in an input field or text area with the provided value.
https://www.npmjs.com/package/zombie#...

browser.pressButton()
Press a button (button element or input of type submit). Typically this will submit the form. Use the callback to wait for the from submission, page to load and all events run their course.
https://www.npmjs.com/package/zombie#...

browser.assert.text()
Asserts that selected element(s) have the expected text content. Fails if no element found that has that text content.
https://www.npmjs.com/package/zombie#...

browser.assert.status(), browser.assert.success()
Asserts the current page loaded with the expected status code.
https://www.npmjs.com/package/zombie#...

————————————————————————————————————
Chai is an assertion library, similar to Node's built-in assert. It makes testing much easier by giving you lots of assertions you can run against your code.

freeCodeCamp (also referred to as “Free Code Camp”) is a non-profit organization that consists of an interactive learning web platform, an online community forum, chat rooms, online publications and local organizations that intend to make learning web development accessible to anyone. Beginning with tutorials that introduce students to HTML, CSS and JavaScript, students progress to project assignments that they complete either alone or in pairs. Upon completion of all project tasks, students are partnered with other nonprofits to build web applications, giving the students practical development experience.

Thanks for Watching!


Watch video 24 - Run Functional Tests using a Headless Browser II - Quality Assurance - freeCodeCamp Tutorial online without registration, duration hours minute second in high quality. This video was added by user Ganesh H 28 July 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 987 once and liked it 14 people.