Ifd_Automation 2.3 → 2.4
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/REST_steps.rb +1 -1
- data/lib/Ifd_Automation/version.rb +1 -1
- data/project/features/support/env.rb +1 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c131081b7802a991c90b90514bd11afa74e9f2cc
|
4
|
+
data.tar.gz: 8731f67ebf3ded3070b7cedad55bb752aa940981
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76dfdb6206a5e495f4620634b8452128fa4503dae989032b12bee5a1aa8ae375016611d72d21dfe5c592d0da98f0be4d5edaec7d1570e862552adac248f3d4d1
|
7
|
+
data.tar.gz: 5d1a209eec045b56544a41e2333cc21208e8062b7a4afba29dc178262c7f0ce7207965aa1795aa833ba3dcfa6e45e37979955a7b22fce8df5e95a668110a96b0
|
@@ -42,7 +42,7 @@ When /^I send a REST (GET|PUT|POST|DELETE) request (?:for|to) "([^"]*)"(?: with
|
|
42
42
|
elsif (payload && request_type == 'get')
|
43
43
|
@response = Request.get(url, {body: payload, headers: @header})
|
44
44
|
elsif (payload && request_type == 'post' && @header.nil?)
|
45
|
-
@response = Request.
|
45
|
+
@response = Request.post(url, {body: payload})
|
46
46
|
elsif (payload && request_type == 'post')
|
47
47
|
@response = Request.post(url, {body: payload, headers: @header})
|
48
48
|
elsif (payload && request_type == 'put' && @header.nil?)
|
@@ -12,11 +12,7 @@ require 'capybara/cucumber'
|
|
12
12
|
require 'cucumber'
|
13
13
|
require 'yaml'
|
14
14
|
require 'selenium-webdriver'
|
15
|
-
|
16
|
-
|
17
|
-
require File.expand_path('../lib/Ifd_Automation/REST_steps.rb')
|
18
|
-
require File.expand_path('../lib/Ifd_Automation/dynamic_store_vavue_steps.rb')
|
19
|
-
require File.expand_path('../lib/Ifd_Automation/web_steps.rb')
|
15
|
+
require 'Ifd_Automation'
|
20
16
|
|
21
17
|
if ENV["browser"].nil?
|
22
18
|
raise "ERROR***: MISSING BROWSER... Supported Browsers: Chrome/Firefox."
|
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: '2.
|
4
|
+
version: '2.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anh Pham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|