mediawiki-selenium 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6012290cc0d5095d3bed985b963c6a9a7f8bb479
4
- data.tar.gz: 1b4a1d9fdbabeebbe4e9682ce4a86123f2a6fe28
3
+ metadata.gz: 0dcef54dd1a6ef4602f00366025727fe350eecc7
4
+ data.tar.gz: a96f8a05184055b00287ec52e61671f6fca1dcfd
5
5
  SHA512:
6
- metadata.gz: 3563580df66ee26e38e5e4ba22ad4bf16d8864781ad93556ac7a2b3ef653a4049c8a3f8ec12d89d89b7eb93abb171b17bc2ec29248b380ddb7be9383abc05c06
7
- data.tar.gz: c32980d817930e0684296d6fe976a3643c8e1a9c45eeb4b5feccef6c0354f5fa62ed066299abdb46fbfd08d47474412cb46d1558784b140ab60653844dbf801e
6
+ metadata.gz: 57646104f01e3f842dfaf9e5d977092f65f7955cb331757123fb144e83d58e87074aa4b765f14b6ad90cf182dc7e70e2f3851b9cbc882f3d2815718cc296b6e8
7
+ data.tar.gz: 5540a18845d53b99263294b5ed790d509bee133a5e95c1ae80ae60944b1b542ec4749ac96c79ec9d101f0a127621d154505b34de1a39c799f1b5f045166dad58
@@ -1,3 +1,14 @@
1
+ =begin
2
+ This file is subject to the license terms in the LICENSE file found in the
3
+ mediawiki-selenium top-level directory of and at
4
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/LICENSE. No part of
5
+ mediawiki-selenium, including this file, may be copied, modified, propagated, or
6
+ distributed except according to the terms contained in the LICENSE file.
7
+ Copyright 2013 by the Mediawiki developers. See the CREDITS file in the
8
+ mediawiki-selenium top-level directory and at
9
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
10
+ =end
11
+
1
12
  # before all
2
13
  require 'bundler/setup'
3
14
  require 'page-object'
@@ -90,9 +101,9 @@ def test_name(scenario)
90
101
  end
91
102
 
92
103
  config = YAML.load_file('config/config.yml')
93
- mediawiki_username = config['mediawiki_username']
94
104
 
95
105
  Before('@login') do
106
+ puts "MEDIAWIKI_USER environment variable is not defined! Please export a value for that variable before proceeding." unless ENV['MEDIAWIKI_USER']
96
107
  puts "MEDIAWIKI_PASSWORD environment variable is not defined! Please export a value for that variable before proceeding." unless ENV['MEDIAWIKI_PASSWORD']
97
108
  end
98
109
 
@@ -104,7 +115,6 @@ end
104
115
  Before do |scenario|
105
116
  @config = config
106
117
  @random_string = Random.new.rand.to_s
107
- @mediawiki_username = mediawiki_username
108
118
  @browser = browser(environment, test_name(scenario), 'default') unless @language
109
119
  $session_id = @browser.driver.instance_variable_get(:@bridge).session_id
110
120
  end
@@ -1,3 +1,14 @@
1
+ =begin
2
+ This file is subject to the license terms in the LICENSE file found in the
3
+ mediawiki-selenium top-level directory of and at
4
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master/LICENSE. No part of
5
+ mediawiki-selenium, including this file, may be copied, modified, propagated, or
6
+ distributed except according to the terms contained in the LICENSE file.
7
+ Copyright 2013 by the Mediawiki developers. See the CREDITS file in the
8
+ mediawiki-selenium top-level directory and at
9
+ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
10
+ =end
11
+
1
12
  require 'cucumber/formatter/junit'
2
13
 
3
14
  module Cucumber::Formatter
@@ -11,6 +11,6 @@ https://github.com/zeljkofilipin/mediawiki-selenium/blob/master//CREDITS.
11
11
 
12
12
  module Mediawiki
13
13
  module Selenium
14
- VERSION = "0.0.5"
14
+ VERSION = "0.0.6"
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mediawiki-selenium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zeljko Filipin