Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
varbase
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
varbase
Commits
7106da4e
Commit
7106da4e
authored
3 years ago
by
Alaa Jwiehan
Committed by
Rajab Natshah
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3266504
: Update Automated Functional Testing Readme File
parent
7a7a8aca
No related branches found
No related tags found
3 merge requests
!24
Issue #3301451: Composer is fixed to docroot folder Primary tabs View(active tab)
,
!10
Issue #3269421: Add exception messages for VLB automated testing step definitions
,
!8
Issue #3266504: Update Automated Functional Testing Readme File
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/README.md
+11
-5
11 additions, 5 deletions
tests/README.md
with
11 additions
and
5 deletions
tests/README.md
+
11
−
5
View file @
7106da4e
# Varbase Automated Functional Testing
A set of Gherkin Features and custom Varbase Context with custom
step definitions, and assets,
which
help with
the
automat
ic
testing for
step definitions, and assets,
that
help
s
with automat
ed
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 aggr
i
gation
### Change config for error reporting and CSS/JS aggr
e
gation
```
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment