Web testing with Nightwatch (2023) part 3: Advanced tests
Автор: NightwatchJS
Загружено: 2023-08-18
Просмотров: 1154
Dive into the world of advanced testing with Nightwatch 🚀🚀🚀! In this comprehensive guide, we'll explore a range of advanced testing scenarios that will help you cover most possible testing scenarios out there!
🎣 Test Hooks: Discover how to use before, before each, after & after each hook to make your tests more modular, maintainable and concise
⏳ Async/Await: Learn how to handle asynchronous operations seamlessly using async/await, ensuring accurate and reliable test results.
⌨️ Keyboard Shortcuts & Clipboard: Explore how to copy paste content using Nightwatch
💻 OS & Browser Info: Learn how to fetch OS & browser info in Nightwatch for commands & assertions for handling special cases
🔧 Executing Client JS: Learn how to execute client-side javascript from your tests
🤖 Actions API: Understand how to leverage the Actions API to create complex user interactions that mimic real-world usage scenarios.
🖼️ iFrame Interaction: Navigate and interact within iframes seamlessly, ensuring thorough testing of embedded content.
📑 Multi-tab Interaction: Learn how to deal with multiple tabs. A common scenario where this might be needed is 3rd party authentication.
🌍 Emulating Geolocation: Learn how to test your website in case some functionality is dependent on geolocation.
Elevate your web testing strategy with these advanced scenarios for Nightwatch. Whether you're a seasoned tester or just getting started, this guide will equip you with the tools you would need to cover most scenarios that your users might need.
⏱️ Chapters ⏱️
0:00 Introduction & Recap
0:38 Agenda
1:14 Test hooks
2:58 Keyboard Shortcuts & Clipboard
3:14 Interacting with elements
4:38 Getting browser or OS info
5:34 Executing client-side JS
7:36 Actions API
8:38 Handling iFrames
11:29 Async/Await
13:24 Multi-tab interactions
14:44 Geolocation
17:08 Recap & sneak-peek
17:35 Outro
🔗 Helpful Resources 🔗
Previous video - • Web testing with Nightwatch (2023) part 2:...
Nightwatch website - https://bit.ly/3QK9CQp
Nightwatch Get Started - https://bit.ly/3smfzZC
Nightwatch Test Hooks - https://bit.ly/3YDIcOe
Nightwatch Global Hooks - https://bit.ly/3E1QmGw
Nightwatch Actions API - https://bit.ly/3qusSXE
Discord community - / discord
📢 Stay Connected 📢
Don't forget to subscribe for more web development, testing, and software engineering tutorials. Hit the like button if you found this video helpful, and share it with your fellow developers. Feel free to ask questions in the comments - we're here to help you become a Nightwatch testing pro!
#NightwatchAdvancedTesting #WebAppTesting #TestingScenarios
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: