From f58d98fcb9108121d1ebd285f9200321d352ab12 Mon Sep 17 00:00:00 2001 From: vikassy Date: Thu, 17 Jul 2014 22:35:30 +0530 Subject: [PATCH] WIP [BrowserTest] Modified conflicting step: I go to the (.*?) page Change-Id: Ie0ff326890efddf255320da62a2dd1ec46ffae20 --- .../features/step_definitions/language_screenshot_steps.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb b/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb index 222f127a86..539029042e 100644 --- a/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb +++ b/modules/ve-mw/tests/browser/features/step_definitions/language_screenshot_steps.rb @@ -11,16 +11,16 @@ end Given (/^I go to "(.+)" page which has references$/) do |page_title| wikitext = "VisualEditor is a MediaWiki extension.[http://www.mediawiki.org/wiki/Extension:VisualEditor Extension:VisualEditor]" on(APIPage).create page_title, wikitext - step "I go to the #{page_title} page" + step "I go to the #{page_title} page for screenshot" step "I click in the editable part" end Given(/^I go to the "(.*?)" page with source content "(.*?)"$/) do |page_title, page_content| on(APIPage).create page_title, page_content - step "I go to the #{page_title} page" + step "I go to the #{page_title} page for screenshot" end -Given(/^I go to the (.+) page$/) do |page_name| +Given(/^I go to the (.*?) page for screenshot$/) do |page_name| step "I am on the #{page_name} page" @browser.goto "#{@browser.url}&uselang=#{ENV['LANGUAGE_SCREENSHOT_CODE']}" end