🔆 Gợi ý test cases chức năng Login:
Feature: Login
Scenario: Successful login
Given user on the login page
When user enter valid credentials
And click the login button
Then user should be redirected to my account dashboard
Scenario: Invalid login
Given user on the login page
When user enter invalid credentials
And click the login button
Then user should see an error message
And remain on the login page
🔆 Gợi ý test cases chức năng Create Brand:
Feature: Manage Brand
Scenario: Successful brand creation
Given user on the create Brand page
When user enter valid brand details
And click the save brand button
Then user should see a success message
And the new brand should display in the list of brands
✳️ Source: https://github.com/anhtester/CucumberTestNG022023/releases/tag/lesson_9_10_PicoContainer_ThucHanh
Anh Tester
Đường dẫu khó chân vẫn cần bước đi
Đời dẫu khổ tâm vẫn cần nghĩ thấu