Severity: Warning
Message: file_get_contents(/home/anhtest2/public_html/application/cache/User_model_SelectById3.cache): failed to open stream: No such file or directory
Filename: drivers/Cache_file.php
Line Number: 275
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/User_model.php
Line: 234
Function: query_cache
File: /home/anhtest2/public_html/application/controllers/frontend/Post.php
Line: 37
Function: SelectById
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type bool
Filename: drivers/Cache_file.php
Line Number: 277
Backtrace:
File: /home/anhtest2/public_html/application/core/MY_Model.php
Line: 25
Function: get
File: /home/anhtest2/public_html/application/models/User_model.php
Line: 234
Function: query_cache
File: /home/anhtest2/public_html/application/controllers/frontend/Post.php
Line: 37
Function: SelectById
File: /home/anhtest2/public_html/index.php
Line: 315
Function: require_once
![[Cucumber TestNG] Bài 10: Thực hành viết automation test với test cases Gherkin | Anh Tester](/uploads/lesson/cucumber_testng/thuchanh/tcs_login.png)
🔆 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
![[Cucumber TestNG] Bài 10: Thực hành viết automation test với test cases Gherkin | Anh Tester](/uploads/lesson/cucumber_testng/thuchanh/tcs_brand.png)
🔆 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
![[Cucumber TestNG] Bài 10: Thực hành viết automation test với test cases Gherkin | Anh Tester](/uploads/lesson/cucumber_testng/thuchanh/tcs_category.png)
✳️ 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