Removed random page

Using a dedicated page instead of a random page. Paired  with Amir
Aharoni.
Bug: 62479
Change-Id: I3750ecf972f52f205fd30855455ef6259b9c911d
This commit is contained in:
Zeljko Filipin
2014-03-11 16:13:16 +01:00
parent 3797187998
commit b4af650730
13 changed files with 35 additions and 47 deletions

View File

@@ -1,7 +1,7 @@
# encoding: utf-8
Given(/^I am on a wiki in Kotava language$/) do
visit RandomPage
step "I am at the main page"
# Fake a Kotava Wiki
@browser.execute_script( "mw.config.set( 'wgContentLanguage', 'avk' )" )
end
@@ -54,10 +54,6 @@ When(/^I press Control-M$/) do
on(IMEPage).search_input_element.send_keys [:control, "m"]
end
When(/^I go to another random page$/) do
visit RandomPage
end
Then(/^in it there must be an element with Malayalam text$/) do
# 'input_method_enabled' alone only returns []
on(IMEPage) do |page|