Ifd_Automation 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/Ifd_Automation/version.rb +1 -1
- data/lib/Ifd_Automation/web_steps_helper.rb +2 -0
- data/project/config/local_browser_config.yml +0 -8
- data/project/features/TestSuite/WebGUI.feature +5 -4
- data/project/features/step_definitions/lib_steps/steps_definition.rb +1 -1
- data/project/features/support/env.rb +2 -2
- metadata +2 -3
- data/project/features/TestSuite/WebGUI_copy.feature +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3a26342c75a6e681f958a76a993a0e7270f0633
|
4
|
+
data.tar.gz: cb569050cd9f1f7c7b98bf6c9baaae8ec4a0a7ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a08394b90c432e8bd465b07cfead78a5389ee278168ecd404dd6448f440402151f617a93381d7f5d9c5e96f6861a45b119c9415eb6409c2bff1171d1a2afdeb0
|
7
|
+
data.tar.gz: 53fcc28e3264bce6db5759d88006bcd96c494b3ef05483c18e36a0ebbde98874a8b4b29c2311d09ce45591223190fa1c317d2d6e4f37d077dae171a57ab6292e
|
@@ -3,15 +3,7 @@ server_url: http://localhost:4444/wd/hub
|
|
3
3
|
browser_caps:
|
4
4
|
chrome:
|
5
5
|
- browserName: chrome
|
6
|
-
- platform: Windows 10
|
7
|
-
- javascriptEnabled: 'false'
|
8
|
-
- screenResolution: 1024×768
|
9
6
|
- record_video: 'false'
|
10
|
-
- timezone: GMT+06:00
|
11
7
|
firefox:
|
12
8
|
- browserName: firefox
|
13
|
-
- platform: Windows 10
|
14
|
-
- javascriptEnabled: 'false'
|
15
|
-
- screenResolution: 1024×768
|
16
9
|
- record_video: 'false'
|
17
|
-
- timezone: GMT+06:00
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
Feature: anhpham test
|
2
|
+
|
3
|
+
|
4
|
+
Scenario: new scenario
|
5
|
+
* I test
|
@@ -41,7 +41,7 @@ end
|
|
41
41
|
$_CFWEB['Wait Time'] = ENV["WAIT_TIME"] || 30
|
42
42
|
$_CFWEB['Print Log'] = ENV["PRINT_LOG"] || false
|
43
43
|
$_CFWEB['Maximize Browser'] = ENV["MAXIMIZE_BROWSER"] || true
|
44
|
-
SELENIUM_SERVER_URL =
|
44
|
+
SELENIUM_SERVER_URL = ENV['SERVER_URL'] || BROWSER_CONFIG['server_url']
|
45
45
|
BROWSER_CAPS = BROWSER_CONFIG['browser_caps'][ENV['BROWSER']]
|
46
46
|
if CONFIG_NAME == "local"
|
47
47
|
itms_action.getServerStatus(SELENIUM_SERVER_URL)
|
@@ -50,7 +50,7 @@ Capybara.register_driver :selenium do |app|
|
|
50
50
|
Capybara::Selenium::Driver.new(app,
|
51
51
|
:browser => :remote,
|
52
52
|
:url => SELENIUM_SERVER_URL,
|
53
|
-
:desired_capabilities =>
|
53
|
+
:desired_capabilities => BROWSER_CAPS.reduce { |acc, h| (acc || {}).merge h }
|
54
54
|
)
|
55
55
|
end
|
56
56
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Ifd_Automation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anh Pham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|
@@ -251,7 +251,6 @@ files:
|
|
251
251
|
- project/cucumber.yml
|
252
252
|
- project/features/TestData/globalData.yml
|
253
253
|
- project/features/TestSuite/WebGUI.feature
|
254
|
-
- project/features/TestSuite/WebGUI_copy.feature
|
255
254
|
- project/features/step_definitions/lib_steps/steps_definition.rb
|
256
255
|
- project/features/step_definitions/repositories/project_object.yml
|
257
256
|
- project/features/support/env.rb
|