Skip to content

les tests fonctionnels automatiques des modules presto

Notifications You must be signed in to change notification settings

hatem-hadrich/Presto-Module

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Information: To use the following test suites, you need to install a PrestaShop in English in country France. (or you may change some assertions like the separator “,” or “.”, “€” or “$” or “£” or …] You need to create a user in Back Office with SuperAdmin rights and the following information’s: Login: [email protected] Password: demo_prestashop

a) Installation To use nodeJS tests, you need to install:

  • NodeJS
  • Npm
  • Webdrivers pour Chrome et firefox

Required modules to install using npm are:

  • json
  • minimist
  • mocha
  • node-uuid
  • parsed-url
  • q
  • req
  • should
  • webdriverio
  • window
  • selenium-standalone

b) How to launch tests

  • First, you need to start selenium-standalone

  • Go to the folder of the module you want to test and execute the following line:

  • Launch tests :

    mocha index.webdriverio.js --URL=presto200917.staging-prestashopready.net [email protected] --PWD=abcd1234
    
  • URL: Front office URL of your prestashop website (without the “http:https://”)

  • Email : Admin email

  • PWD : Admin password

About

les tests fonctionnels automatiques des modules presto

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%