mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 17:50:39 +00:00
3ea86361a4
The new oouified echo popup makes the tests invalid; this commit rewrites those tests. Also by doing this commit we are upgrading to Selenium 1.4. Change-Id: I26215558768d55be449276c55b4b745c3a458ecb
12 lines
196 B
Ruby
12 lines
196 B
Ruby
# Data manager for Echo tests
|
|
class DataManager
|
|
def initialize
|
|
@data = {}
|
|
end
|
|
|
|
def get(part)
|
|
@data[part] = "#{part}_#{Random.srand}" unless @data.key? part
|
|
@data[part]
|
|
end
|
|
end
|