403Webshell
Server IP : 104.21.80.248  /  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 :  E:/Inetpub/www/myschool/triamudom/tuprblearn/admin/tests/behat/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : E:/Inetpub/www/myschool/triamudom/tuprblearn/admin/tests/behat/invalid_allcountrycodes.feature
@core @core_admin
Feature: Administrator is warned and when trying to set invalid allcountrycodes value.
  In order to avoid misconfiguration of the country selector fields
  As an admin
  I want to be warned when I try to set an invalid country code in the allcountrycodes field

  Scenario: Attempting to set allcountrycodes field with valid country codes
    Given I log in as "admin"
    And I navigate to "Location > Location settings" in site administration
    When I set the following administration settings values:
      | All country codes | CZ,BE,GB,ES |
    Then I should not see "Invalid country code"

  Scenario: Attempting to set allcountrycodes field with invalid country code
    Given I log in as "admin"
    And I navigate to "Location > Location settings" in site administration
    When I set the following administration settings values:
      | All country codes | CZ,BE,FOOBAR,GB,ES |
    Then I should see "Invalid country code: FOOBAR"

  Scenario: Attempting to unset allcountrycodes field
    Given I log in as "admin"
    And I navigate to "Location > Location settings" in site administration
    And I set the following administration settings values:
      | All country codes | CZ,BE,GB,ES |
    And I navigate to "Location > Location settings" in site administration
    When I set the following administration settings values:
      | All country codes | |
    Then I should not see "Invalid country code"

Youez - 2016 - github.com/yon3zu
LinuXploit