Updated: Integration tests for off-screen IME selector
1. Removed sleep 1.0, not needed, 2. Removed ascii_vector.rb and ascii_mono.rb as we use, using_params now. Change-Id: Ieeb0eb3a58805fcbfdfd0a3349a427d4757472cb
This commit is contained in:
@@ -72,13 +72,11 @@ Then(/^in it there must be an element with Malayalam text$/) do
|
|||||||
end
|
end
|
||||||
|
|
||||||
When(/^I visit page in Vector skin$/) do
|
When(/^I visit page in Vector skin$/) do
|
||||||
sleep 1.0;
|
visit(ULSPage, :using_params => {:extra => "useskin=vector"})
|
||||||
visit(AsciiVector)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
When(/^I visit page in Monobook skin$/) do
|
When(/^I visit page in Monobook skin$/) do
|
||||||
sleep 1.0;
|
visit(ULSPage, :using_params => {:extra => "useskin=monobook"})
|
||||||
visit(AsciiMono)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
Then(/^I should see the input method menu is not offscreen$/) do
|
Then(/^I should see the input method menu is not offscreen$/) do
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
class AsciiMono
|
|
||||||
include PageObject
|
|
||||||
|
|
||||||
include URL
|
|
||||||
def self.url
|
|
||||||
URL.url('ASCII?useskin=monobook')
|
|
||||||
end
|
|
||||||
page_url url
|
|
||||||
end
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
class AsciiVector
|
|
||||||
include PageObject
|
|
||||||
|
|
||||||
include URL
|
|
||||||
def self.url
|
|
||||||
URL.url('ASCII?useskin=vector')
|
|
||||||
end
|
|
||||||
page_url url
|
|
||||||
end
|
|
||||||
Reference in New Issue
Block a user