99 * [ Loading the Module in Codeception] ( loading-the-module-in-codeception )
1010
1111## The Joomla Browser
12- Joomla Browser with Codeception Module Functionality
12+ 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.
13+
14+ In between the available functions you can find:
15+
16+ * INSTALLATION:
17+ * install joomla
18+ * install Joomla removing Installation Folder
19+ * install Joomla Multilingual Site
20+ * ADMINISTRATOR:
21+ * do administrator login
22+ * do administrator logout
23+ * set error reporting to development
24+ * search for item
25+ * check for item existence
26+ * publish a module
27+ * setting a module position and publishing it
28+ * EXTENSION MANAGER
29+ * install extension from Folder
30+ * install extension from url
31+ * enable plugin
32+ * uninstall extension
33+ * search result plugin name
34+ * FRONTEND:
35+ * do frontend login
36+ * ADMINISTRATOR USER INTERFACE:
37+ * select option in chosen
38+ * select Option In Radio Field
39+ * select Multiple Options In Chosen
40+ * OTHERS:
41+ * check for php notices or warnings
42+
43+
44+ The Joomla Browser is constantly evolving and more methods are being added every month.
45+ To find a full list of them check the public methods at: https://github.com/joomla-projects/joomla-browser/blob/develop/src/JoomlaBrowser.php
46+
47+
48+ ## Joomla Browser in action
49+ If you want to see a working example of JoomlaBrowser check weblinks tests: https://github.com/joomla-extensions/weblinks#tests
1350
1451## Using Instructions
15- Update Composer.json file in your project, adding
52+ Update Composer.json file in your project, and download
1653
1754### Download
1855
1956```
20- "require" : "joomla-projects/joomla-browser": "dev-develop"
21- ```
22- then do a
23- ```
24- composer update
57+ composer require joomla-projects/joomla-browser:dev-develop
2558```
2659
2760### Loading the Module in Codeception
2861
29- Finally Make changes in Acceptance.suite.yml add JoomlaBrowser as a Module
62+ Finally make the following changes in Acceptance.suite.yml to add JoomlaBrowser as a Module.
3063
3164Your original ` acceptance.suite.yml ` probably looks like:
3265
@@ -46,7 +79,7 @@ modules:
4679 ...
4780` ` `
4881
49- You are asked to remove WebDriver module and change it by the JoomlaBrowser module:
82+ You should remove the WebDriver module and replace it with the JoomlaBrowser module:
5083
5184` ` ` yaml
5285 config :
@@ -72,3 +105,13 @@ You are asked to remove WebDriver module and change it by the JoomlaBrowser modu
72105 AcceptanceHelper :
73106 ...
74107` ` `
108+
109+ ## Tools
110+ Joomla Browser comes with a set of tools added via robo.li
111+
112+ ### Code Style Checker
113+ To check automatically the code style execute the following commands in your Terminal window at the root of the repository:
114+
115+ - ` $ composer install`
116+ - ` $ vendor/bin/robo`
117+ - ` $ vendor/bin/robo check:codestyle`
0 commit comments