testcentricity_web 0.9.3 → 0.9.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -11
- data/lib/testcentricity_web/elements/checkbox.rb +1 -9
- data/lib/testcentricity_web/elements/radio.rb +1 -9
- data/lib/testcentricity_web/version.rb +1 -1
- data/testcentricity_web.gemspec +5 -5
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e4138339ebdf78fa5519da276812a9a6a4fb64a
|
4
|
+
data.tar.gz: 8e3d12822860d9aee74567cac350d0f9a1dc88d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 098e35def3149126a9ce93ecd2436a2bd5cad8cc1b072d53130896d2c1ca6620c50d258529e5f647f263a949fa65af948b8527cc0bd0f127e13e4f5dab785133
|
7
|
+
data.tar.gz: 43a1a954355e0d24010217fad43db346bf4bc60f37e987bc71d372937d89d2084da454a06eb5fdcdaec4fc44a04c9e3cdf95d100c974914d5e4516c296eca06c
|
data/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
The TestCentricity™ Web core generic framework for desktop and mobile web site testing implements a Page Object and Data Object Model DSL for
|
7
7
|
use with Cucumber, Capybara, and Selenium-Webdriver.
|
8
8
|
|
9
|
-
The TestCentricity™ Web gem supports running
|
9
|
+
The TestCentricity™ Web gem supports running automated tests against the following web test targets:
|
10
10
|
|
11
11
|
* locally hosted desktop browsers (Firefox, Chrome, Safari, IE, or Edge)
|
12
12
|
* locally hosted emulated iOS, Android, Windows Phone, or Blackberry mobile browsers (using Firefox or Chrome)
|
@@ -702,22 +702,27 @@ replace the placeholder text with your user account and authorization code for t
|
|
702
702
|
|
703
703
|
# BrowserStack iOS mobile browser profiles
|
704
704
|
bs_iphone: --profile bs_mobile BS_PLATFORM=MAC BS_BROWSER=iPhone
|
705
|
-
|
706
|
-
|
707
|
-
|
705
|
+
bs_iphone6s_plus: --profile bs_iphone BS_DEVICE="iPhone 6S Plus"
|
706
|
+
bs_iphone6s: --profile bs_iphone BS_DEVICE="iPhone 6S"
|
707
|
+
bs_iphone6_plus: --profile bs_iphone BS_DEVICE="iPhone 6 Plus"
|
708
|
+
bs_iphone6: --profile bs_iphone BS_DEVICE="iPhone 6"
|
708
709
|
bs_iphone5s: --profile bs_iphone BS_DEVICE="iPhone 5S"
|
709
710
|
bs_iphone4s: --profile bs_iphone BS_DEVICE="iPhone 4S (6.0)"
|
711
|
+
bs_ipad: --profile bs_mobile BS_PLATFORM=MAC BS_BROWSER=iPad
|
710
712
|
bs_ipad_pro: --profile bs_ipad BS_DEVICE="iPad Pro"
|
711
|
-
|
713
|
+
bs_ipad_air2: --profile bs_ipad BS_DEVICE="iPad Air 2"
|
714
|
+
bs_ipad_air: --profile bs_ipad BS_DEVICE="iPad Air"
|
712
715
|
bs_ipad_mini: --profile bs_ipad BS_DEVICE="iPad Mini 4"
|
713
716
|
|
714
717
|
# BrowserStack Android mobile browser profiles
|
715
|
-
bs_android:
|
716
|
-
bs_galaxy_s5:
|
717
|
-
|
718
|
-
|
719
|
-
|
720
|
-
|
718
|
+
bs_android: --profile bs_mobile BS_PLATFORM=ANDROID BS_BROWSER=android
|
719
|
+
bs_galaxy_s5: --profile bs_android BS_DEVICE="Samsung Galaxy S5"
|
720
|
+
bs_kindle_fire_hd89: --profile bs_android BS_DEVICE="Amazon Kindle Fire HD 8.9"
|
721
|
+
bs_kindle_fire_hdx7: --profile bs_android BS_DEVICE="Amazon Kindle Fire HDX 7"
|
722
|
+
bs_kindle_fire2: --profile bs_android BS_DEVICE="Amazon Kindle Fire 2"
|
723
|
+
bs_nexus5: --profile bs_android BS_DEVICE="Google Nexus 5"
|
724
|
+
bs_moto_razr: --profile bs_android BS_DEVICE="Motorola Razr"
|
725
|
+
bs_sony_xperia: --profile bs_android BS_DEVICE="Sony Xperia Tipo"
|
721
726
|
|
722
727
|
|
723
728
|
#==============
|
@@ -833,6 +838,7 @@ replace the placeholder text with your user account and authorization code for t
|
|
833
838
|
sl_iphone5s: --profile sl_ios SL_DEVICE="iPhone 5s"
|
834
839
|
sl_iphone4s: --profile sl_ios SL_DEVICE="iPhone 4s"
|
835
840
|
sl_ipad_air: --profile sl_ios SL_DEVICE="iPad Air"
|
841
|
+
sl_ipad_retina: --profile sl_ios SL_DEVICE="iPad Retina"
|
836
842
|
|
837
843
|
# SauceLabs Android mobile browser profiles
|
838
844
|
sl_android: --profile sl_mobile SL_PLATFORM=Linux SL_BROWSER="android" SL_VERSION="4.4"
|
@@ -45,15 +45,7 @@ module TestCentricity
|
|
45
45
|
object_not_found_exception(obj, 'Checkbox')
|
46
46
|
invalid_object_type_exception(obj, 'checkbox')
|
47
47
|
if @proxy.nil?
|
48
|
-
|
49
|
-
obj.set(state)
|
50
|
-
rescue
|
51
|
-
unless state == obj.checked?
|
52
|
-
check_id = obj.native.attribute('id')
|
53
|
-
label = first("label[for='#{check_id}']", :wait => 1, :visible => true)
|
54
|
-
label.click unless label.nil?
|
55
|
-
end
|
56
|
-
end
|
48
|
+
obj.set(state)
|
57
49
|
else
|
58
50
|
@proxy.click unless state == obj.checked?
|
59
51
|
end
|
@@ -45,15 +45,7 @@ module TestCentricity
|
|
45
45
|
object_not_found_exception(obj, 'Radio')
|
46
46
|
invalid_object_type_exception(obj, 'radio')
|
47
47
|
if @proxy.nil?
|
48
|
-
|
49
|
-
obj.set(state)
|
50
|
-
rescue
|
51
|
-
unless state == obj.checked?
|
52
|
-
check_id = obj.native.attribute('id')
|
53
|
-
label = first("label[for='#{check_id}']", :wait => 1, :visible => true)
|
54
|
-
label.click unless label.nil?
|
55
|
-
end
|
56
|
-
end
|
48
|
+
obj.set(state)
|
57
49
|
else
|
58
50
|
@proxy.click unless state == obj.checked?
|
59
51
|
end
|
data/testcentricity_web.gemspec
CHANGED
@@ -13,11 +13,11 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.summary = %q{A Page Object and Data Object Model Framework for desktop and mobile web testing}
|
14
14
|
spec.description = %q{
|
15
15
|
TestCentricity™ Web core generic framework for desktop and mobile web site testing implements a Page Object Model DSL
|
16
|
-
for use with Cucumber, Capybara, and Selenium-Webdriver. The TestCentricity™ Web gem supports running
|
17
|
-
locally hosted desktop browsers (Firefox, Chrome, Safari, IE, or Edge), locally hosted emulated mobile (iOS,
|
18
|
-
Windows Phone, Blackberry) browsers using Firefox or Chrome, a "headless" browser (using Poltergeist and
|
19
|
-
mobile Safari browsers on iOS device simulators (using Appium and XCode on OS X), or cloud hosted desktop
|
20
|
-
web browsers (using the BrowserStack, Sauce Labs, CrossBrowserTesting, or TestingBot services).}
|
16
|
+
for use with Cucumber, Capybara, and Selenium-Webdriver. The TestCentricity™ Web gem supports running automated tests
|
17
|
+
against locally hosted desktop browsers (Firefox, Chrome, Safari, IE, or Edge), locally hosted emulated mobile (iOS,
|
18
|
+
Android, Windows Phone, Blackberry) browsers using Firefox or Chrome, a "headless" browser (using Poltergeist and
|
19
|
+
PhantomJS), mobile Safari browsers on iOS device simulators (using Appium and XCode on OS X), or cloud hosted desktop
|
20
|
+
or mobile web browsers (using the BrowserStack, Sauce Labs, CrossBrowserTesting, or TestingBot services).}
|
21
21
|
spec.homepage = ''
|
22
22
|
spec.license = 'BSD3'
|
23
23
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testcentricity_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.3
|
4
|
+
version: 0.9.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- A.J. Mrozinski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -145,11 +145,11 @@ dependencies:
|
|
145
145
|
description: |2-
|
146
146
|
|
147
147
|
TestCentricity™ Web core generic framework for desktop and mobile web site testing implements a Page Object Model DSL
|
148
|
-
for use with Cucumber, Capybara, and Selenium-Webdriver. The TestCentricity™ Web gem supports running
|
149
|
-
locally hosted desktop browsers (Firefox, Chrome, Safari, IE, or Edge), locally hosted emulated mobile (iOS,
|
150
|
-
Windows Phone, Blackberry) browsers using Firefox or Chrome, a "headless" browser (using Poltergeist and
|
151
|
-
mobile Safari browsers on iOS device simulators (using Appium and XCode on OS X), or cloud hosted desktop
|
152
|
-
web browsers (using the BrowserStack, Sauce Labs, CrossBrowserTesting, or TestingBot services).
|
148
|
+
for use with Cucumber, Capybara, and Selenium-Webdriver. The TestCentricity™ Web gem supports running automated tests
|
149
|
+
against locally hosted desktop browsers (Firefox, Chrome, Safari, IE, or Edge), locally hosted emulated mobile (iOS,
|
150
|
+
Android, Windows Phone, Blackberry) browsers using Firefox or Chrome, a "headless" browser (using Poltergeist and
|
151
|
+
PhantomJS), mobile Safari browsers on iOS device simulators (using Appium and XCode on OS X), or cloud hosted desktop
|
152
|
+
or mobile web browsers (using the BrowserStack, Sauce Labs, CrossBrowserTesting, or TestingBot services).
|
153
153
|
email:
|
154
154
|
- testcentricity@gmail.com
|
155
155
|
executables: []
|