Skip to content
Snippets Groups Projects
Commit f105c91e authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3346730: Remove installing the Varbase Update Helper module from the...

Issue #3346730: Remove installing the Varbase Update Helper module from the list of default Varbase components on installation
parent 07f7005f
No related branches found
No related tags found
No related merge requests found
......@@ -200,10 +200,8 @@ commands:
../bin/drush pm:enable social_auth_facebook --yes
../bin/drush pm:enable social_auth_twitter --yes
../bin/drush pm:enable social_auth_linkedin --yes
../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
../bin/drush cr
../bin/drush pm:enable varbase_update_helper --yes
../bin/drush cache:rebuild
## Run Selenium Standalone server.
- run:
......
......@@ -26,4 +26,3 @@ config_bit:
- varbase_dashboards
- varbase_default_content
- varbase_tour
- varbase_update_helper
......@@ -19,16 +19,15 @@ composer create-project vardot/varbase:10.0.x-dev PROJECT_DIR_NAME --stability d
### Add needed testing packages
```
cd path to your files of the project/PROJECT_DIR_NAME
composer require --dev drupal/core-dev:~9.0
composer require --dev drupal/core-dev:~10
composer require --dev drush/drush:~11.0
composer require --dev drupal/drupal-extension:~4.0 --with-all-dependencies
composer require --dev emuse/behat-html-formatter:^0.2.0
composer require --dev drupal/drupal-extension:~5.0 --with-all-dependencies
```
### Add additional testing packages
```
cd path to yout files of the project/PROJECT_DIR_NAME
Change path to your files of the project/PROJECT_DIR_NAME
BEHAT-SCREENSHOT to capture images on demand or when a test fails
composer require --dev drevops/behat-screenshot
......@@ -48,7 +47,7 @@ Read more about it here: https://github.com/drevops/behat-screenshot
### Install Varbase
Have Varbase installed from the browser or using the `drush site:install` command.
But make sure to have the webmaster user with the `dD.123123ddd` passwrod.
But make sure to have the webmaster user with the `dD.123123ddd` password.
Exmaple Drush install:
Change directory in the terminal to the path of the project and `/PROJECT_DIR_NAME/docroot`
......@@ -58,7 +57,7 @@ Change directory in the terminal to the path of the project and `/PROJECT_DIR_NA
```
### Enable all Varbase components
Make sure that all varbase modules are insalled.
Make sure that all varbase modules are installed.
```
../bin/drush pm:enable vmi --yes
../bin/drush pm:enable varbase_heroslider_media --yes
......@@ -76,19 +75,18 @@ Make sure that all varbase modules are insalled.
../bin/drush pm:enable social_auth_facebook --yes
../bin/drush pm:enable social_auth_twitter --yes
../bin/drush pm:enable social_auth_linkedin --yes
../bin/drush cr
../bin/drush pm:enable varbase_update_helper --yes
../bin/drush cache:rebuild
```
### Enable the Drush Language Command module and add a RTL language
### Import and Update local 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
../bin/drush locale-import ar --autocreate-language profiles/varbase/translations/ar.po
../bin/drush locale-update --langcodes=ar
../bin/drush cache:rebuild
```
### Uninstall Antibot module to make the Selenium robot have more control
......@@ -96,16 +94,7 @@ Needed to uninstall as the Antibot module will prevent the Selenium robot from p
```
cd `/PROJECT_DIR_NAME/docroot`
../bin/drush pm:uninstall antibot --yes
../bin/drush cr
```
### 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
../bin/drush cr
../bin/drush cache:rebuild
```
### Add testing users.
......@@ -187,13 +176,10 @@ To run the automated testing with behat you will need to change the [ wd_host an
Drupal\MinkExtension:
ajax_timeout: 60
files_path: "%paths.base%/tests/assets/"
goutte: ~
selenium2:
wd_host: 127.0.0.1:4445/wd/hub
capabilities:
# browser: 'firefox'
browser: 'chrome'
# browser: 'phantomjs'
nativeEvents: true
marionette: true
browserName: chrome
......@@ -224,9 +210,7 @@ To run the automated testing with behat you will need to change the [ wd_host an
- "--allowed-ips=*"
- "--whitelisted-ips=*"
base_url: 'http://varbase.test'
# browser_name: 'firefox'
browser_name: 'chrome'
# browser_name: 'phantomjs'
javascript_session: selenium2
```
......@@ -324,7 +308,7 @@ $ ../../../bin/behat --tags '@development' tests/features/varbase/
Which it will run Scenarios which has got the @development tag.
```
$ ../../../bin/behat --tags '@staging' ftests/eatures/varbase/
$ ../../../bin/behat --tags '@staging' tests/features/varbase/
```
Which it will run Scenarios which has got the @staging tag.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment