mediawiki_selenium 0.2.19 → 0.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40db3eb5b40634b4078aba90d5af41ab36916684
4
- data.tar.gz: 548b8d02e1cd46fce63fa3c0a2dc5582ec7e8485
3
+ metadata.gz: b2d9223164f071fda7d56e1a0e3db02c8d07bdb6
4
+ data.tar.gz: 669230d50c35efcbbc705b0725067ffc493ed0ef
5
5
  SHA512:
6
- metadata.gz: ff063da180bd0db60daf9132993d069ef04b6073eb0c80f702f6ed7a27b4108bbba9671b6b35c5c5a541f66d008715335c68b2f8085328b737c2f016f07c60b5
7
- data.tar.gz: cabf3cad5955ebf5e398558ceca10581e6688dbc0adc144e4b276def9c793e5faae20b2661f696df115824aeba26f8e537fe10c5c3026335d8fe72b95771cf03
6
+ metadata.gz: 87a335604d8f4456d82738f1d0f603797e552c4a92469f70e65da5b8e60ffb2003c7ad448a0dce3465e2196af393ac311008bdb51f5413db64e360f67594ad0f
7
+ data.tar.gz: 758e67eae031756afd0902fa963f23561cf54790c3b81642b5904c001bad9a2f604ecf2a0a7627bdad36202f07e9c9123358c262455a4443f823fd37360310b7
data/README.md CHANGED
@@ -122,15 +122,209 @@ Also see https://www.mediawiki.org/wiki/QA/Browser_testing#How_to_contribute
122
122
 
123
123
  ## Release notes
124
124
 
125
+ ### 0.2.19
126
+
127
+ * APIPage can create pages via API
128
+
129
+ ### 0.2.18
130
+
131
+ * If environment variable HEADLESS is set to true, run a local browser
132
+
133
+ ### 0.2.17
134
+
135
+ * File needed for file upload steps was not required
136
+ * Login sometimes takes >5s to complete
137
+ * Updated readme file
138
+
139
+ ### 0.2.16
140
+
141
+ * MobileFrontend and UploadWizard should share upload steps
142
+
143
+ ### 0.2.15
144
+
145
+ * Fixed setting a cookie when starting the browser
146
+
147
+ ### 0.2.14
148
+
149
+ * A cookie can optionally be set when starting the browser
150
+
151
+ ### 0.2.13
152
+
153
+ * The gem should be able to start local and remote browsers with optional browser setup
154
+
155
+ ### 0.2.12
156
+
157
+ * Make "page has no ResourceLoader errors" Cucumber step available
158
+
159
+ ### 0.2.11
160
+
161
+ * Add optional argument wait_for_logout_element to login_with method
162
+ * Wrapped README.md to 80 chars for readability
163
+
164
+ ### 0.2.10
165
+
166
+ * Added "I am at a random page" step to the gem
167
+ * Make it possible to check for ResourceLoader errors anywhere
168
+
169
+ ### 0.2.9
170
+
171
+ * Fixed login method, instead of waiting for link with text in English, wait for link with href
172
+
125
173
  ### 0.2.8
126
174
 
127
- * Possibility to set BROWSER_TIMEOUT.
175
+ * Moved BROWSER_TIMEOUT implementation to the gem
176
+ * Moved Jenkins doc to jenkins-job-builder-config repo
177
+ * Updated Ruby version from 2.1.0 to 2.1.1
178
+ * Cloudbees Jenkins jobs are now created using Jenkins Job Builder
179
+
180
+ ### 0.2.7
181
+
182
+ * Wait for login process to complete
183
+ * Added support for @custom-browser Cucumber tag
184
+ * Removed configuration of Sauce Labs browsers from the gem
128
185
 
129
186
  ### 0.2.2
130
187
 
131
- * `SCREENSHOT_FAILURES_PATH` environment variable lets you override the destination path for screenshots.
188
+ * `SCREENSHOT_FAILURES_PATH` environment variable lets you override the destination path for screenshots
189
+ * Moved resetting preferences to the gem
190
+ * Moved Given(/^I am logged in$/) step to the gem
191
+ * Renamed remaining instances of mediawiki-selenium to mediawiki_selenium
192
+ * Moved LoginPage class and URL module to the gem
193
+ * Moved files to support folder
132
194
 
133
195
  ### 0.2.1
134
196
 
135
- * Get screenshots on failures by setting the environment variable `SCREENSHOT_FAILURES` to `true`.
197
+ * Get screenshots on failures by setting the environment variable `SCREENSHOT_FAILURES` to `true`
198
+ * Add a Gemfile to force a good version of Ruby
199
+ * Fixed several "gem build" warnings
200
+ * Renamed mediawiki-selenium Ruby gem to mediawiki_selenium
201
+ * Added missing contributors
202
+
203
+ ### 0.1.20
204
+
205
+ * Added the most recent versions of all runtime dependencies
206
+
207
+ ### 0.1.19
208
+
209
+ * Fixed warning message displayed while building the gem
210
+ * Display error message if browser is not started for some reason
211
+
212
+ ### 0.1.18
213
+
214
+ * Increases verbosity of Cucumber output
215
+ * Run browsers headlessly if HEADLESS environment variable is set to true
216
+ * Moved Sauce Labs browser configuration to the gem
217
+ * Removed debugging code from Jenkins jobs
218
+
219
+ ### 0.1.16
220
+
221
+ * Resize PhantomJS to 1280x1024 when the browser opens
222
+ * Removed code that is no longer needed
223
+ * Send e-mail for every unstable Jenkins job
224
+ * All "bundle exec cucumber" should end in "|| echo "Failure in cucumber""
225
+ * Use new e-mail template
226
+ * Added build schedule option for Jenkins builds
227
+ * Deleted unused "branch" option
228
+ * Added --backtrace to cucumber
229
+ * Updated Ruby
230
+ * Replacing single quotes with double quotes
231
+ * Fix Accept-Language feature for PhantomJS
232
+
233
+ ### 0.1.14
234
+
235
+ * Make it possible to run tests on Cloudbees using PhantomJS
236
+ * Merging the readme files of other repositories with this one
237
+ * Prefer double-quoted strings in Ruby code
238
+ * Added links to Jenkins jobs
239
+
240
+ ### 0.1.13
241
+
242
+ * Resize browser at Sauce Labs to maximum supported size
243
+
244
+ ### 0.1.12
245
+
246
+ * Introduce new variable that points to the variable that holds the password
247
+
248
+ ### 0.1.11
249
+
250
+ * Passwords are in environment variables but not displayed in Jenkins console log
251
+ * Set up Code Climate for all repositories that have Ruby code
252
+ * Deleted Jenkins jobs that are known to fail
253
+ * Updated documentation
254
+
255
+ ### 0.1.10
256
+
257
+ * Updated Jenkins documentation
258
+ * Moving gems that all repositories need to the gem
259
+ * Deleted unused files
260
+ * The gem homepage now points to Gerrit repository
261
+ * Moved documentation from qa/browsertests repository
262
+ * Updated readme file with usage instructions and links to repositories that use the gem
263
+ * Add .gitreview
264
+
265
+ ### 0.1.8
266
+
267
+ * Use rest_client instead of curl when using Sauce Labs API
268
+ * Set build number when running tests at Sauce Labs
269
+
270
+ ### 0.1.7
271
+
272
+ * MobileFrontend repository uses @user_agent tag
273
+
274
+ ### 0.1.6
275
+
276
+ * Added code needed for CirrusSearch repository
277
+
278
+ ### 0.1.5
279
+
280
+ * Move UniversalLanguageSelector hooks back to it's repository
281
+
282
+ ### 0.1.4
283
+
284
+ * Remove debugging code committed by mistake
285
+
286
+ ### 0.1.3
287
+
288
+ * Moved Cucumber hooks used only for UniversalLanguageSelector to a separate file
289
+
290
+ ### 0.1.2
291
+
292
+ * Forgot to require hooks file
293
+
294
+ ### 0.1.1
295
+
296
+ * Moved Cucumber hooks to hooks.rb file
297
+
298
+ ### 0.1.0
299
+
300
+ * The gem is working, I think it is time to move from 0.0.x
301
+
302
+ ### 0.0.7
303
+
304
+ * Moved code from UniversalLanguageSelector repository
305
+
306
+ ### 0.0.6
307
+
308
+ * Updated env.rb file to the latest version
309
+ * Added license headers to all files that did not have it
310
+
311
+ ### 0.0.5
312
+
313
+ * Imported sauce.rb file from browsertests repository
314
+
315
+ ### 0.0.4
316
+
317
+ * Include env.rb file from browsertests repository
318
+
319
+ ### 0.0.3
320
+
321
+ * Changed license to GPL-2
322
+
323
+ ### 0.0.2
324
+
325
+ * Fixed a couple of "gem build" warnings
326
+
327
+ ### 0.0.1
136
328
 
329
+ * Added description and summary to gemspec file
330
+ * Auto generated gem by RubyMine
@@ -6,6 +6,6 @@ class APIPage
6
6
 
7
7
  client = MediawikiApi::Client.new ENV["MEDIAWIKI_API_URL"]
8
8
  client.log_in ENV["MEDIAWIKI_USER"], ENV["MEDIAWIKI_PASSWORD"]
9
- client.create_page @random_string, @random_string
9
+ client.create_page title, content
10
10
  end
11
11
  end
@@ -10,5 +10,5 @@ https://git.wikimedia.org/blob/mediawiki%2Fselenium/HEAD/CREDITS.
10
10
  =end
11
11
 
12
12
  module MediawikiSelenium
13
- VERSION = "0.2.19"
13
+ VERSION = "0.2.20"
14
14
  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.2.19
4
+ version: 0.2.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris McMahon
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2014-04-11 00:00:00.000000000 Z
15
+ date: 2014-04-15 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: cucumber