Skip to content

Comoque1/AutomationTestsPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutomationTestsPHP

Automated acceptance tests with Codeception

Commands to run before starting the tests

  • Start selenium server: java -jar "/path to the server/selenium-server-standalone-3.141.59.jar"
  • Start chrome driver: chromedriver --url-base=/wd/hub
  • Latest version of Chrome (Version 83) browser is required

Commands to run Codeception tests

This command will run all available acceptance tests: ./vendor/bin/codecept run acceptance

NOTE

In order the tests to work successfully, the following parameters must be provided:

File: acceptance.suite.yml

modules:
   enabled:
      - WebDriver:
         url: '[YOUR APPLICATION URL]' #the base url of the application under test

File: config.php

<?php
    const password = '[YOUR PASSWORD]'; // the password of the user
    const username = '[YOUR USERNAME]'; // the username
?>

About

Automation acceptance tests with Codeception

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages