mediawiki_selenium 1.6.4 → 1.6.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b586d9776790289bc4652f8a959ba1571359a9ee
|
4
|
+
data.tar.gz: 2a94ab474b58420757a688553be1988ef0bbc77a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4665b7a2048bbfadc846778c7d88df7a6ec2c436856d31198f699305af6cb7d07d073a0a7a693de285c7f9a98598bddd356657700a6bad7c8677a9474be56299
|
7
|
+
data.tar.gz: 5fad19dfbfdb73de35fe183c1cde46ee940090cdf6c9372d80eb282ba21127a9e886566c3bd6b3177fb347e3b927f9da829d99c1d04aadce6d8744f1464c7beb
|
data/RELEASES.md
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
Feature: Embedded remote browser session ID for Cucumber tests
|
2
|
+
|
3
|
+
Sessions where an ID is assigned, such as SauceLabs remote sessions, should
|
4
|
+
have the ID saved (embedded) by the Cucumber logger. This test doesn't
|
5
|
+
actually measure that the session ID was correctly embedded but simply
|
6
|
+
exercises the helper to make sure it doesn't blow up when the `#session_id`
|
7
|
+
method doesn't exist.
|
8
|
+
|
9
|
+
Scenario: The helper doesn't blow up
|
10
|
+
Given I have configured my environment from `ENV`
|
11
|
+
And I am using a local browser
|
12
|
+
And I am using the embed browser session helper
|
13
|
+
When I start interacting with the browser
|
14
|
+
Then the browser is open
|
@@ -11,7 +11,9 @@ module MediawikiSelenium
|
|
11
11
|
#
|
12
12
|
def browser
|
13
13
|
super.tap do |b|
|
14
|
-
|
14
|
+
if b.driver.respond_to?(:session_id)
|
15
|
+
embed(b.driver.session_id, 'application/vnd.webdriver-session-id')
|
16
|
+
end
|
15
17
|
end
|
16
18
|
end
|
17
19
|
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: 1.6.
|
4
|
+
version: 1.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris McMahon
|
@@ -348,6 +348,7 @@ files:
|
|
348
348
|
- bin/mediawiki-selenium-init
|
349
349
|
- features/api.feature
|
350
350
|
- features/basic_usage.feature
|
351
|
+
- features/embed_browser_session.feature
|
351
352
|
- features/login_helper.feature
|
352
353
|
- features/recording.feature
|
353
354
|
- features/rspec.feature
|
@@ -356,6 +357,7 @@ files:
|
|
356
357
|
- features/screenshots.feature
|
357
358
|
- features/step_definitions/api_helper_steps.rb
|
358
359
|
- features/step_definitions/browser_steps.rb
|
360
|
+
- features/step_definitions/embed_browser_session_steps.rb
|
359
361
|
- features/step_definitions/environment_steps.rb
|
360
362
|
- features/step_definitions/login_helper_steps.rb
|
361
363
|
- features/step_definitions/rspec_steps.rb
|
@@ -443,7 +445,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
443
445
|
version: '0'
|
444
446
|
requirements: []
|
445
447
|
rubyforge_project:
|
446
|
-
rubygems_version: 2.4.
|
448
|
+
rubygems_version: 2.4.3
|
447
449
|
signing_key:
|
448
450
|
specification_version: 4
|
449
451
|
summary: An easy way to run MediaWiki Selenium tests.
|