Skip to content

eralaz/testing-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is bash test framework. Designed to test website html pages.

Could be used to test both storefront and admin pages.

How To Write test for the page?

  1. Choose html tag you are expected to have on it.
  2. Create empty bash script located within module at Test/bash/html.
  3. Give it a self-explained name.
  4. Call the right test funtion passing all required arguments. "moduleName="FixedModule" moduleGroup="FreeIntro" testDesc="Page Matched" matchRule="Custom storefront page" pageId="fixmodulesolution-storefront-page"

test_html_page_match "$moduleName" "$moduleGroup" "$testDesc" "$pageId" "$matchRule" "

About

This test framework written on bash for MagentoU labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages