Behat Mink: bzip install & unpak for PhantomJS

 

Usint NetStat -ntlp to determin if PhantomJS is up on 8643

[psqa@centos7dev behatmink]$ netstat -ntlp | grep 8643
(No info could be read for "-p": geteuid()=1000 but you should be root.)
[psqa@centos7dev behatmink]$
[psqa@centos7dev behatmink]$ netstat -ntlp | grep 8643
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:8643            0.0.0.0:*               LISTEN      2504/./phantomjs  

 

 

 

/usr/local/share holds files

[psqa@centos7dev local]$ cd /usr/local/share

 

[psqa@centos7dev share]$ sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
--2018-10-22 23:40:35--  https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
Resolving bitbucket.org (bitbucket.org)... 18.205.93.0, 18.205.93.1, 18.205.93.2, ...
Connecting to bitbucket.org (bitbucket.org)|18.205.93.0|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=Ci3FB%2BH74fmNjiOoNLfnN3Bhw8Y%3D&Expires=1540270495&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22 [following]
--2018-10-22 23:40:35--  https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=Ci3FB%2BH74fmNjiOoNLfnN3Bhw8Y%3D&Expires=1540270495&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 52.216.21.59
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|52.216.21.59|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23415665 (22M) [application/x-tar]
Saving to: ‘phantomjs-2.1.1-linux-x86_64.tar.bz2’

100%[=========================================================================================>] 23,415,665  22.0MB/s   in 1.0s   

2018-10-22 23:40:37 (22.0 MB/s) - ‘phantomjs-2.1.1-linux-x86_64.tar.bz2’ saved [23415665/23415665]

 

PhantomJS Download to /user/local/share

[psqa@centos7dev share]$ sudo tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2
[psqa@centos7dev share]$ cd phantomjs-2.1.1-linux-x86_64B

-bash: cd: phantomjs-2.1.1-linux-x86_64B: No such file or directory
[psqa@centos7dev share]$ cd phantomjs-2.1.1-linux-x86_64
[psqa@centos7dev phantomjs-2.1.1-linux-x86_64]$ ls
bin  ChangeLog  examples  LICENSE.BSD  README.md  third-party.txt
[psqa@centos7dev phantomjs-2.1.1-linux-x86_64]$ cd bin
[psqa@centos7dev bin]$ phantomjs
-bash: phantomjs: command not found
[psqa@centos7dev bin]$ ./phantomjs
./phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
[psqa@centos7dev bin]$ cd ~
[psqa@centos7dev ~]$ sudo yum install libfontconfig.so.l
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
No package libfontconfig.so.l available.
Error: Nothing to do
[psqa@centos7dev ~]$ sudo yum install libfontconfig
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
No package libfontconfig available.
Error: Nothing to do

 

Dependencies

[psqa@centos7dev ~]$ sudo yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
Package freetype-2.4.11-15.el7.x86_64 already installed and latest version
Package libstdc++-4.8.5-28.el7_5.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package fontconfig.x86_64 0:2.10.95-11.el7 will be installed
---> Package fontconfig-devel.x86_64 0:2.10.95-11.el7 will be installed
--> Processing Dependency: pkgconfig(expat) for package: fontconfig-devel-2.10.95-11.el7.x86_64
---> Package freetype-devel.x86_64 0:2.4.11-15.el7 will be installed
--> Processing Dependency: zlib-devel for package: freetype-devel-2.4.11-15.el7.x86_64
--> Running transaction check
---> Package expat-devel.x86_64 0:2.1.0-10.el7_3 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-17.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                              Arch                       Version                            Repository                Size
===================================================================================================================================
Installing:
 fontconfig                           x86_64                     2.10.95-11.el7                     base                     229 k
 fontconfig-devel                     x86_64                     2.10.95-11.el7                     base                     128 k
 freetype-devel                       x86_64                     2.4.11-15.el7                      base                     356 k
Installing for dependencies:
 expat-devel                          x86_64                     2.1.0-10.el7_3                     base                      57 k
 zlib-devel                           x86_64                     1.2.7-17.el7                       base                      50 k

Transaction Summary
===================================================================================================================================
Install  3 Packages (+2 Dependent packages)

Total download size: 820 k
Installed size: 3.3 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): expat-devel-2.1.0-10.el7_3.x86_64.rpm                                                                |  57 kB  00:00:00     
(2/5): fontconfig-devel-2.10.95-11.el7.x86_64.rpm                                                           | 128 kB  00:00:00     
(3/5): freetype-devel-2.4.11-15.el7.x86_64.rpm                                                              | 356 kB  00:00:00     
(4/5): zlib-devel-1.2.7-17.el7.x86_64.rpm                                                                   |  50 kB  00:00:00     
(5/5): fontconfig-2.10.95-11.el7.x86_64.rpm                                                                 | 229 kB  00:00:00     
-----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              1.4 MB/s | 820 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : expat-devel-2.1.0-10.el7_3.x86_64                                                                               1/5
  Installing : zlib-devel-1.2.7-17.el7.x86_64                                                                                  2/5
  Installing : freetype-devel-2.4.11-15.el7.x86_64                                                                             3/5
  Installing : fontconfig-2.10.95-11.el7.x86_64                                                                                4/5
  Installing : fontconfig-devel-2.10.95-11.el7.x86_64                                                                          5/5
  Verifying  : freetype-devel-2.4.11-15.el7.x86_64                                                                             1/5
  Verifying  : fontconfig-devel-2.10.95-11.el7.x86_64                                                                          2/5
  Verifying  : fontconfig-2.10.95-11.el7.x86_64                                                                                3/5
  Verifying  : zlib-devel-1.2.7-17.el7.x86_64                                                                                  4/5
  Verifying  : expat-devel-2.1.0-10.el7_3.x86_64                                                                               5/5

Installed:
  fontconfig.x86_64 0:2.10.95-11.el7      fontconfig-devel.x86_64 0:2.10.95-11.el7      freetype-devel.x86_64 0:2.4.11-15.el7     

Dependency Installed:
  expat-devel.x86_64 0:2.1.0-10.el7_3                               zlib-devel.x86_64 0:1.2.7-17.el7                              

Complete!
[psqa@centos7dev ~]$ cd /usr/local/bin

 


 

Start PhantomJS WebDriver on Port 8643

[psqa@centos7dev local]$ cd /usr/local/share
[psqa@centos7dev share]$ ks
-bash: ks: command not found
[psqa@centos7dev share]$ ls
applications  info  man  phantomjs-2.1.1-linux-x86_64  phantomjs-2.1.1-linux-x86_64.tar.bz2
[psqa@centos7dev share]$ cd phantomjs-2.1.1-linux-x86_64
[psqa@centos7dev phantomjs-2.1.1-linux-x86_64]$ cd bin/
[psqa@centos7dev bin]$ ./phantomjs
phantomjs>
[psqa@centos7dev bin]$ ./phantomjs --webdriver 8643
[INFO  - 2018-10-23T04:46:55.268Z] GhostDriver - Main - running on port 8643
[INFO  - 2018-10-23T04:47:37.178Z] Session [c3a9d230-d67e-11e8-ab09-e1de6fe48a01] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1","webSecurityEnabled":true}
[INFO  - 2018-10-23T04:47:37.178Z] Session [c3a9d230-d67e-11e8-ab09-e1de6fe48a01] - page.customHeaders:  - {}
[INFO  - 2018-10-23T04:47:37.178Z] Session [c3a9d230-d67e-11e8-ab09-e1de6fe48a01] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"2.1.1","driverName":"ghostdriver","driverVersion":"1.2.0","platform":"linux-unknown-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"}}
[INFO  - 2018-10-23T04:47:37.178Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: c3a9d230-d67e-11e8-ab09-e1de6fe48a01
^C

 

 

 

 

 

 

 

 

 


 

 

wgett phantom.bz2

tar

 

 

 

 

 

 

Connecting to 192.168.0.80:22...

Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Sun Oct 21 02:02:40 2018 from 192.168.0.203
[psqa@centos7dev ~]$ ls
apache-tomcat-8.5.31.tar.gz  index.html  master.zip                       plugin             sample.war   start-tomcat.sh
Documents                    JavaSimple  phpMyAdmin-4.8.3-english.tar.gz  role-strategy.hpi  SimpleJava1  tools
[psqa@centos7dev ~]$ sh start-tomcat.sh
[sudo] password for psqa:
[psqa@centos7dev ~]$ php -v
PHP 7.1.22 (cli) (built: Sep 13 2018 16:54:21) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.1.22, Copyright (c) 1999-2018, by Zend Technologies
[psqa@centos7dev ~]$ ls
apache-tomcat-8.5.31.tar.gz  index.html  master.zip                       plugin             sample.war   start-tomcat.sh
Documents                    JavaSimple  phpMyAdmin-4.8.3-english.tar.gz  role-strategy.hpi  SimpleJava1  tools
[psqa@centos7dev ~]$ cd /usr
[psqa@centos7dev usr]$ ls
bin  etc  games  include  lib  lib64  libexec  local  sbin  share  src  tmp
[psqa@centos7dev usr]$ cd /var/www
[psqa@centos7dev www]$ ls
cgi-bin  composer.phar  drupal856.2018  drupal8b.gz  drupal8b.tar  drupalc  gtw.net  html  outlawtesting.com  uc.net  z
[psqa@centos7dev www]$ ls drupalc
composer.json  composer.phar  LICENSE               phpunit.xml.dist  scripts  web
composer.lock  drush          load.environment.php  README.md         vendor
[psqa@centos7dev www]$ mkdir behatmink
mkdir: cannot create directory ‘behatmink’: Permission denied
[psqa@centos7dev www]$ sudo mkdir behatmink
[psqa@centos7dev www]$ chmod 777 -R behatmink/
chmod: changing permissions of ‘behatmink/’: Operation not permitted
[psqa@centos7dev www]$ sudo chmod 777 -R behatmink/
[psqa@centos7dev www]$ git clone https://unityconstruct@bitbucket.org/unityconstruct/behatmink.git
Cloning into 'behatmink'...
Password for 'https://unityconstruct@bitbucket.org':
fatal: Authentication failed for 'https://unityconstruct@bitbucket.org/unityconstruct/behatmink.git/'
[psqa@centos7dev www]$ git clone https://unityconstruct@bitbucket.org/unityconstruct/behatmink.git
Cloning into 'behatmink'...
Password for 'https://unityconstruct@bitbucket.org':
remote: Counting objects: 350, done.
remote: Compressing objects: 100% (322/322), done.
remote: Total 350 (delta 150), reused 0 (delta 0)
Receiving objects: 100% (350/350), 17.98 MiB | 6.92 MiB/s, done.
Resolving deltas: 100% (150/150), done.
[psqa@centos7dev www]$ ls
behatmink  composer.phar   drupal8b.gz   drupalc  html               uc.net
cgi-bin    drupal856.2018  drupal8b.tar  gtw.net  outlawtesting.com  z
[psqa@centos7dev www]$ chmod 777 -R behatmink/
chmod: changing permissions of ‘behatmink/’: Operation not permitted
[psqa@centos7dev www]$ sudo chmod 777 -R behatmink/
[psqa@centos7dev www]$ ls
behatmink  composer.phar   drupal8b.gz   drupalc  html               uc.net
cgi-bin    drupal856.2018  drupal8b.tar  gtw.net  outlawtesting.com  z
[psqa@centos7dev www]$ ld behatmink/
ld: cannot open output file a.out: Permission denied
[psqa@centos7dev www]$ ls
behatmink  composer.phar   drupal8b.gz   drupalc  html               uc.net
cgi-bin    drupal856.2018  drupal8b.tar  gtw.net  outlawtesting.com  z
[psqa@centos7dev www]$ ls behatmink
behat.yml  bin  composer.json  composer.lock  composer.phar  composer-setup.php  csmenu.bat  drush  features  in  tests
[psqa@centos7dev www]$ cd behatmink/
[psqa@centos7dev behatmink]$ vendor/bin -c tests/behat/behat.yml --tags=smoke
-bash: vendor/bin: No such file or directory
[psqa@centos7dev behatmink]$ ls bin
behat  behat.bat  behat-menu.bat  phantomjs.exe  phpunit  phpunit.bat
[psqa@centos7dev behatmink]$ bin/behat -c tests/behat/behat.yml --tags=smoke
bin/behat: line 3: cd: ../vendor/behat/behat/bin: No such file or directory
bin/behat: line 10: /behat: No such file or directory
[psqa@centos7dev behatmink]$ bin/behat -c tests/behat/behat.yml --tags=smoke
bin/behat: line 3: cd: ../vendor/behat/behat/bin: No such file or directory
bin/behat: line 10: /behat: No such file or directory
[psqa@centos7dev behatmink]$ ls
behat.yml  bin  composer.json  composer.lock  composer.phar  composer-setup.php  csmenu.bat  drush  features  in  tests
[psqa@centos7dev behatmink]$ ls bin
behat  behat.bat  behat-menu.bat  phantomjs.exe  phpunit  phpunit.bat
[psqa@centos7dev behatmink]$ bin/behat -c behat.yml
bin/behat: line 3: cd: ../vendor/behat/behat/bin: No such file or directory
bin/behat: line 10: /behat: No such file or directory
[psqa@centos7dev behatmink]$ ls
behat.yml  bin  composer.json  composer.lock  composer.phar  composer-setup.php  csmenu.bat  drush  features  in  tests
[psqa@centos7dev behatmink]$ cd bin
[psqa@centos7dev bin]$ ls
behat  behat.bat  behat-menu.bat  phantomjs.exe  phpunit  phpunit.bat
[psqa@centos7dev bin]$ behat -v
-bash: behat: command not found
[psqa@centos7dev bin]$ behat
-bash: behat: command not found
[psqa@centos7dev bin]$ sudo chmod +x behat
[psqa@centos7dev bin]$ behat
-bash: behat: command not found
[psqa@centos7dev bin]$ ls
behat  behat.bat  behat-menu.bat  phantomjs.exe  phpunit  phpunit.bat
[psqa@centos7dev bin]$ ls -la
total 18176
drwxrwxrwx.  2 psqa psqa      113 Oct 22 23:04 .
drwxrwxrwx. 10 root root     4096 Oct 22 23:04 ..
-rwxrwxrwx.  1 psqa psqa      308 Oct 22 23:04 behat
-rwxrwxrwx.  1 psqa psqa      122 Oct 22 23:04 behat.bat
-rwxrwxrwx.  1 psqa psqa     3724 Oct 22 23:04 behat-menu.bat
-rwxrwxrwx.  1 psqa psqa 18587648 Oct 22 23:04 phantomjs.exe
-rwxrwxrwx.  1 psqa psqa      310 Oct 22 23:04 phpunit
-rwxrwxrwx.  1 psqa psqa      124 Oct 22 23:04 phpunit.bat
[psqa@centos7dev bin]$ sh ./behat
./behat: line 3: cd: ../vendor/behat/behat/bin: No such file or directory
./behat: line 10: /behat: No such file or directory
[psqa@centos7dev bin]$ cd ..
[psqa@centos7dev behatmink]$ cd vendor
-bash: cd: vendor: No such file or directory
[psqa@centos7dev behatmink]$ ls
behat.yml  bin  composer.json  composer.lock  composer.phar  composer-setup.php  csmenu.bat  drush  features  in  tests
[psqa@centos7dev behatmink]$ ls
behat.yml  bin  composer.json  composer.lock  composer.phar  composer-setup.php  csmenu.bat  drush  features  in  tests
[psqa@centos7dev behatmink]$ php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 66 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.6.0): Loading from cache
  - Installing behat/gherkin (v4.5.1): Downloading (100%)         
  - Installing symfony/polyfill-mbstring (v1.9.0): Loading from cache
  - Installing symfony/polyfill-ctype (v1.9.0): Loading from cache
  - Installing symfony/dom-crawler (v4.1.6): Downloading (100%)         
  - Installing symfony/browser-kit (v4.1.6): Loading from cache
  - Installing symfony/css-selector (v3.4.17): Loading from cache
  - Installing behat/mink (v1.7.1): Downloading (100%)         
  - Installing behat/mink-browserkit-driver (1.3.3): Loading from cache
  - Installing behat/transliterator (v1.2.0): Downloading (100%)         
  - Installing psr/container (1.0.0): Loading from cache
  - Installing container-interop/container-interop (1.2.0): Loading from cache
  - Installing symfony/polyfill-iconv (v1.9.0): Loading from cache
  - Installing paragonie/random_compat (v2.0.17): Loading from cache
  - Installing drupal/core-utility (8.6.1): Downloading (100%)         
  - Installing drupal/core-render (8.6.1): Downloading (100%)         
  - Installing symfony/event-dispatcher (v3.4.17): Loading from cache
  - Installing symfony/dependency-injection (v3.4.17): Loading from cache
  - Installing symfony/process (v3.4.17): Loading from cache
  - Installing drupal/drupal-driver (v1.4.0): Downloading (100%)         
  - Installing instaclick/php-webdriver (1.4.5): Loading from cache
  - Installing behat/mink-selenium2-driver (v1.3.1): Downloading (100%)         
  - Installing psr/http-message (1.0.1): Loading from cache
  - Installing guzzlehttp/psr7 (1.4.2): Loading from cache
  - Installing guzzlehttp/promises (v1.3.1): Loading from cache
  - Installing guzzlehttp/guzzle (dev-master 3ff39a4): Cloning 3ff39a4d6e
  - Installing fabpot/goutte (v3.2.3): Loading from cache
  - Installing behat/mink-goutte-driver (v1.2.1): Loading from cache
  - Installing symfony/filesystem (v4.1.6): Downloading (100%)         
  - Installing symfony/config (v4.1.6): Downloading (100%)         
  - Installing symfony/yaml (v4.1.6): Downloading (100%)         
  - Installing symfony/translation (v4.1.6): Downloading (100%)         
  - Installing symfony/console (v4.1.6): Downloading (100%)         
  - Installing symfony/class-loader (v3.4.17): Loading from cache
  - Installing behat/behat (v3.5.0): Downloading (100%)         
    Skipped installation of bin bin/behat for package behat/behat: name conflicts with an existing file
  - Installing behat/mink-extension (2.3.1): Downloading (100%)         
  - Installing drupal/drupal-extension (v3.4.1): Downloading (100%)         
  - Installing drush-ops/behat-drush-endpoint (1.0.0): Downloading (100%)         
  - Installing webmozart/assert (1.3.0): Loading from cache
  - Installing phpdocumentor/reflection-common (1.0.1): Loading from cache
  - Installing phpdocumentor/type-resolver (0.4.0): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.0): Loading from cache
  - Installing phpunit/php-token-stream (2.0.2): Loading from cache
  - Installing sebastian/version (2.0.1): Loading from cache
  - Installing sebastian/resource-operations (1.0.0): Loading from cache
  - Installing sebastian/recursion-context (3.0.0): Loading from cache
  - Installing sebastian/object-reflector (1.1.1): Loading from cache
  - Installing sebastian/object-enumerator (3.0.3): Loading from cache
  - Installing sebastian/global-state (2.0.0): Loading from cache
  - Installing sebastian/exporter (3.1.0): Loading from cache
  - Installing sebastian/environment (3.1.0): Loading from cache
  - Installing sebastian/diff (2.0.1): Loading from cache
  - Installing sebastian/comparator (2.1.3): Loading from cache
  - Installing phpunit/php-text-template (1.2.1): Loading from cache
  - Installing doctrine/instantiator (1.1.0): Loading from cache
  - Installing phpunit/phpunit-mock-objects (5.0.10): Loading from cache
  - Installing phpunit/php-timer (1.0.9): Loading from cache
  - Installing phpunit/php-file-iterator (1.4.5): Loading from cache
  - Installing theseer/tokenizer (1.1.0): Loading from cache
  - Installing sebastian/code-unit-reverse-lookup (1.0.1): Loading from cache
  - Installing phpunit/php-code-coverage (5.3.2): Loading from cache
  - Installing phpspec/prophecy (1.8.0): Loading from cache
  - Installing phar-io/version (1.0.1): Loading from cache
  - Installing phar-io/manifest (1.0.1): Loading from cache
  - Installing myclabs/deep-copy (1.8.1): Loading from cache
  - Installing phpunit/phpunit (6.5.13): Loading from cache
    Skipped installation of bin phpunit for package phpunit/phpunit: name conflicts with an existing file
behat/mink suggests installing behat/mink-zombie-driver (fast and JS-enabled headless driver for any app (requires node.js))
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
symfony/event-dispatcher suggests installing symfony/http-kernel
symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
symfony/dependency-injection suggests installing symfony/finder (For using double-star glob patterns or when GLOB_BRACE portability is required)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
guzzlehttp/guzzle suggests installing psr/log (Required for using the Log middleware)
symfony/translation suggests installing psr/log-implementation (To use logging capability in translator)
symfony/console suggests installing psr/log-implementation (For using the console logger)
symfony/console suggests installing symfony/lock
symfony/class-loader suggests installing symfony/polyfill-apcu (For using ApcClassLoader on HHVM)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit-mock-objects suggests installing ext-soap (*)
phpunit/php-code-coverage suggests installing ext-xdebug (^2.5.5)
phpunit/phpunit suggests installing ext-xdebug (*)
phpunit/phpunit suggests installing phpunit/php-invoker (^1.1)
Generating autoload files
[psqa@centos7dev behatmink]$ sh ./behat
sh: ./behat: No such file or directory
[psqa@centos7dev behatmink]$ bin/behat -c behat.yml
@smoke @class_test
Feature: Reflection Test Feature2
  As an user, I want to be able to perform
  reflection tests

  @smoke
  Scenario: Test Should Pass # features/smoke/ReflectionSmokeTest.feature:6
    Given Test Should Pass   # FeatureContext::testShouldPass()
    When Test Result Passes  # FeatureContext::testResultPasses()
    Then Test Case Passes    # FeatureContext::testCasePasses()

  @smoke
  Scenario: Test Should Fail # features/smoke/ReflectionSmokeTest.feature:12
    Given Test Should Pass   # FeatureContext::testShouldPass()
    When Test Result Passes  # FeatureContext::testResultPasses()
    Then Test Case Fails     # FeatureContext::testCaseFails()
      Failed asserting that false is true.

--- Failed scenarios:

    features/smoke/ReflectionSmokeTest.feature:12

2 scenarios (1 passed, 1 failed)
6 steps (5 passed, 1 failed)
0m0.06s (11.26Mb)
[psqa@centos7dev behatmink]$ ls tests
behat
[psqa@centos7dev behatmink]$ ls tests/behat
behat-drush.yml  behat.smoke.yml  behat.yml  features
[psqa@centos7dev behatmink]$ bin/behat -c tests/behat/behat.smoke.yml --tags=smoke
@smoke
Feature: Testing Home Page conent
  As an user, I want to be able to test
  the home page text

  Scenario: Home Page Title Check      # features/smoke/login-custom.feature:6
    Given I am on "/"                  # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

  Scenario: testingThis Custom Function Works # features/smoke/login-custom.feature:17
    Given I am on "/"                         # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then Macro Log In As "TestAutomation"     # Util\LoginContext::macroLogInAs()
      │ ===============================================================
      │ >
    Then Macro Log Out                        # Util\LoginContext::macroLogOut()
      │ =========================clickLink(Log out)======================================
      │ ===================pageTextContains(Log in)============================================
      │ ===============================================================
      │

  Scenario: This Test Should Fail # features/smoke/login-custom.feature:28
    Given I am on "/"             # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then Macro Step Pass          # Util\LoginContext::pass()
    Then Macro Step Fail          # Util\LoginContext::fail()
      Failed asserting that false is true.

--- Failed scenarios:

    features/smoke/login-custom.feature:28

3 scenarios (2 passed, 1 failed)
8 steps (7 passed, 1 failed)
0m5.56s (12.07Mb)
[psqa@centos7dev behatmink]$ bin/behat -c tests/behat/behat.yml --tags=smoke
@smoke
Feature: Title of your feature
  I want to use this template for my feature file

  Scenario Outline: Data Driven Testing        # features/dev/datadriven.feature:12
    Given I have data for <name> field         # Drupal\FeatureContext::iHaveDataForNameField()
    When I use data <value> for entry          # Drupal\FeatureContext::iUseDataForEntry()
    Then I receive data <status> back from for # Drupal\FeatureContext::iReceiveDataSuccessBackFromFor()

    Examples:
      | name  | value | status  |
      | name1 | 5     | success |
        │ Name: name1
        │ Value: 5
        │ Status: success
      | name2 | 7     | Fail    |
        │ Name: name2
        │ Value: 7
        │ Status: Fail
      | name3 | 8     | success |
        │ Name: name3
        │ Value: 8
        │ Status: success

@smoke
Feature: Reflection Test Feature
  As an user, I want to be able to perform
  reflection tests

  Scenario: Test Should Pass # features/dev/ReflectionTest.feature:6
    Given Test Should Pass   # Drupal\FeatureContext::testShouldPass()
    When Test Result Passes  # Drupal\FeatureContext::testResultPasses()
    Then Test Case Passes    # Drupal\FeatureContext::testCasePasses()

  Scenario: Test Should Fail # features/dev/ReflectionTest.feature:11
    Given Test Should Pass   # Drupal\FeatureContext::testShouldPass()
    When Test Result Passes  # Drupal\FeatureContext::testResultPasses()
    Then Test Case Fails     # Drupal\FeatureContext::testCaseFails()
      Failed asserting that false is true.

--- Failed scenarios:

    features/dev/ReflectionTest.feature:11

5 scenarios (4 passed, 1 failed)
15 steps (14 passed, 1 failed)
0m0.09s (10.69Mb)
[psqa@centos7dev behatmink]$ ^C
[psqa@centos7dev behatmink]$ ls tests
behat
[psqa@centos7dev behatmink]$ ls tests/behat/features/dev/
basket.feature      footer.feature  login.feature           search.feature
datadriven.feature  home.feature    ReflectionTest.feature  selenium2.feature
[psqa@centos7dev behatmink]$ less tests/behat/features/dev/ReflectionTest.feature
[psqa@centos7dev behatmink]$ ls tests/behat/features/
bootstrap  dev  Drush  smoke
[psqa@centos7dev behatmink]$ ls tests/behat/features/bootstrap/
Dev  Drupal  Util
[psqa@centos7dev behatmink]$ ls tests/behat/features/bootstrap/Drupal/
FeatureContext.php
[psqa@centos7dev behatmink]$ ls
behat.yml  bin  composer.json  composer.lock  composer.phar  composer-setup.php  csmenu.bat  drush  features  in  tests  vendor
[psqa@centos7dev behatmink]$ less tests/behat/features/bootstrap/Drupal/FeatureContext.php
[psqa@centos7dev behatmink]$ bin/behat -c tests/behat/behat.yml
@class_test
Feature: Product basket
  In order to buy products
  As a customer
  I need to be able to put interesting products into a basket
 
  Rules:
  - VAT is 20%
  - Delivery for basket under $10 is $3
  - Delivery for basket over $10 is $2

  Scenario: Buying a single product under $10               # features/dev/basket.feature:12
    Given there is a "Sith Lord Lightsaber", which costs $5 # Drupal\FeatureContext::thereIsAWhichCosts()
    When I add the "Sith Lord Lightsaber" to the basket     # Drupal\FeatureContext::iAddTheToTheBasket()
    Then I should have 1 product in the basket              # Drupal\FeatureContext::iShouldHaveProductInTheBasket()
    And the overall basket price should be $9               # Drupal\FeatureContext::theOverallBasketPriceShouldBe()

  Scenario: Buying a single product over $10                 # features/dev/basket.feature:18
    Given there is a "Sith Lord Lightsaber", which costs $15 # Drupal\FeatureContext::thereIsAWhichCosts()
    When I add the "Sith Lord Lightsaber" to the basket      # Drupal\FeatureContext::iAddTheToTheBasket()
    Then I should have 1 product in the basket               # Drupal\FeatureContext::iShouldHaveProductInTheBasket()
    And the overall basket price should be $20               # Drupal\FeatureContext::theOverallBasketPriceShouldBe()

  Scenario: Buying two products over $10                     # features/dev/basket.feature:24
    Given there is a "Sith Lord Lightsaber", which costs $10 # Drupal\FeatureContext::thereIsAWhichCosts()
    And there is a "Jedi Lightsaber", which costs $5         # Drupal\FeatureContext::thereIsAWhichCosts()
    When I add the "Sith Lord Lightsaber" to the basket      # Drupal\FeatureContext::iAddTheToTheBasket()
    And I add the "Jedi Lightsaber" to the basket            # Drupal\FeatureContext::iAddTheToTheBasket()
    Then I should have 2 products in the basket              # Drupal\FeatureContext::iShouldHaveProductsInTheBasket()
    And the overall basket price should be $20               # Drupal\FeatureContext::theOverallBasketPriceShouldBe()

@smoke
Feature: Title of your feature
  I want to use this template for my feature file

  Scenario Outline: Data Driven Testing        # features/dev/datadriven.feature:12
    Given I have data for <name> field         # Drupal\FeatureContext::iHaveDataForNameField()
    When I use data <value> for entry          # Drupal\FeatureContext::iUseDataForEntry()
    Then I receive data <status> back from for # Drupal\FeatureContext::iReceiveDataSuccessBackFromFor()

    Examples:
      | name  | value | status  |
      | name1 | 5     | success |
        │ Name: name1
        │ Value: 5
        │ Status: success
      | name2 | 7     | Fail    |
        │ Name: name2
        │ Value: 7
        │ Status: Fail
      | name3 | 8     | success |
        │ Name: name3
        │ Value: 8
        │ Status: success

@drupal
Feature: Testing Footer Objects
  As an user, I want to be able to interact
  with the footer objects

  Scenario: Home Page Title            # features/dev/footer.feature:6
    Given I am on "/"                  # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)

  Scenario: Footer Validation                        # features/dev/footer.feature:11
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "2018" in the "copyright"      # Drupal\DrupalExtension\Context\MinkContext::assertRegionText()
      No region "copyright" found on the page . (Exception)
    Then I should see "Copyright" in the "copyright" # Drupal\DrupalExtension\Context\MinkContext::assertRegionText()
    When I click "Home" in the "main_menu"           # Drupal\DrupalExtension\Context\MinkContext::assertRegionLinkFollow()
    Then I should see "Home" in the "main_menu"      # Drupal\DrupalExtension\Context\MinkContext::assertRegionText()

@drupal
Feature: TestIng Home Page conent
  As an user, I want to be able to test
  the home page text

  Scenario: Home Page Title            # features/dev/home.feature:6
    Given I am on "/"                  # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)

  Scenario: Footer Validation     # features/dev/home.feature:11
    Given I am on "/"             # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Copyright" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)
    And I should see "2018"       # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

@drupal
Feature: Login Validation
  As an anonymouse user and
  as an authenticated user
  I want to use the login feature

  Scenario: Invalid User Cannot Login      # features/dev/login.feature:7
    Given I am on "/user/login"            # Drupal\DrupalExtension\Context\MinkContext::visit()
    When I fill in "edit-name" with "test" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-name" not found. (Behat\Mink\Exception\ElementNotFoundException)
    And I fill in "edit-pass" with "test"  # Drupal\DrupalExtension\Context\MinkContext::fillField()
    And I press "edit-submit"              # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "Forgot"             # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

  Scenario: Valid User Can Login           # features/dev/login.feature:15
    Given I am on "/user/login"            # Drupal\DrupalExtension\Context\MinkContext::visit()
    When I fill in "edit-name" with "test" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-name" not found. (Behat\Mink\Exception\ElementNotFoundException)
    And I fill in "edit-pass" with "test"  # Drupal\DrupalExtension\Context\MinkContext::fillField()
    And I press "edit-submit"              # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "Success"            # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

@smoke
Feature: Reflection Test Feature
  As an user, I want to be able to perform
  reflection tests

  Scenario: Test Should Pass # features/dev/ReflectionTest.feature:6
    Given Test Should Pass   # Drupal\FeatureContext::testShouldPass()
    When Test Result Passes  # Drupal\FeatureContext::testResultPasses()
    Then Test Case Passes    # Drupal\FeatureContext::testCasePasses()

  Scenario: Test Should Fail # features/dev/ReflectionTest.feature:11
    Given Test Should Pass   # Drupal\FeatureContext::testShouldPass()
    When Test Result Passes  # Drupal\FeatureContext::testResultPasses()
    Then Test Case Fails     # Drupal\FeatureContext::testCaseFails()
      Failed asserting that false is true.

@drupal
Feature: Testing Home Page Search
  As an user, I want to be able to perform
  search on the home page

  Scenario: Search fill                              # features/dev/search.feature:6
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I fill in "edit-keys" with "UnityConstruct" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-keys" not found. (Behat\Mink\Exception\ElementNotFoundException)
    Then I press "edit-submit"                       # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "UnityConstruct"               # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

  Scenario: Search no result                            # features/dev/search.feature:13
    Given I am on "/"                                   # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I fill in "edit-keys" with "zxysdfjlkwer"      # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-keys" not found. (Behat\Mink\Exception\ElementNotFoundException)
    Then I press "edit-submit"                          # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "zxysdfjlkwer"                    # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
    Then I should see "Your search yielded no results." # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

  Scenario: Search with result                       # features/dev/search.feature:21
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I fill in "edit-keys" with "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-keys" not found. (Behat\Mink\Exception\ElementNotFoundException)
    Then I press "edit-submit"                       # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "Drupal Testing"               # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

Feature: Testing Selenium2 Driver Hooks
  As an user, I want to be able to test
  Selenium2 driver hooks

  Scenario: Home Page Title                          # features/dev/selenium2.feature:5
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Drupal Testing"               # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)
    Then PageTitle should be "Home | UnityConstruct" # Drupal\FeatureContext::pagetitleShouldBe()

--- Failed scenarios:

    features/dev/footer.feature:6
    features/dev/footer.feature:11
    features/dev/home.feature:6
    features/dev/home.feature:11
    features/dev/login.feature:7
    features/dev/login.feature:15
    features/dev/ReflectionTest.feature:11
    features/dev/search.feature:6
    features/dev/search.feature:13
    features/dev/search.feature:21
    features/dev/selenium2.feature:5

18 scenarios (7 passed, 11 failed)
67 steps (38 passed, 11 failed, 18 skipped)
0m0.36s (11.26Mb)
[psqa@centos7dev behatmink]$ nmtui
[psqa@centos7dev behatmink]$ if config
> ^C
[psqa@centos7dev behatmink]$ ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.80  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::9eeb:3642:3c1b:de06  prefixlen 64  scopeid 0x20<link>
        inet6 fd00:8494:8c33:f7a2:cbfb:64bc:4049:35e2  prefixlen 64  scopeid 0x0<global>
        ether 08:00:27:6f:78:92  txqueuelen 1000  (Ethernet)
        RX packets 29849  bytes 37125813 (35.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5110  bytes 582906 (569.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 78  bytes 3900 (3.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 78  bytes 3900 (3.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

[psqa@centos7dev behatmink]$ curl https://unityconstruct.org
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0; url=https://unityconstruct.org/uc/" />
<title>UntyConstruct.org</title>
<style type="text/css">
.textCentered {
    text-align: center;
}
</style>
</head>
<body bgcolor="#FFFFFF" >
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<p class="textCentered">
<img src="/media/images/logos/UCTextLogoClear4.png" alt="logo"/>
</p>
<p>&nbsp;</p>
</body>
</html>

 

[psqa@centos7dev behatmink]$ bin/behat -c tests/behat/behat.yml
@class_test
Feature: Product basket
  In order to buy products
  As a customer
  I need to be able to put interesting products into a basket
 
  Rules:
  - VAT is 20%
  - Delivery for basket under $10 is $3
  - Delivery for basket over $10 is $2

  Scenario: Buying a single product under $10               # features/dev/basket.feature:12
    Given there is a "Sith Lord Lightsaber", which costs $5 # Drupal\FeatureContext::thereIsAWhichCosts()
    When I add the "Sith Lord Lightsaber" to the basket     # Drupal\FeatureContext::iAddTheToTheBasket()
    Then I should have 1 product in the basket              # Drupal\FeatureContext::iShouldHaveProductInTheBasket()
    And the overall basket price should be $9               # Drupal\FeatureContext::theOverallBasketPriceShouldBe()

  Scenario: Buying a single product over $10                 # features/dev/basket.feature:18
    Given there is a "Sith Lord Lightsaber", which costs $15 # Drupal\FeatureContext::thereIsAWhichCosts()
    When I add the "Sith Lord Lightsaber" to the basket      # Drupal\FeatureContext::iAddTheToTheBasket()
    Then I should have 1 product in the basket               # Drupal\FeatureContext::iShouldHaveProductInTheBasket()
    And the overall basket price should be $20               # Drupal\FeatureContext::theOverallBasketPriceShouldBe()

  Scenario: Buying two products over $10                     # features/dev/basket.feature:24
    Given there is a "Sith Lord Lightsaber", which costs $10 # Drupal\FeatureContext::thereIsAWhichCosts()
    And there is a "Jedi Lightsaber", which costs $5         # Drupal\FeatureContext::thereIsAWhichCosts()
    When I add the "Sith Lord Lightsaber" to the basket      # Drupal\FeatureContext::iAddTheToTheBasket()
    And I add the "Jedi Lightsaber" to the basket            # Drupal\FeatureContext::iAddTheToTheBasket()
    Then I should have 2 products in the basket              # Drupal\FeatureContext::iShouldHaveProductsInTheBasket()
    And the overall basket price should be $20               # Drupal\FeatureContext::theOverallBasketPriceShouldBe()

@smoke
Feature: Title of your feature
  I want to use this template for my feature file

  Scenario Outline: Data Driven Testing        # features/dev/datadriven.feature:12
    Given I have data for <name> field         # Drupal\FeatureContext::iHaveDataForNameField()
    When I use data <value> for entry          # Drupal\FeatureContext::iUseDataForEntry()
    Then I receive data <status> back from for # Drupal\FeatureContext::iReceiveDataSuccessBackFromFor()

    Examples:
      | name  | value | status  |
      | name1 | 5     | success |
        │ Name: name1
        │ Value: 5
        │ Status: success
      | name2 | 7     | Fail    |
        │ Name: name2
        │ Value: 7
        │ Status: Fail
      | name3 | 8     | success |
        │ Name: name3
        │ Value: 8
        │ Status: success

@drupal
Feature: Testing Footer Objects
  As an user, I want to be able to interact
  with the footer objects

  Scenario: Home Page Title            # features/dev/footer.feature:6
    Given I am on "/"                  # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)

  Scenario: Footer Validation                        # features/dev/footer.feature:11
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "2018" in the "copyright"      # Drupal\DrupalExtension\Context\MinkContext::assertRegionText()
      No region "copyright" found on the page . (Exception)
    Then I should see "Copyright" in the "copyright" # Drupal\DrupalExtension\Context\MinkContext::assertRegionText()
    When I click "Home" in the "main_menu"           # Drupal\DrupalExtension\Context\MinkContext::assertRegionLinkFollow()
    Then I should see "Home" in the "main_menu"      # Drupal\DrupalExtension\Context\MinkContext::assertRegionText()

@drupal
Feature: TestIng Home Page conent
  As an user, I want to be able to test
  the home page text

  Scenario: Home Page Title            # features/dev/home.feature:6
    Given I am on "/"                  # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)

  Scenario: Footer Validation     # features/dev/home.feature:11
    Given I am on "/"             # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Copyright" # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)
    And I should see "2018"       # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

@drupal
Feature: Login Validation
  As an anonymouse user and
  as an authenticated user
  I want to use the login feature

  Scenario: Invalid User Cannot Login      # features/dev/login.feature:7
    Given I am on "/user/login"            # Drupal\DrupalExtension\Context\MinkContext::visit()
    When I fill in "edit-name" with "test" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-name" not found. (Behat\Mink\Exception\ElementNotFoundException)
    And I fill in "edit-pass" with "test"  # Drupal\DrupalExtension\Context\MinkContext::fillField()
    And I press "edit-submit"              # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "Forgot"             # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

  Scenario: Valid User Can Login           # features/dev/login.feature:15
    Given I am on "/user/login"            # Drupal\DrupalExtension\Context\MinkContext::visit()
    When I fill in "edit-name" with "test" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-name" not found. (Behat\Mink\Exception\ElementNotFoundException)
    And I fill in "edit-pass" with "test"  # Drupal\DrupalExtension\Context\MinkContext::fillField()
    And I press "edit-submit"              # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "Success"            # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

@smoke
Feature: Reflection Test Feature
  As an user, I want to be able to perform
  reflection tests

  Scenario: Test Should Pass # features/dev/ReflectionTest.feature:6
    Given Test Should Pass   # Drupal\FeatureContext::testShouldPass()
    When Test Result Passes  # Drupal\FeatureContext::testResultPasses()
    Then Test Case Passes    # Drupal\FeatureContext::testCasePasses()

  Scenario: Test Should Fail # features/dev/ReflectionTest.feature:11
    Given Test Should Pass   # Drupal\FeatureContext::testShouldPass()
    When Test Result Passes  # Drupal\FeatureContext::testResultPasses()
    Then Test Case Fails     # Drupal\FeatureContext::testCaseFails()
      Failed asserting that false is true.

@drupal
Feature: Testing Home Page Search
  As an user, I want to be able to perform
  search on the home page

  Scenario: Search fill                              # features/dev/search.feature:6
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I fill in "edit-keys" with "UnityConstruct" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-keys" not found. (Behat\Mink\Exception\ElementNotFoundException)
    Then I press "edit-submit"                       # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "UnityConstruct"               # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

  Scenario: Search no result                            # features/dev/search.feature:13
    Given I am on "/"                                   # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I fill in "edit-keys" with "zxysdfjlkwer"      # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-keys" not found. (Behat\Mink\Exception\ElementNotFoundException)
    Then I press "edit-submit"                          # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "zxysdfjlkwer"                    # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
    Then I should see "Your search yielded no results." # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

  Scenario: Search with result                       # features/dev/search.feature:21
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I fill in "edit-keys" with "Drupal Testing" # Drupal\DrupalExtension\Context\MinkContext::fillField()
      Form field with id|name|label|value|placeholder "edit-keys" not found. (Behat\Mink\Exception\ElementNotFoundException)
    Then I press "edit-submit"                       # Drupal\DrupalExtension\Context\MinkContext::pressButton()
    Then I should see "Drupal Testing"               # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()

Feature: Testing Selenium2 Driver Hooks
  As an user, I want to be able to test
  Selenium2 driver hooks

  Scenario: Home Page Title                          # features/dev/selenium2.feature:5
    Given I am on "/"                                # Drupal\DrupalExtension\Context\MinkContext::visit()
    Then I should see "Drupal Testing"               # Drupal\DrupalExtension\Context\MinkContext::assertPageContainsText()
      Element not found with xpath, //html
       (WebDriver\Exception\NoSuchElement)
    Then PageTitle should be "Home | UnityConstruct" # Drupal\FeatureContext::pagetitleShouldBe()

--- Failed scenarios:

    features/dev/footer.feature:6
    features/dev/footer.feature:11
    features/dev/home.feature:6
    features/dev/home.feature:11
    features/dev/login.feature:7
    features/dev/login.feature:15
    features/dev/ReflectionTest.feature:11
    features/dev/search.feature:6
    features/dev/search.feature:13
    features/dev/search.feature:21
    features/dev/selenium2.feature:5

18 scenarios (7 passed, 11 failed)
67 steps (38 passed, 11 failed, 18 skipped)
0m0.38s (11.26Mb)
[psqa@centos7dev behatmink]$ ls
behat.yml  bin  composer.json  composer.lock  composer.phar  composer-setup.php  csmenu.bat  drush  features  in  tests  vendor
[psqa@centos7dev behatmink]$ cat tests/behat/behat.yml
default:
 #autoload: set this up per profile
 #            use paths to control settings on a per-suite basis
 #             suites:default:paths:
 #             suites:suite_A:paths:
 #             suites:suite_B:paths:
 
  autoload:
    - "%paths.base%/features/bootstrap"
  suites:
    default:
      # paths: seems to work fine & might have test suite - granularity
      paths:
        # features: in/a/strange/place
        features: "%paths.base%/features/dev"
        #bootstrap: features/bootstrap
      contexts:
      # be sure to account for namespaces
      #   so if FeatureContext has 'namespace Drupal;'
      #   use Drupal\FeatureContext and place the file in
      #   /features/bootstrap/Drupal/FeatureContext.php
      - Drupal\FeatureContext
      - Drupal\DrupalExtension\Context\DrupalContext
      - Drupal\DrupalExtension\Context\MinkContext
      - Drupal\DrupalExtension\Context\MessageContext
      - Drupal\DrupalExtension\Context\DrushContext
#    TestSuiteA:
#      contexts:
#      - FeatureContext
 
  extensions:
    Behat\MinkExtension:
      base_url: http://unityconstruct.org/uc/
      

      #goutte: ~
      # goutte/curl will take precedence when not commented
      #   so it is commented when using phantomjs
      
      selenium2:
        # webdriver port/socket
        wd_host: "http://localhost:8643/wd/hub"
          
        # aparently has no effect when using phantomjs
        browser: phantomjs

    Drupal\DrupalExtension:
      blackbox: ~
      # Use region_map: to narrow scope of selector search
      region_map:
        footer: ".footer-menu"
        copyright: ".copyright"
        main_menu: "#main-menu"

p_phantomjs:

 

p_goutte:
[psqa@centos7dev behatmink]$ less tests/behat/behat.yml
[psqa@centos7dev behatmink]$ cd ~
[psqa@centos7dev ~]$ mkdir phantomjs
[psqa@centos7dev ~]$ cd phantomjs
[psqa@centos7dev phantomjs]$ curl https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
[psqa@centos7dev phantomjs]$ ls
[psqa@centos7dev phantomjs]$ wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
--2018-10-22 23:22:56--  https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
Resolving bitbucket.org (bitbucket.org)... 18.205.93.2, 18.205.93.0, 18.205.93.1, ...
Connecting to bitbucket.org (bitbucket.org)|18.205.93.2|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=22ytIeVn8hki%2F5nFRa%2F2eN0LkKc%3D&Expires=1540269516&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22 [following]
--2018-10-22 23:22:56--  https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=22ytIeVn8hki%2F5nFRa%2F2eN0LkKc%3D&Expires=1540269516&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 52.216.16.112
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|52.216.16.112|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23415665 (22M) [application/x-tar]
Saving to: ‘phantomjs-2.1.1-linux-x86_64.tar.bz2’

100%[=========================================================================================>] 23,415,665  18.0MB/s   in 1.2s   

2018-10-22 23:22:57 (18.0 MB/s) - ‘phantomjs-2.1.1-linux-x86_64.tar.bz2’ saved [23415665/23415665]

[psqa@centos7dev phantomjs]$ ls
phantomjs-2.1.1-linux-x86_64.tar.bz2
[psqa@centos7dev phantomjs]$ tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2
tar (child): cannot run bzip2: No such file or directory
tar (child): trying lbzip2
tar (child): lbzip2: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
[psqa@centos7dev phantomjs]$ ls
phantomjs-2.1.1-linux-x86_64.tar.bz2
[psqa@centos7dev phantomjs]$ bzip2 -d phantomjs-2.1.1-linux-x86_64.tar.bz2
-bash: bzip2: command not found
[psqa@centos7dev phantomjs]$ yum install bzip2
Loaded plugins: fastestmirror
You need to be root to perform this command.
[psqa@centos7dev phantomjs]$ sudo yum install bzip2
[sudo] password for psqa:
Sorry, try again.
[sudo] password for psqa:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                                                        |  13 kB  00:00:00     
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
base                                                                                                        | 3.6 kB  00:00:00     
epel                                                                                                        | 3.2 kB  00:00:00     
extras                                                                                                      | 3.4 kB  00:00:00     
ius                                                                                                         | 2.3 kB  00:00:00     
jenkins                                                                                                     | 2.9 kB  00:00:00     
updates                                                                                                     | 3.4 kB  00:00:00     
(1/4): epel/x86_64/updateinfo                                                                               | 932 kB  00:00:00     
(2/4): epel/x86_64/primary                                                                                  | 3.6 MB  00:00:00     
(3/4): updates/7/x86_64/primary_db                                                                          | 6.0 MB  00:00:00     
(4/4): ius/x86_64/primary_db                                                                                | 398 kB  00:00:00     
epel                                                                                                                   12742/12742
Resolving Dependencies
--> Running transaction check
---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                      Arch                          Version                              Repository                   Size
===================================================================================================================================
Installing:
 bzip2                        x86_64                        1.0.6-13.el7                         base                         52 k

Transaction Summary
===================================================================================================================================
Install  1 Package

Total download size: 52 k
Installed size: 82 k
Is this ok [y/d/N]: y
Downloading packages:
bzip2-1.0.6-13.el7.x86_64.rpm                                                                               |  52 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : bzip2-1.0.6-13.el7.x86_64                                                                                       1/1
  Verifying  : bzip2-1.0.6-13.el7.x86_64                                                                                       1/1

Installed:
  bzip2.x86_64 0:1.0.6-13.el7                                                                                                      

Complete!
[psqa@centos7dev phantomjs]$

 

 

 

 

 

 

 

 

 

 

 

pplications  info  man
[psqa@centos7dev share]$ wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
--2018-10-22 23:40:23--  https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
Resolving bitbucket.org (bitbucket.org)... 18.205.93.1, 18.205.93.2, 18.205.93.0, ...
Connecting to bitbucket.org (bitbucket.org)|18.205.93.1|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=Ci3FB%2BH74fmNjiOoNLfnN3Bhw8Y%3D&Expires=1540270495&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22 [following]
--2018-10-22 23:40:23--  https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=Ci3FB%2BH74fmNjiOoNLfnN3Bhw8Y%3D&Expires=1540270495&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 54.231.72.139
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|54.231.72.139|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23415665 (22M) [application/x-tar]
phantomjs-2.1.1-linux-x86_64.tar.bz2: Permission denied

Cannot write to ‘phantomjs-2.1.1-linux-x86_64.tar.bz2’ (Success).
[psqa@centos7dev share]$ sudo wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
--2018-10-22 23:40:35--  https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2
Resolving bitbucket.org (bitbucket.org)... 18.205.93.0, 18.205.93.1, 18.205.93.2, ...
Connecting to bitbucket.org (bitbucket.org)|18.205.93.0|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=Ci3FB%2BH74fmNjiOoNLfnN3Bhw8Y%3D&Expires=1540270495&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22 [following]
--2018-10-22 23:40:35--  https://bbuseruploads.s3.amazonaws.com/fd96ed93-2b32-46a7-9d2b-ecbc0988516a/downloads/396e7977-71fd-4592-8723-495ca4cfa7cc/phantomjs-2.1.1-linux-x86_64.tar.bz2?Signature=Ci3FB%2BH74fmNjiOoNLfnN3Bhw8Y%3D&Expires=1540270495&AWSAccessKeyId=AKIAIQWXW6WLXMB5QZAQ&versionId=null&response-content-disposition=attachment%3B%20filename%3D%22phantomjs-2.1.1-linux-x86_64.tar.bz2%22
Resolving bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)... 52.216.21.59
Connecting to bbuseruploads.s3.amazonaws.com (bbuseruploads.s3.amazonaws.com)|52.216.21.59|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23415665 (22M) [application/x-tar]
Saving to: ‘phantomjs-2.1.1-linux-x86_64.tar.bz2’

100%[=========================================================================================>] 23,415,665  22.0MB/s   in 1.0s   

2018-10-22 23:40:37 (22.0 MB/s) - ‘phantomjs-2.1.1-linux-x86_64.tar.bz2’ saved [23415665/23415665]

[psqa@centos7dev share]$ sudo tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2
[psqa@centos7dev share]$ cd phantomjs-2.1.1-linux-x86_64B
-bash: cd: phantomjs-2.1.1-linux-x86_64B: No such file or directory
[psqa@centos7dev share]$ cd phantomjs-2.1.1-linux-x86_64
[psqa@centos7dev phantomjs-2.1.1-linux-x86_64]$ ls
bin  ChangeLog  examples  LICENSE.BSD  README.md  third-party.txt
[psqa@centos7dev phantomjs-2.1.1-linux-x86_64]$ cd bin
[psqa@centos7dev bin]$ phantomjs
-bash: phantomjs: command not found
[psqa@centos7dev bin]$ ./phantomjs
./phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
[psqa@centos7dev bin]$ cd ~
[psqa@centos7dev ~]$ sudo yum install libfontconfig.so.l
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
No package libfontconfig.so.l available.
Error: Nothing to do
[psqa@centos7dev ~]$ sudo yum install libfontconfig
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
No package libfontconfig available.
Error: Nothing to do

 

 

 

 

 

 

yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++

 

[psqa@centos7dev share]$ sudo tar xjf phantomjs-2.1.1-linux-x86_64.tar.bz2
[psqa@centos7dev share]$ cd phantomjs-2.1.1-linux-x86_64B
-bash: cd: phantomjs-2.1.1-linux-x86_64B: No such file or directory
[psqa@centos7dev share]$ cd phantomjs-2.1.1-linux-x86_64
[psqa@centos7dev phantomjs-2.1.1-linux-x86_64]$ ls
bin  ChangeLog  examples  LICENSE.BSD  README.md  third-party.txt
[psqa@centos7dev phantomjs-2.1.1-linux-x86_64]$ cd bin
[psqa@centos7dev bin]$ phantomjs
-bash: phantomjs: command not found
[psqa@centos7dev bin]$ ./phantomjs
./phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
[psqa@centos7dev bin]$ cd ~
[psqa@centos7dev ~]$ sudo yum install libfontconfig.so.l
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
No package libfontconfig.so.l available.
Error: Nothing to do
[psqa@centos7dev ~]$ sudo yum install libfontconfig
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
No package libfontconfig available.
Error: Nothing to do
[psqa@centos7dev ~]$ sudo yum install fontconfig freetype freetype-devel fontconfig-devel libstdc++
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.dal10.us.leaseweb.net
 * epel: pubmirror1.math.uh.edu
 * extras: mirror.dal10.us.leaseweb.net
 * ius: dfw.mirror.rackspace.com
 * updates: mirror.dal10.us.leaseweb.net
Package freetype-2.4.11-15.el7.x86_64 already installed and latest version
Package libstdc++-4.8.5-28.el7_5.1.x86_64 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package fontconfig.x86_64 0:2.10.95-11.el7 will be installed
---> Package fontconfig-devel.x86_64 0:2.10.95-11.el7 will be installed
--> Processing Dependency: pkgconfig(expat) for package: fontconfig-devel-2.10.95-11.el7.x86_64
---> Package freetype-devel.x86_64 0:2.4.11-15.el7 will be installed
--> Processing Dependency: zlib-devel for package: freetype-devel-2.4.11-15.el7.x86_64
--> Running transaction check
---> Package expat-devel.x86_64 0:2.1.0-10.el7_3 will be installed
---> Package zlib-devel.x86_64 0:1.2.7-17.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

===================================================================================================================================
 Package                              Arch                       Version                            Repository                Size
===================================================================================================================================
Installing:
 fontconfig                           x86_64                     2.10.95-11.el7                     base                     229 k
 fontconfig-devel                     x86_64                     2.10.95-11.el7                     base                     128 k
 freetype-devel                       x86_64                     2.4.11-15.el7                      base                     356 k
Installing for dependencies:
 expat-devel                          x86_64                     2.1.0-10.el7_3                     base                      57 k
 zlib-devel                           x86_64                     1.2.7-17.el7                       base                      50 k

Transaction Summary
===================================================================================================================================
Install  3 Packages (+2 Dependent packages)

Total download size: 820 k
Installed size: 3.3 M
Is this ok [y/d/N]: y
Downloading packages:
(1/5): expat-devel-2.1.0-10.el7_3.x86_64.rpm                                                                |  57 kB  00:00:00     
(2/5): fontconfig-devel-2.10.95-11.el7.x86_64.rpm                                                           | 128 kB  00:00:00     
(3/5): freetype-devel-2.4.11-15.el7.x86_64.rpm                                                              | 356 kB  00:00:00     
(4/5): zlib-devel-1.2.7-17.el7.x86_64.rpm                                                                   |  50 kB  00:00:00     
(5/5): fontconfig-2.10.95-11.el7.x86_64.rpm                                                                 | 229 kB  00:00:00     
-----------------------------------------------------------------------------------------------------------------------------------
Total                                                                                              1.4 MB/s | 820 kB  00:00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : expat-devel-2.1.0-10.el7_3.x86_64                                                                               1/5
  Installing : zlib-devel-1.2.7-17.el7.x86_64                                                                                  2/5
  Installing : freetype-devel-2.4.11-15.el7.x86_64                                                                             3/5
  Installing : fontconfig-2.10.95-11.el7.x86_64                                                                                4/5
  Installing : fontconfig-devel-2.10.95-11.el7.x86_64                                                                          5/5
  Verifying  : freetype-devel-2.4.11-15.el7.x86_64                                                                             1/5
  Verifying  : fontconfig-devel-2.10.95-11.el7.x86_64                                                                          2/5
  Verifying  : fontconfig-2.10.95-11.el7.x86_64                                                                                3/5
  Verifying  : zlib-devel-1.2.7-17.el7.x86_64                                                                                  4/5
  Verifying  : expat-devel-2.1.0-10.el7_3.x86_64                                                                               5/5

Installed:
  fontconfig.x86_64 0:2.10.95-11.el7      fontconfig-devel.x86_64 0:2.10.95-11.el7      freetype-devel.x86_64 0:2.4.11-15.el7     

Dependency Installed:
  expat-devel.x86_64 0:2.1.0-10.el7_3                               zlib-devel.x86_64 0:1.2.7-17.el7                              

Complete!

 

 

Tags