zeljkofilipin added a comment.

I have managed to reproduce it locally, with this `config.yml`

  # beta instance configuration
  WIKIDATA_REPO_URL: "http://wikidata.beta.wmflabs.org/wiki/";
  WIKIDATA_REPO_API: "http://wikidata.beta.wmflabs.org/w/api.php";
  WB_REPO_USERNAME: "Selenium_user"
  WB_REPO_PASSWORD: "not-the-real-one"
  
  # the namespace of the data items (e.g. "Data:" or "" for main namespace)
  ITEM_NAMESPACE: ""
  PROPERTY_NAMESPACE: "Property:"
  ITEM_ID_PREFIX: "Q"
  PROPERTY_ID_PREFIX: "P"
  LANGUAGE_CODE: "en"
  
  # local browser configuration
  BROWSER: "firefox"



  $ bundle exec cucumber features/sitelinks.feature:123
  # Wikidata UI tests
  #
  # Author:: Tobias Gritschacher ([email protected])
  # License:: GNU GPL v2+
  #
  # feature definition for item sitelinks tests
  @chrome @firefox @internet_explorer_10 @internet_explorer_11 @local_config 
@wikidata.beta.wmflabs.org
  Feature: Edit sitelinks
  
    Background:                                    # 
features/sitelinks.feature:11
      Given I am on an item page                   # 
features/step_definitions/entity_steps.rb:17
      And The copyright warning has been dismissed # 
features/step_definitions/entity_steps.rb:87
      And Anonymous edit warnings are disabled     # 
features/step_definitions/entity_steps.rb:91
  
    @modify_entity @save_sitelink @smoke
    Scenario Outline: Save sitelink                # 
features/sitelinks.feature:112
      Given The following sitelinks do not exist:  # 
features/step_definitions/entity_steps.rb:100
        | enwiki | Asia |
      When I click the sitelink edit button        # 
features/step_definitions/sitelinks_steps.rb:13
      And I type en into the 1. siteid input field # 
features/step_definitions/sitelinks_steps.rb:43
      And I type Asia into the 1. page input field # 
features/step_definitions/sitelinks_steps.rb:47
      And I <save>                                 # 
features/step_definitions/sitelinks_steps.rb:21
      Then There should be 1 sitelinks in the list # 
features/step_definitions/sitelinks_steps.rb:134
  
      Examples: 
        | save                           |
        | click the sitelink save button |
        no implicit conversion of String into Integer (TypeError)
        ./features/step_definitions/entity_steps.rb:104:in `block (2 levels) in 
<top (required)>'
        ./features/step_definitions/entity_steps.rb:103:in `each'
        ./features/step_definitions/entity_steps.rb:103:in `/^The following 
sitelinks do not exist:$/'
        features/sitelinks.feature:113:in `Given The following sitelinks do not 
exist:'
  
  Failing Scenarios:
  cucumber features/sitelinks.feature:112 # Scenario: Save sitelink
  
  1 scenario (1 failed)
  9 steps (1 failed, 5 skipped, 3 passed)
  0m11.570s


TASK DETAIL
  https://phabricator.wikimedia.org/T111069

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: zeljkofilipin
Cc: Aklapper, WMDE-Fisch, zeljkofilipin, JanZerebecki, Wikidata-bugs, aude, greg



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to