Produced by Araxis Merge on 5/29/2018 12:14:32 PM 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 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\lib\pages | login_page.rb | Wed Apr 4 20:16:46 2018 UTC |
2 | mobile-kidney-web-2.0.0.zip\mobile-kidney-web\acceptance_test\watir\lib\pages | login_page.rb | Tue May 29 15:38:51 2018 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 3 | 66 |
Changed | 2 | 8 |
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 | require 'w atir-webdr iver' | |
2 | require 'p age-object ' | |
3 | ||
4 | require_re lative 'ro a' | |
5 | require_re lative 'co mmon_eleme nts' | |
6 | ||
7 | class Logi nPage < Ro a | |
8 | include PageObject | |
9 | ||
10 | text_fie ld(:userna me, :css = > '#name-c ') | |
11 | text_fie ld(:passwo rd, :css = > '#passwo rd') | |
12 | ||
13 | button(: login, :id => 'login Button') | |
14 | span(:lo ginAs, :cs s => 'span [ng-if="us erName"]') | |
15 | h2(:logi nTitle, :c ss => "h2" ) | |
16 | ||
17 | def init ialize(dri ver) | |
18 | super( driver) | |
19 | @commo nElements = CommonEl ement.new( driver) | |
20 | end | |
21 | ||
22 | def logi n_with(use rname, pas sword, dis playedName , patientI D) | |
23 | Watir: :Wait.unti l {login?} | |
24 | userna me_element .when_visi ble | |
25 | self.usern ame= AI | |
26 | self.passw ord= AI | |
27 | login | |
28 | end | |
29 | ||
30 | def logi n_without_ passing_RO A(username , password ) | |
31 | userna me_element .when_visi ble | |
32 | self.usern ame= AI | |
33 | self.passw ord= AI | |
34 | login | |
35 | end | |
36 | ||
37 | end |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.