Writing Auto-tests for a Web Store. Playwright Advanced JavaScript Web Automation Course. Lesson 10

preview_player
Показать описание
In this lesson we're:
1. Wriiting tests forNavigation, Cart, Order creation, Product page, Contact form, About us.,
2. Learning new methods waitForResponse() and waitForTimeout().
3. Reviewing real-life tests from a real project.

❓ Questions ➜ Please post them in the comments under this video. I reply ALL the comments.

👇 Follow Me On Social Media:

⏩ Navigation:
0:00 intro + follow-up
0:22 Auto-awaiting and { force: true }
6:36 Lesson 10 Plan
6:52 What to automate?
10:17 Let’s automate - Check-list.
14:30 “Navigation” tests. beforeEach()
20:26 “Products page” tests.
28:50 “Contact form” tests.
39:59 Refactoring files/folders.
41:47 Running all tests in —ui mode.
46:34 “About us” tests.
53:50 “Create an order” tests.
1:05:23 waitForResponse() instead of waitForTimeout().
1:12:40 Adding Page type for autocomplete.
1:14:07 How to make tests stable?
1:19:23 Tests from real project. Mobile app - Detox. AAA Pattern.
1:26:30 Lesson 10 plan + Homework.
1:27:37 Lesson 11 preview.

#automation #javascript #playwright #testing #typescript #selenium #програмування #тестування #тестуванняпз #interview #qa #курсТестування #тестувальник #ІТ #тестуванняПз #безкоштовнийКурс #IT #itjob #it #softwaretesting #programming #itcourses
Рекомендации по теме
Комментарии
Автор

The most interesting parts from this video:
53:50 “Create an order” tests.
1:05:23 waitForResponse() instead of waitForTimeout().
1:19:23 Tests from my Pet Project. Mobile app - Detox. AAA Pattern.

IlarionHalushka
Автор

Waiting for the next video from the best teacher, but first I need to complete this one!

ivankozenko
Автор

🤩🤩🤩 Thank you so much for this amazing video 🤩

nikitaantonenko
Автор

Don't listen guy in comments with "the most interesting parts from this video",
full video is incredibly interesting !!! 🙂

Do not forget to click on thumbs up and subcribe.

omgxd
Автор

Шеф, все круто, но у меня вопрос. Мы делаем ассерты на то, что локатор содержит текст. Но, если ассортимент изменился, названия футболок поменялись -> наши автотесты пошли по тому самому месту, о котором не упоминают в светских беседах? Не логичнее бы было найти цсс или икспас локатор и делать проверку, что этот локатор содержит текст? А в случае, если локатор указывпет на несколько элементов, по запустить innerText() локаторов в массив или стрим и там проверить?

OleksiiVasylenko-rj
Автор

Thanks for the new video, I have a question for you)
Does it make sense to use test.describe method in playwright? In the real project you used this method, but when you wrote tests for online store you didn't.

pavel_arabadzhy
visit shbcf.ru