Using Laravel’s dd (dump and die) function in PHP

One of the most common ways to debug an error in PHP ecosystem is to dump the variable on the…

tgugnani

Using faker library to feed form inputs in Laravel Dusk

Randomizing your data is always a good approach in Automation Testing. When using Laravel Dusk we can make use of…

tgugnani

Migrating and Seeding Database in Laravel Dusk

Interacting with database is an important aspect of majority of Laravel Applications. This tutorial covers how you can work with…

tgugnani

Automating Stripe Checkout Payments with Laravel Dusk

The simplest way to implement Stripe on your website is using Stripe Checkout, Accepting card payments via Stripe Checkout is…

tgugnani

Fix – count(): Parameter … implements Countable Error Laravel Eloquent

If you are working with Laravel Eloquent and got following exception -> count(): Parameter must be an array or an…

tgugnani

Using Sqlite database with Laravel Dusk Testing

This article covers How to Use Sqlite File database with Laravel Dusk Testing. Sqlite is pretty easy to use and…

tgugnani

Laravel Dusk with Different Environment .env File

At times you might want to create a seperate environment to run your Laravel Dusk Tests. Dusk provides an easy…

tgugnani

Using Browser Macros in Laravel Dusk

Laravel Dusk provides you with an option to define custom methods for your browser testing. If you have a set…

tgugnani

Selecting Random Form Fields in Laravel Dusk

While doing automation testing of your web-application. At times it's best to select random data in your form fields, this…

tgugnani

Generating a new Laravel Dusk Test

In this tutorial we will go over on how you can generate a new Laravel Dusk test for the browser…

tgugnani