Mastering Laravel Dusk: End-to-End Testing Made Easy | Laravel Dusk Tutorial

Опубликовано: 29 Сентябрь 2024
на канале: Code With ERaufi
2,703
55

Source code and Demo: https://stacktips.rf.gd/


Laravel Dusk provides an expressive, easy-to-use browser automation and testing API. By default, Dusk does not require you to install JDK or Selenium on your local computer. Instead, Dusk uses a standalone ChromeDriver installation. However, you are free to utilize any other Selenium compatible driver you wish.

Chapters:
0:00 Introduction
1:38 Installation
3:44 Example Test
5:38 Creating First Test
10:24 Opening Web Browser
11:20 Test Form Elements
17:24 Testing Date Picker
19:50 Testing File Upload
21:20 Interacting with BootStrap Modal
23:53 Interacting with Alert and Confirm Boxes
26:50 Testing Create Form
34:23 Testing Updating Form
40:05 Testing Validations
44:05 Testing Delete