403Webshell
Server IP : 172.67.187.206  /  Your IP : 172.71.28.156
Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30
System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586
User : SYSTEM ( 0)
PHP Version : 5.6.30
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Inetpub/www/myschool/triamudom/tuprblearn/search/tests/behat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Inetpub/www/myschool/triamudom/tuprblearn/search/tests/behat/setup_search_engine.feature
@core @core_search
Feature: Plugins > Search > Search setup contains Setup search engine only if the target section actually exists
  In order to set up the selected search engine
  As an admin
  I need to be able to click the link 'Setup search engine' but only if the target section actually exists

  Scenario: Selected search engine has an admin section
    Given the following config values are set as admin:
      | enableglobalsearch | 1        |
      | searchengine       | solr     |
    And I log in as "admin"
    When I navigate to "Plugins > Search" in site administration
    Then "Setup search engine" "link" should exist

  Scenario: Selected search engine does not have an admin section
    Given the following config values are set as admin:
      | enableglobalsearch | 1        |
      | searchengine       | simpledb |
    And I log in as "admin"
    When I navigate to "Plugins > Search" in site administration
    Then I should see "Setup search engine"
    And "Setup search engine" "link" should not exist

Youez - 2016 - github.com/yon3zu
LinuXploit