Produced by Araxis Merge on 10/4/2017 8:04:41 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | rdk.zip\rdk\product\tests\acceptance-tests\features\steps | user_info.rb | Mon Aug 21 12:51:08 2017 UTC |
| 2 | rdk.zip\rdk\product\tests\acceptance-tests\features\steps | user_info.rb | Tue Oct 3 20:14:09 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 4 | 72 |
| Changed | 3 | 6 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | When(/^the client re quests to view list Active use rs with na me search criteria " (.*?)","(. *?)"$/) do |lastName , firstNam e| | |
| 2 | query = RDKQuery.n ew('user-s ervice-use rlist') | |
| 3 | query.ad d_paramete r('user.fi lter', '{" firstName" :"'+firstN ame +'","l astName":" '+ lastNam e+ '"}') | |
| 4 | path = q uery.path | |
| 5 | p path | |
| 6 | @response = HTTParty RDK.get_as _user(path , " R E D A CTED ; DNS ", " REDACTED ") | |
| 7 | end | |
| 8 | When(/^the client re quests to view list Active and Inactive users with name sear ch criteri a "(.*?)", "(.*?)"$/) do |lastN ame, first Name| | |
| 9 | query = RDKQuery.n ew('user-s ervice-use rlist') | |
| 10 | query.ad d_paramete r('user.fi lter', '{" firstName" :"'+firstN ame +'","l astName":" '+ lastNam e+ '"}') | |
| 11 | query.ad d_paramete r('show.vi sta.inacti ve', 'true ') | |
| 12 | query.ad d_paramete r('show.eh mp.inactiv e', 'true' ) | |
| 13 | path = q uery.path | |
| 14 | p path | |
| 15 | @response = HTTParty RDK.get_as _user(path , " R E D A CTED ; DNS ", " REDACTED ") | |
| 16 | end | |
| 17 | When(/^the client re quests to view list Active use rs with na me and per missionSet search cr iteria "(. *?)","(.*? )","(.*?)" $/) do |la stName, fi rstName, p ermissionS et| | |
| 18 | query = RDKQuery.n ew('user-s ervice-use rlist') | |
| 19 | query.ad d_paramete r('user.fi lter', '{" firstName" :"'+firstN ame +'","l astName":" '+ lastNam e+ '","per missionSet ":"'+ perm issionSet+ '"}') | |
| 20 | query.ad d_paramete r('show.vi sta.inacti ve', 'true ') | |
| 21 | query.ad d_paramete r('show.eh mp.inactiv e', 'true' ) | |
| 22 | path = q uery.path | |
| 23 | p path | |
| 24 | @response = HTTParty RDK.get_as _user(path , " R E D A CTED ; DNS ", " REDACTED ") | |
| 25 | end | |
| 26 | Then(/^the results c ontains al l required fields$/) do | |
| 27 | json = J SON.parse( @response. body) | |
| 28 | ValueArr ay = json[ "data"] | |
| 29 | ||
| 30 | ValueArr ay.each do |item| | |
| 31 | #test all the re quired fie lds exists | |
| 32 | expect (item["uid "]).to_not be_nil | |
| 33 | expect (item["fac ility"]).t o_not be_n il | |
| 34 | expect (item["fna me"]).to_n ot be_nil | |
| 35 | expect (item["lna me"]).to_n ot be_nil | |
| 36 | expect (item["sit e"]).to_no t be_nil | |
| 37 | expect (item["per missionSet "]).to_not be_nil | |
| 38 | end | |
| 39 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.