๐ญ BDD Testing with Playwright MCP Server ๐ฅ
In this video, we explore Behavior Driven Development (BDD) testing using Playwright MCP Server, without writing a single line of codeโjust seamless automation!
Watch how Cursor + MCP Servers transform testing into a fully automated, hands-free process! ๐ฅ
๐ก Note
We will be using the following MCP Server Tools:
- Playwright MCP Server (This is the tool referenced in the documentation)
๐ BDD Scenario for Loginโ
Feature: Login
Scenario: To Perform login operation in EAApp website
Given I navigate to "https://eaapp.somee.com/"
When I click on "Login" button
And I enter "admin" in "UserName" field
And I enter "password" in "Password" field
And I click on "Login" button
Then I should see the Employee Details menu
๐ BDD Scenario for Console Logsโ
Feature: Network Console
Scenario: To Perform Network Console operation
Given I navigate to amazon.com
And I handle if there is any popup
And I click the All menu from the Amazon website
And I read the network console logs
When I see any error in the network console logs
Then I print them out
And I close the browser
This structured format enhances readability and ensures clarity for developers and testers. ๐