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

Issue #2845837 : Fixed issues with travis-ci.org to work with fetching...

Issue #2845837 : Fixed issues with travis-ci.org to work with fetching translations from drupal.org , we have problems with php5.6.
parent 395b0b3e
No related branches found
No related tags found
No related merge requests found
Feature: Add Arabic language if we do not have it to languages in the system.
@javascript @init @tools @local @development @staging @arabic
@init @tools @local @development @staging @arabic
Scenario: Add Arabic language if we do not have it to languages in the system.
Given I am a logged in user with the "webmaster" user
When I go to "/admin/config/regional/language"
......@@ -12,9 +12,7 @@ Feature: Add Arabic language if we do not have it to languages in the system.
Then I should see "Add a language to be supported by your site."
When I select "ar" from "Language name"
And I press "Add language"
And I wait for the batch job to finish
Then I should see "The language Arabic has been created and can now be used."
And I wait for the batch job to finish
And I wait
When I go to "/admin/config/regional/language"
And I wait
Then I should see "Arabic"
......@@ -32,12 +32,12 @@ So that I will be able to create a content then I will have the option to transl
And I should see "Not translated" in the "Arabic" row
When I click "Add" in the "Arabic" row
And I wait
Then I should see "Create عربية translation of Test English Basic page"
When I fill in "تجربة صفحة بسيطة عربية العنوان" for "العنوان"
And I fill in the rich text editor field "المتن" with "تجربة صفحة بسيطة عربية المحتوى"
Then I should see "Create Arabic translation of Test English Basic page"
When I fill in "تجربة صفحة بسيطة عربية العنوان" for "Title"
And I fill in the rich text editor field "Body" with "تجربة صفحة بسيطة عربية المحتوى"
And I press the "op" button
And I wait
Then I should see "تجربة صفحة بسيطة عربية العنوان"
When I click "ترجمة"
When I click "Translate"
And I wait
Then I should see "Test English Basic page"
# Selenium Server
# Installing and configuring selenium server to work for each automated testing session #
Some time I do test using some internal or external selenium server, but they
......@@ -23,13 +23,20 @@ $ sudo apt-get install openjdk-8-jre
================================================================================
Run the following command to install selenium server:
Run the following command to install selenium server 2.53.1:
================================================================================
$ sh ./install-selenium-server-2.53.1.sh
================================================================================
Run the following command to install selenium server 3.0.1:
================================================================================
$ sh ./install-selenium-server-3.0.1.sh
================================================================================
We could use the following commands to control the server
================================================================================
......
#!/bin/bash
echo "Getting selenium server standalone 3.0.0-beta3\n"
wget http://selenium-release.storage.googleapis.com/3.0-beta3/selenium-server-standalone-3.0.0-beta3.jar
java -jar selenium-server-standalone-3.0.0-beta3 -port 4445 > /dev/null &
echo "Getting selenium server standalone 3.0.1\n"
wget http://selenium-release.storage.googleapis.com/3.0-beta3/selenium-server-standalone-3.0.1.jar
java -jar selenium-server-standalone-3.0.1 -port 4445 > /dev/null &
echo "[ OK ] Starting Selenium on the 4445 port ..."
......@@ -5,10 +5,10 @@ if [ ! -d "/usr/lib/selenium" ]; then
echo "Created selenium directory in /usr/lib.\n"
echo "Getting selenium server standalone 3.0.0-beta3\n"
sudo wget http://selenium-release.storage.googleapis.com/3.0-beta3/selenium-server-standalone-3.0.0-beta3.jar
sudo mv selenium-server-standalone-3.0.0-beta3.jar /usr/lib/selenium/selenium-server-standalone-3.0.0-beta3.jar
sudo ln -s /usr/lib/selenium/selenium-server-standalone-3.0.0-beta3.jar /usr/lib/selenium/selenium-server-standalone.jar
echo "Getting selenium server standalone 3.0.1\n"
sudo wget http://selenium-release.storage.googleapis.com/3.0-beta3/selenium-server-standalone-3.0.1.jar
sudo mv selenium-server-standalone-3.0.1.jar /usr/lib/selenium/selenium-server-standalone-3.0.1.jar
sudo ln -s /usr/lib/selenium/selenium-server-standalone-3.0.1.jar /usr/lib/selenium/selenium-server-standalone.jar
echo "The selenium server standalone is ready in the server.\n"
sudo mkdir -p /var/log/selenium
......
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