Skip to content
Snippets Groups Projects
Commit 7106da4e authored by Alaa Jwiehan's avatar Alaa Jwiehan Committed by Rajab Natshah
Browse files

Issue #3266504: Update Automated Functional Testing Readme File

parent 7a7a8aca
No related branches found
No related tags found
3 merge requests!24Issue #3301451: Composer is fixed to docroot folder Primary tabs View(active tab),!10Issue #3269421: Add exception messages for VLB automated testing step definitions,!8Issue #3266504: Update Automated Functional Testing Readme File
# Varbase Automated Functional Testing
A set of Gherkin Features and custom Varbase Context with custom
step definitions, and assets, which help with the automatic testing for
step definitions, and assets, that helps with automated testing for
varbase project websites.
This page can help you to have the list all steps, which you need to run the
This page list all the steps needed, which you need to run the
Behat Gherkin Features to test a varbase website in your localhost machine.
To test varbase 9.1.x in the right way you will need to build varbase using
......@@ -19,6 +19,7 @@ composer create-project vardot/varbase:9.1.x-dev PROJECT_DIR_NAME --stability de
### Add needed testing packages
```
cd path to your files of the project/PROJECT_DIR_NAME
cd `/PROJECT_DIR_NAME/docroot`
composer require --dev drupal/core-dev:~9.0
composer require --dev drush/drush:~11.0
composer require --dev drupal/drupal-extension:~4.0
......@@ -60,24 +61,29 @@ Make sure that all varbase modules are insalled.
../bin/drush cr
```
### Enable the Drush Language Command module and add RTL language
### Enable the Drush Language Command module and add a RTL language
Needed to add the extra languages.
```
cd path to your files of the project/PROJECT_DIR_NAME
composer require drupal/drush_language:~1.0
cd `/PROJECT_DIR_NAME/docroot`
../bin/drush pm:enable drush_language --yes
../bin/drush language-add ar
../bin/drush language-info
../bin/drush cr
```
### Uninstall Antibot module to let the
### Uninstall Antibot module to make the Selenium robot have more control
Needed to uninstall as the Antibot module will prevent the Selenium robot from performing effectively
```
cd `/PROJECT_DIR_NAME/docroot`
../bin/drush pm:uninstall antibot --yes
../bin/drush cr
```
### Change config for error reporting and CSS/JS aggrigation
### Change config for error reporting and CSS/JS aggregation
```
cd `/PROJECT_DIR_NAME/docroot`
../bin/drush config:set system.performance css.preprocess 0 --yes
../bin/drush config:set system.performance js.preprocess 0 --yes
../bin/drush config:set system.logging error_level all --yes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment