Download the PHP package joomla-projects/joomla-browser without Composer
On this page you can find all versions of the php package joomla-projects/joomla-browser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download joomla-projects/joomla-browser
More information about joomla-projects/joomla-browser
Files in joomla-projects/joomla-browser
Package joomla-browser
Short Description joomla-browser Codeception Module
License GPL-2.0-or-later
Homepage https://docs.joomla.org/Testing_Joomla_Extensions_with_Codeception
Informations about the package joomla-browser
Joomla Browser (Codeception Module)
Table of Contents
- The JoomlaBrowser
- Using the JoomlaBrowser to test Joomla Sites
- Download
- Loading the Module in Codeception
The Joomla Browser
Joomla Browser is a Codeception.com Module. It allows to build system tests
for a Joomla site much faster providing a set of predefined tasks.
In between the available functions you can find:
- INSTALLATION:
- install joomla
- install Joomla removing Installation Folder
- install Joomla Multilingual Site
- ADMINISTRATOR:
- do administrator login
- do administrator logout
- set error reporting to development
- search for item
- check for item existence
- publish a module
- setting a module position and publishing it
- EXTENSION MANAGER
- install extension from Folder
- install extension from url
- enable plugin
- uninstall extension
- search result plugin name
- FRONTEND:
- do frontend login
- ADMINISTRATOR USER INTERFACE:
- select option in chosen
- select Option In Radio Field
- select Multiple Options In Chosen
- OTHERS:
- check for php notices or warnings
The Joomla Browser is constantly evolving and more methods are being added every month. To find a full list of them check the public methods at: https://github.com/joomla-projects/joomla-browser/blob/develop/src/JoomlaBrowser.php
Joomla Browser in action
If you want to see a working example of JoomlaBrowser check weblinks tests: https://github.com/joomla-extensions/weblinks#tests
Using Instructions
Update Composer.json file in your project, and download
Download
Loading the Module in Codeception
Finally make the following changes in Acceptance.suite.yml to add JoomlaBrowser as a Module.
Your original acceptance.suite.yml
probably looks like:
You should remove the WebDriver module and replace it with the JoomlaBrowser module:
Code Style Checker
To check automatically the code style execute the following commands in your Terminal window at the root of the repository:
$ composer install
$ vendor/bin/phpcs --extensions=php -p --standard=vendor/joomla/coding-standards/Joomla src
All versions of joomla-browser with dependencies
codeception/codeception Version ~4.1
codeception/module-webdriver Version ^1.0