688. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/12/2018 4:04:44 PM Eastern 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.

688.1 Files compared

# Location File Last Modified
1 Vetlink 2.0.zip\Vetlink 2.0\vetlink-web.zip\vetlink-web\acceptance_test\selenium-ruby\tests\VetLink_Main VetLinkMain_Help_spec.rb Thu Nov 2 15:14:16 2017 UTC
2 Vetlink 2.0.zip\Vetlink 2.0\vetlink-web.zip\vetlink-web\acceptance_test\selenium-ruby\tests\VetLink_Main VetLinkMain_Help_spec.rb Fri Oct 12 13:51:24 2018 UTC

688.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 564
Changed 2 6
Inserted 0 0
Removed 0 0

688.3 Comparison options

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

688.4 Active regular expressions

No regular expressions were active.

688.5 Comparison detail

  1   require_re lative(".. /rspec_hel per")
  2   gem "test- unit"
  3   require "t est/unit"
  4   require_re lative(".. /../module /Constants ")
  5   require_re lative(".. /../pages/ vetlink_ma in")
  6   require_re lative(".. /../pages/ login_scre en")
  7   require_re lative(".. /../pages/ vetlink_me nu")
  8   require_re lative(".. /../pages/ menu")
  9   require_re lative(".. /../pages/ vetlink_ho me")
  10   require_re lative(".. /../pages/ vetlink_ab out")
  11   require_re lative(".. /../pages/ help_scree n")
  12   require_re lative(".. /../pages/ eula")
  13   require_re lative(".. /../pages/ user_guide ")
  14   require_re lative(".. /../pages/ vetlink_we lcome")
  15   require_re lative(".. /../pages/ vetlink_my profile")
  16   require_re lative(".. /../pages/ vetlink_gr oups")
  17   require_re lative(".. /../module /Assert")
  18   require_re lative(".. /../module /DriverUti lity")
  19   require_re lative(".. /../module /DBUtility ")
  20   require_re lative(".. /../module /MongoData ")
  21   require_re lative(".. /../module /Site")
  22  
  23  
  24   ########## ########## ########## ########## ########## ########## ########## ########
  25   # VetLinkM ain_Help
  26   #
  27   # User Sto ries/Crite rias:
  28   # -------- ---------- -----
  29   #
  30   # Story -  DODVAL-269  Finalize  the link a nd documen t for deta iled infor mation fro m the help  screen
  31   # Story -  DODVAL-298  Modify Us er Guide
  32   # Acceptan ce Criteri a -  DODVA L-463 Docu ment displ ayed as HT ML
  33   #
  34   # Story -  DODVAL-269  Finalize  the link a nd documen t for deta iled infor mation fro m the help  screen
  35   # Story -  DODVAL-298  Modify Us er Guide
  36   # Acceptan ce Criteri a -  DODVA L-352 User  Guide wil l be displ ayed as an  HTML page .
  37   #
  38   # Story -  DODVAL-315  Remove Re sources
  39   # Acceptan ce Criteri a -  DODVA L-491 Reso urces opti on is no l onger avai lable on R ight Menu  Navigation
  40   #
  41   # Story -  DODVAL-303  Modify th e Help tex t.
  42   # Acceptan ce Criteri a -  DODVA L-472 Modi fy help te xt
  43   #
  44   # Story -  DODVAL-272  Help Func tion
  45   # Story -  DODVAL-303  Modify th e Help tex t.
  46   # Acceptan ce Criteri a -  DODVA L-258 Disp lay Help s creen
  47   #
  48   ########## ########## ########## ########## ########## ########## ########## ########
  49  
  50   ########## ########## ########## ########## ########## ########## ########## ########## ########## ########
  51   # VetLinkM ainHelp-
  52   # User Sto ries: Jira #:  1233,  1627, 1781  (Help but ton)
  53   # User Sto ries: Jira #:  1520 ( Add Resour ces Button  to the Us er Menu)
  54   # however  User story  2246 was  added afte r 1520 tha t says Res ources is  not needed
  55   # User Sto ries: Jira :   255, 1 189
  56   ########## ########## ########## ########## ########## ########## ########## ########## ########## ########
  57   describe " [VetLinkMa in-DODVAL- 272, DODVA L-272]" ,
  58       :featu re => '[Ve tLinkMain- DODVAL-272 , DODVAL-2 72]'do
  59  
  60     include  Site
  61     include  Assert
  62     include  DriverUtil ity
  63     include  DBUtility
  64  
  65  
  66  
  67     before(: all) do
  68  
  69       puts(" ++++++++++ ++++++++++ ++ Start V etlinkMain _help.rb + ++++++++++ ++++++++++ ++++++++++ +")
  70       initia lizeConfig urations()
  71       $PRINT _DEBUG_MSG S = false
  72       saveOr ginalColle ctions()   #Must run  after init ializeConf igurations ()
  73       remove ProfileCol lection()  #Must run  after save OrginalCol lections()
  74       @mainP age = site GetMainPag e
  75       @dsLog onPage = s iteGetLogi nScreenPag e
  76       @welco mePage = s iteGetWelc omePage
  77       @navMe nuCommon =  siteGetMe nuCommon
  78       @profi lePage = s iteGetProf ilePage
  79       @eulaP age = site GetEulaPag e
  80       @launc hPadPage =  siteGetLa unchpadPag e
  81       @helpS creen = si teGetAbout Screen
  82       @helpS creen = si teGetHelpS creen
  83       @userG uide = sit eGetUserGu ide
  84       setup_ 0000_main_ page
  85  
  86     end
  87  
  88  
  89  
  90     after(:a ll) do
  91       restor eOrginalCo llections( )
  92       quitDr iver()
  93       puts(" ++++++++++ ++++++++++ ++ End Vet linkMain_h elp.rb +++ ++++++++++ ++++++++++ +++++++++" )
  94     end
  95  
  96  
  97  
  98     def rspe cAssertEqu al(expecte dValue, va lue)
  99       value. should ==  expectedVa lue
  100     end
  101  
  102  
  103     def setu p_0000_mai n_page
  104        putd  "*#{__meth od__}"
  105        putd( "EULA Page  displayed , click on  Accept bu tton then  goto DSLog on page")
  106        @main Page = acc eptEulaGo2 _DSLogonPa ge
  107        puts( "waitForPa geToLoad(' Veteran Li nk')-Befor e Login")
  108        waitF orPageToLo ad('Vetera n Link')
  109        puts( "Page('Vet eran Link' ) Loaded")
  110     end
  111  
  112  
  113     it 'DODV AL-518: Us er can see  and use L ogin butto n from app ' do
  114  
  115       puts " DODVAL-518 : User can  see and u se Login b utton from  app"
  116       @mainP age = site GetMainPag e
  117       @welco mePage = @ mainPage.u serLogins
  118       puts(" waitForPag eToLoad('V eteran Lin k')-After  Login")
  119       waitFo rPageToLoa d('Veteran  Link')
  120       puts(" Page('Vete ran Link')  Loaded")
  121  
  122     end
  123  
  124  
  125     it 'Crea te profile  button fr om landing  page' do
  126       puts(" Create pro file butto n from lan ding page" )
  127       @welco mePage.cre ateProfile ButtonOnWe lcomePage? .should ==  true
  128       puts(" Create pro file butto n from lan ding page" )
  129  
  130     end
  131  
  132     it 'The  Create Pro file scree n will be  displayed'  do
  133  
  134       puts " The Create  Profile s creen will  be displa yed and Us er can ent er data on  Create Pr ofile scre en."
  135       @profi lePage = @ welcomePag e.tapOnCre ateProfile OnWelcomeP age
  136       waitFo rPageToLoa d('Create  Profile')
  137  
  138     end
  139  
  140  
  141     #At 'Vet eran Link'  page
  142     it 'Ensu re that "C reate Prof ile" page  implicit h eadings ar e structur ed with H1  tags.' do
  143  
  144       expect edTitle =  'Create Pr ofile'
  145       rspecA ssertEqual (true, is5 08PageTitl eH1Tag(exp ectedTitle ))
  146       puts(" #{expected Title} DSL ogon page  title head ing is str uctured wi th H1 tags  for 508 C ompliance  ")
  147  
  148     end
  149  
  150  
  151     it 'DODV AL-525,  D ODVAL-520:  The Creat e Profile  screen wil l be displ ayed and U ser can en ter data o n Create P rofile scr een and is  required  to enter s creen name ' do
  152       puts(" DODVAL-520 : The Crea te Profile  screen wi ll be disp layed and  User can e nter data  on Create  Profile sc reen and i s required  to enter  screen nam e")
  153       @profi lePage.fil lInputBox( $USERNAME_ ID, $USERN AME_TEST_D ATA)
  154       puts(" DODVAL-520 : The Crea te Profile  screen wi ll be disp layed and  User can e nter data  on Create  Profile sc reen and i s required  to enter  screen nam e")
  155     end
  156  
  157  
  158     it 'Afte r entering  data on C reate Prof ile screen  and User  can save o r cancel'  do
  159  
  160       @welco mePage = @ profilePag e.tapOnSav e
  161       @profi lePage.cli ckYesOnCon firmSaveMo dalPopUp
  162       puts(" After ente ring data  on Create  Profile sc reen and U ser can sa ve or canc el")
  163       waitFo rPageToLoa d('Groups' )
  164       puts(" After ente ring data  on Create  Profile sc reen and U ser can sa ve or canc el")
  165  
  166     end
  167  
  168  
  169  
  170  
  171     it '*Sce nario_0200 _verify_He lp_Screen_ After_User _Logins_An d_Creates_ Profile' d o
  172       verify Help
  173     end
  174  
  175  
  176  
  177     it '*Sce nario_0300 _verify_Re sources_Sc reen_After _User_Logi ns_And_Cre ates_Profi le' do
  178       puts(" User story # 2246 - N o Resource s needed." )
  179       #verif yResources
  180     end
  181  
  182  
  183  
  184     def veri fyResource s
  185  
  186       @navMe nuCommon =  siteGetMe nuCommon()
  187       puts " *1781_#{__ method__}"
  188       noReso urcesNeede d = true
  189       if ( n oResources Needed )
  190         puts ("User sto ry# 2246 -  No Resour ces needed .")
  191         retu rn
  192       end
  193  
  194       @navMe nuCommon.c lickRightN avMenu
  195       puts(" +++UST-178 1-should d isplay Use r menu" )
  196       putd(" Tab on Res ource to v erify  its  content")
  197       #findE lementById (RESOURCES _BUTTON_ON _NAV_ID).c lick
  198       findEl ementById( "title").t ext.should  == RESOUR CES_MODAL_ TITLE
  199       puts(" +++UST-178 1-should d isplay Res ources pag e menu" )
  200  
  201     end
  202  
  203  
  204     def veri fyHelp
  205       puts " #{__method __}"
  206  
  207       @navMe nuCommon =  siteGetMe nuCommon()
  208       @helpS creen = si teGetHelpS creen
  209  
  210       puts " #{__method __}"
  211       @navMe nuCommon.c lickRightN avMenu
  212  
  213       puts(" should dis play User  menu" )
  214       putd(" Tab on Hel p to verif y  its con tent")
  215  
  216       @navMe nuCommon.c lickHelpBt n
  217       sleep  3
  218       # elem ent = find ElementByC lass("moda l-title te xt-center  ng-binding ")
  219       elemen t = @drive r.find_ele ment(:xpat h, "//h1[@ class='mod al-title t ext-center  ng-bindin g']").text
  220       sleep  3
  221       rspecA ssertEqual (HELP_MODA L_TITLE, e lement)
  222       puts(" +++UST-178 1-should d isplay Abo ut title [ #{HELP_MOD AL_TITLE}] ")
  223  
  224       okDism issButton  = getModal OkDismiss( )
  225       text =  okDismiss Button.tex t
  226       putd("          o k button t ext=[#{tex t}]")
  227       putd(" Expected o k button t ext=[#{OK_ DISMISS_BU TTON_TEXT} ]")
  228       rspecA ssertEqual (OK_DISMIS S_BUTTON_T EXT, text)
  229       puts(" +++UST-178 1-should d isplay Abo ut [#{OK_D ISMISS_BUT TON_TEXT}]  button ")
  230  
  231       mainCo ntent = @h elpScreen. getScreenC ontent
  232       puts "  mainConte nt=\n[#{ma inContent} ]"
  233  
  234       #-- St ory 2407 A C 2407
  235         mainConten t.include? ("Help Des k Info: If  you need  assistance  with the  Vetlink Ap p, dial 1- 877-470-59 47 to spea k with a H elp Desk R epresentat ive. The H elp Desk i s open Mon day - Frid ay from 7  a.m. to 7  p.m. CST.  For TTY as sistance,  dial 711.  If you hav e question s about yo ur DS Logo n account,  visit  DNS . URL /dslogon o r dial 1-8 00-983-093 7 for assi stance."). should ==  true
  236         mainConten t.include? ("Mobile A pp Trainin g: Please  visit  DNS . URL /appstore,  and searc h for the  Vetlink Ap p to acces s training  materials .").should  == true
  237       mainCo ntent.incl ude?("Emer gencies: I f you feel  that your  informati on may hav e been com promised,  contact yo ur local V A facility  to obtain  the conta ct informa tion for y our Privac y Officer.  To identi fy your lo cal VA fac ility, vis it VA’s  Facility L ocator her e, or by c opying and  pasting t he followi ng link in to your br owser: htt p://1.usa. gov/1TTdj4 2. Note th at you sho uld never  use this a pp in an e mergency s ituation.  If you enc ounter an  emergency,  call your  local med ical cente r or dial  911. Veter ans Crisis  Line: 1-8 00-273-825 5 Press 1" )
  238       mainCo ntent.incl ude?("Gene ral Feedba ck to the  VA").shoul d == true
  239           #rspecAsse rtEqual(tr ue, findEl ementByXPa th("a", "h ref", "htt ps:// DNS . URL /feedback? appname=Ve tLink").di splayed?)
  240  
  241  
  242       userGu ideLink =  @helpScree n.getUserG uideLink
  243       rspecA ssertEqual (true, use rGuideLink .displayed ?)
  244       puts(" +++UST-178 1-should d isplay #{U SER_GUIDE_ LINK_TEXT}  link")
  245       userGu ideLink.cl ick
  246       puts(" Clicked Us er Guide")
  247       sleep  15
  248       userGu ideText =  @userGuide .getScreen Content
  249       puts(" User Guide  Text=\n[# {@userGuid e.getScree nContent}] ")
  250       userGu ideText.in clude?("On ce you hav e logged i nto the ap plication  for the fi rst time,  you will b e able to  create a p rofile."). should ==  true
  251       userGu ideText.in clude?("Th e Groups f unction wi ll allow y ou to sear ch for exi sting grou ps, join g roups, add  comments  and read c omments fr om groups  you have j oined, and  create gr oups. From  the Group s page, yo u will als o have an  option to  view your  shared pro file, so t hat you ca n see how  your profi le will lo ok to othe r Veterans .").should  == true
  252  
  253  
  254       puts " current ur l=[#{getCu rrentURL() }] after c licking #{ USER_GUIDE _LINK_TEXT } link the n switch t o that win dow"
  255       pause  0.5
  256       switch ToNextWind ow()
  257       puts " Final url= [#{getCurr entURL()}] "
  258  
  259       @navMe nuCommon.c lickRightN avMenu
  260  
  261  
  262       puts(" ****UST-17 81-should  verify acc eptance cr iteria on  Help scree n successf ully")
  263  
  264  
  265     end
  266  
  267  
  268  
  269  
  270     def dump PageSource AsNeeded(s tring)
  271       putd(s tring)
  272       dumpPa geSource
  273     end
  274  
  275  
  276  
  277  
  278     it 'LAST  STEP' do
  279       @navMe nuCommon.c lickRightN avMenu
  280       siteLo gMeOut_Bac kToLaunchP ad(USER_NA ME)
  281       puts " ****DONE T ESTING Vet linkMain_h elp.rb.  U ser [#{USE R_NAME}] l ogged out. "
  282     end
  283  
  284  
  285   end