222. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/30/2019 1:49:21 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.

222.1 Files compared

# Location File Last Modified
1 var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\test\watir-ruby\spec\landing landing_page_notifications_spec.rb Fri May 10 18:55:49 2019 UTC
2 var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\test\watir-ruby\spec\landing landing_page_notifications_spec.rb Wed May 29 22:08:03 2019 UTC

222.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 726
Changed 1 2
Inserted 0 0
Removed 0 0

222.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

222.4 Active regular expressions

No regular expressions were active.

222.5 Comparison detail

  1   #!/bin/env  ruby
  2   # encoding : utf-8
  3   require 'r ubygems'
  4   require 'r spec'
  5   require 'w atir-webdr iver'
  6   require 'p age-object '
  7   require 'o ci8'
  8  
  9   require_re lative '.. /../module /DriverUti lity'
  10   require_re lative '.. /rspec_hel per'
  11   require_re lative '.. /../pages/ landing'
  12   require_re lative '.. /../pages/ login'
  13   require_re lative '.. /../pages/ eula'
  14   require_re lative '.. /../common /common'
  15   require_re lative '.. /../pages/ app_option s_menu'
  16   require_re lative '.. /../pages/ landing_ap pointments '
  17   require_re lative '.. /../module /database/ OracleUtil ity'
  18   require_re lative '.. /../module /DateUtili ty'
  19   require_re lative '.. /../pages/ landing_no tification s'
  20   require_re lative '.. /../pages/ notificati ons'
  21   require_re lative '.. /../module /database/ MongoUtili ty'
  22   require_re lative '.. /../pages/ appointmen ts/new_app ointment_r equest'
  23  
  24   describe ' [Story# VA R-5705: La nding Page - Notifica tions butt on]
  25              [Story# VA R-5706: No tification s- In App:  List ]
  26              [Story# VA R-5708: No tification  List- Lin k to detai l view]
  27              [Story# VA R-5709: No tification  Details –  Follow Up  Appointme nt Reminde r]
  28              [Story# VA R-6428: No tification s - In App  List (upd ate column s)]
  29              [Story# VA R-5710: De lete Notif ication]
  30              [Story# VA R-5707: No tification s – Icon w ith unread  notificat ion count]  do
  31              [Story# VA R-5711: Re ad/Unread  Status Ind icator]
  32              [Story# VA R-7010: No tification  Details:  Date Sent  field - fo rmatting]
  33              [Story# VA R-15183: C C - Notifi cation Mod al]' do
  34  
  35     include  DriverUtil ity
  36     include  OracleUtil ity
  37     include  DateUtilit y
  38     include  MongoUtili ty
  39  
  40     before(: all) do
  41       initia lizeConfig urations(V AR_BASE_UR L)
  42       @eula  = Eula.new (@driver)
  43       @login  = Login.n ew(@driver )
  44       @commo n = Common .new(@driv er)
  45       @landi ng_notific ations = L andingNoti fications. new(@drive r)
  46       @user_ menu = Use rMenuOptio n.new(@dri ver)
  47       @new_a ppointment  = NewAppo intmentReq uest.new(@ driver)
  48       @landi ng = Landi ng.new(@dr iver)
  49       @modal  = Modal.n ew(@driver )
  50  
  51       #@db =  connectTo MongoDBVMM ("vmm")
  52       #resto reCollecti on("inAppM essages"," vmm","inAp pMessages- vmm.json", @db)
  53       @commo n.loginEnd sOnHome(Mo ckUser19)
  54       @commo n.waitWhil eSpinnerPr esent
  55     end
  56  
  57     after(:a ll) do
  58       @drive r.close
  59     end
  60  
  61     context  '[Story# V AR-5705 AC #6142 TC#6 143: Landi ng Page- B utton labe led "Notif cations"/  Back butto n "Appoint ments/Requ ests"]'do
  62       it "sh ould see a nd be able  to click  the Notifi cations bu tton on th e landing  page" do
  63  
  64         expe ct(@landin g_notifica tions.noti fications_ btn_elemen t.when_pre sent(TIME_ OUT_LIMIT) .text).to  include("N otificatio ns")
  65       end
  66  
  67       it "sh ould verif y a Notifi cations pa ge with he ader title  Notificat ions" do
  68         @com mon.waitWh ileSpinner Present
  69         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  70         @lan ding_notif ications.c lickNotifi cationsBut ton
  71         @com mon.waitWh ileSpinner Present
  72         @com mon.wait_u ntil_eleme nts_size_s teadied(TI ME_OUT_LIM IT)
  73         @lan ding_notif ications.h eader_titl e_element. wait_until _present(T IME_OUT_LI MIT)
  74         expe ct(@landin g_notifica tions.head er_title_e lement.whe n_present( TIME_OUT_L IMIT).text ).to eq("N otificatio ns")
  75  
  76  
  77       end
  78  
  79       it "it  sholuld v erify a ba ck button  with title  Appointme nts/Reques ts to navi gate back  to the lan ding page"  do
  80         expe ct(@landin g_notifica tions.appo intment_bt n_element. text).to e q("Appoint ments/Requ ests")
  81       end
  82  
  83     end
  84  
  85     context  '[Story# V AR-5706 AC #5614  TC# 5615: Noti fications  list]' do
  86       it "sh ould show  all notifi cations in  list- Lab el: Notifi cations/ S ubject: VA  Appointme nts - Foll ow-up Appo intment Re minder " d o
  87         expe ct(@landin g_notifica tions.noti fications_ header_ele ment.text) .to eq("No tification ")
  88         expe ct(@landin g_notifica tions.noti fications_ subject_el ement.text ).to eq("V A Appointm ents - Fol low-up App ointment R eminder")
  89       end
  90  
  91       it "sh ould show  message Yo u do not h ave any no tification s at this  time. when  no notifi cations ar e present"  do
  92         #res toreCollec tion("inAp pMessages" ,"vmm","no InAppMessa ges-vmm.js on",@db)
  93         @com mon.logout AndLogback WithADiffe rentUser(M ockUser01)
  94         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  95         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  96         @lan ding_notif ications.c lickNotifi cationsBut ton
  97         @lan ding_notif ications.n o_notifica tions_elem ent.wait_u ntil_prese nt(TIME_OU T_LIMIT)
  98         expe ct(@landin g_notifica tions.no_n otificatio ns_element .text).to  eq("You do  not have  any notifi cations at  this time .")
  99       end
  100  
  101     end
  102  
  103     context  '[Story# V AR-5708 AC #6852  TC# 6853: Noti fication l ist: Link  to detail  view]' do
  104       it "sh ould show  notificati on page wi th panel h eader View  Notificat ion" do
  105         #res toreCollec tion("inAp pMessages" ,"vmm","in AppMessage s-vmm.json ",@db)
  106         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  107         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  108         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  109         @lan ding_notif ications.c lickNotifi cationsBut ton
  110         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  111         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  112         @com mon.waitWh ileSpinner Present
  113         @lan ding_notif ications.p anel_heade r_noti_pag e_element. wait_until _present(T IME_OUT_LI MIT)
  114         expe ct(@landin g_notifica tions.pane l_header_n oti_page_e lement.tex t).to eq(" View Notif ication")
  115       end
  116  
  117       it "sh oud return  to notifi ations lis t when Ret urn to Not ifications  List butt on is clic ked" do
  118         @com mon.waitWh ileSpinner Present
  119         @lan ding_notif ications.c lickReturn ToNotifica tionList
  120         @com mon.waitWh ileSpinner Present
  121         @lan ding_notif ications.h eader_titl e_element. wait_until _present(T IME_OUT_LI MIT)
  122         expe ct(@landin g_notifica tions.head er_title_e lement.whe n_present( TIME_OUT_L IMIT).text ).to eq("N otificatio ns")
  123       end
  124  
  125       it "sh ould retur n to Appoi ntment/Req uests page  when Appo intment/Re quest navi gation is  selected o n the noti fications  detail pag e" do
  126         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  127         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  128         @com mon.waitWh ileSpinner Present
  129         @lan ding_notif ications.a ppointment _btn_eleme nt.wait_un til_presen t(TIME_OUT _LIMIT)
  130         @lan ding_notif ications.c lickBackBu tton
  131         @com mon.waitWh ileSpinner Present
  132         @lan ding_notif ications.a ppt_page_t itle_eleme nt.wait_un til_presen t(TIME_OUT _LIMIT)
  133         expe ct(@landin g_notifica tions.noti fications_ btn_elemen t.when_pre sent(TIME_ OUT_LIMIT) .text).to  include("N otificatio ns")
  134       end
  135  
  136     end
  137  
  138  
  139     context  '[Story# V AR-5709 AC #VAR-6821  TC#VAR-682 2: Notific ationa det ails]' do
  140       it 'sh ould show  notificati ons detail  content f or a follo w up appoi ntment rem inder as f ollows
  141       VA App ointments  (source of  the notif ications)
  142       Date/t ime the no tification  was sent  (format: M M/DD/YYYY  HHMM 24 ho ur clock)
  143       Time z one (e.g.  America/Ne w York for mat)
  144       Horizo ntal Rule
  145       Conten t:
  146       It is  time to sc hedule a F ollow-Up A ppointment  at <Clini c name>
  147       Your p rovider ha s requeste d that you  schedule  a follow u p appointm ent around  04/14/201 7. Please  contact th e facility  below to  make an ap pointment:
  148       <Facil ity Name>
  149       <Clini c Name>
  150       <Clini c friendly  location  name> (dis play if va lued)
  151       <Provi der First  Name> <Pro vider Last  Name> (di splay if v alued)
  152       View V A Faciliti es (hyperl ink label  to facilit y locator  page:<To b e determin ed - if no t availabl e, remove  link>
  153       Your V A Healthca re Team
  154       A butt on labeled  "<add ico n> New App ointment/R equest" is  shown in  the upper  right corn er of the  notificati on box.' d o
  155         #res toreCollec tion("inAp pMessages" ,"vmm","in AppMessage s-vmm.json ",@db)
  156         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  157         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  158         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  159         @lan ding_notif ications.c lickNotifi cationsBut ton
  160         @com mon.waitWh ileSpinner Present
  161         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  162         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  163         @com mon.waitWh ileSpinner Present
  164         expe ct(@landin g_notifica tions.noti fication_d etail_foll ow_up_appt _element.t ext).to eq ("VA Appoi ntments -  Follow-up  Appointmen t Reminder \nDate Sen t:\n01/14/ 2019 @ 143 3\nTimezon e Unavaila ble\nYour  provider h as request ed that yo u schedule  a follow  up appoint ment aroun d 01/14/20 19. Please  contact t he facilit y below to  make an a ppointment :\n\nTEST  CLINIC\n\n VA Facilit y Locator\ nYour VA H ealthcare  Team")
  165       end
  166  
  167       it 'cl ick on VA  Facility L ocator ext ernal link ' do
  168         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  169         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  170         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  171         @lan ding_notif ications.c lickNotifi cationsBut ton
  172         @com mon.waitWh ileSpinner Present
  173         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  174         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  175         @com mon.waitWh ileSpinner Present
  176         expe ct(@landin g.vaFacili tyLink_ele ment.text) .to eq("VA  Facility  Locator")
  177         @lan ding.vaFac ilityLink
  178         @lan ding.confi rmModalTit le_element .when_visi ble(TIME_O UT_LIMIT)
  179         expe ct(@landin g.confirmM odalTitle_ element.te xt).to eq( "Confirmat ion")
  180         expe ct(@landin g.confirmT ext).to eq ("You are  about to l eave the V A Appointm ents app.  Select CON TINUE to p roceed to  the link i nformation  selected,  or select  RETURN to  return to  the VA Ap pointments  app.")
  181         expe ct(@modal. buttons_el ements[1]. text).to e q("Return" )
  182       end
  183  
  184       it 'cl ick on Ret urn button  from the  confirmati on modal'  do
  185         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  186         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  187         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  188         @lan ding_notif ications.c lickNotifi cationsBut ton
  189         @com mon.waitWh ileSpinner Present
  190         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  191         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  192         @com mon.waitWh ileSpinner Present
  193         @lan ding.vaFac ilityLink
  194         @lan ding.confi rmModalTit le_element .when_visi ble(TIME_O UT_LIMIT)
  195         @mod al.return
  196         #exp ect(@landi ng_notific ations.not ification_ header_tit le_element .text).to  eq("VA App ointments  - Follow-u p Appointm ent Remind er")
  197       end
  198  
  199       it 'cl ick on Con tinue butt on from th e confirma tion modal ' do
  200         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  201         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  202         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  203         @lan ding_notif ications.c lickNotifi cationsBut ton
  204         @com mon.waitWh ileSpinner Present
  205         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  206         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  207         @com mon.waitWh ileSpinner Present
  208         @lan ding.vaFac ilityLink
  209         @lan ding.confi rmModalTit le_element .when_visi ble(TIME_O UT_LIMIT)
  210         @mod al.continu e
  211         swit chWindowTo WindowHand leLast
  212           expect(get CurrentURL ).to eq("h ttps:// DNS . URL /find-loca tions/")
  213         swit chWindowTo WindowHand leFirst
  214       end
  215  
  216       it 'sh ow the fol lowing bel ow the not ifications  details c ontent
  217       The Re turn to No tification  list butt on is disp layed belo w the noti fication i nformation ' do
  218         expe ct(@landin g_notifica tions.noti fication_d etails_act ion_elemen t.text).to  eq("Retur n to Notif ication Li st Delete" )
  219       end
  220  
  221       it "Se lecting th e button o pens the N ew Appoint ment/Reque st form" d o
  222         @lan ding_notif ications.n otificatio n_detail_n ew_appt_el ement.wait _until_pre sent(TIME_ OUT_LIMIT)
  223         @lan ding_notif ications.n otificatio n_detail_n ew_appt
  224         @com mon.waitWh ileSpinner Present
  225         @lan ding_notif ications.a ppt_page_t itle_eleme nt.wait_un til_presen t(TIME_OUT _LIMIT)
  226         expe ct(@landin g_notifica tions.appt _page_titl e_element. text).to e q("New App ointment/R equest")
  227       end
  228  
  229     end
  230  
  231     context  '[Story# V AR-6428 AC #6854 TC#6 855: Notif ications-  In App Lis t (Update  Columns)]'  do
  232       it 'sh ould show  Notificati on and Sou rce column s: status'  do
  233         #res toreCollec tion("inAp pMessages" ,"vmm","in AppMessage s-vmm.json ",@db)
  234         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  235         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  236         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  237         @lan ding_notif ications.c lickNotifi cationsBut ton
  238         @com mon.waitWh ileSpinner Present
  239         @lan ding_notif ications.s tatus_col_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  240         expe ct(@landin g_notifica tions.stat us_col_ele ment.text) .to eq("St atus")
  241       end
  242  
  243       it 'sh ould show  Notificati on and Sou rce column s: Notific ation' do
  244         @lan ding_notif ications.n otificatio n_col_elem ent.wait_u ntil_prese nt(TIME_OU T_LIMIT)
  245         expe ct(@landin g_notifica tions.noti fication_c ol_element .text).to  eq("Notifi cation")
  246       end
  247  
  248       it 'sh ould show  Notificati on and Sou rce column s: source'  do
  249         @lan ding_notif ications.s ource_col_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  250         expe ct(@landin g_notifica tions.sour ce_col_ele ment.text) .to eq("So urce")
  251       end
  252  
  253       it 'sh ould show  Notificati on column  with the t itle' do
  254         @lan ding_notif ications.n otificatio n_col_titl e_element. wait_until _present(T IME_OUT_LI MIT)
  255         expe ct(@landin g_notifica tions.noti fication_c ol_title_e lement.tex t).to eq(" It is time  to schedu le a Follo w-Up Appoi ntment at  TEST CLINI C")
  256       end
  257  
  258       it 'sh ould show  Source col umn with t he source  field' do
  259         @lan ding_notif ications.s ource_col_ title_elem ent.wait_u ntil_prese nt(TIME_OU T_LIMIT)
  260         expe ct(@landin g_notifica tions.sour ce_col_tit le_element .text).to  eq("VA App ointments  - Follow-u p Appointm ent Remind er")
  261       end
  262     end
  263  
  264     context  '[Story# V AR-5710 AC # TC#: Del ete Notifi cation]' d o
  265       it 'sh ould show  a confirma tion modal  when the  delete but ton is sel ected' do
  266         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  267         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  268         @com mon.waitWh ileSpinner Present
  269         @lan ding_notif ications.r eturn_to_n ote_list_b tn_element .wait_unti l_present( TIME_OUT_L IMIT)
  270         @lan ding_notif ications.d elete_btn_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  271         #@la nding_noti fications. delete_btn
  272  
  273         # @d etail.back _btn
  274         butt on_element  = @driver .button(:i d => 'dele te-btn')
  275         @dri ver.execut e_script(" $(argument s[0]).clic k();",butt on_element )
  276         @com mon.waitWh ileSpinner Present
  277         @lan ding_notif ications.d elete_moda l_body_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  278         expe ct(@landin g_notifica tions.dele te_modal_b ody_elemen t.text).to  eq("You a re deletin g this not ification  from your  list. Do y ou want to  continue? ")
  279  
  280       end
  281  
  282       it 'sh ould show  Yes and No  buttons f or the con firmation  modal. No  takes back  to notifi cation det ails' do
  283  
  284         @lan ding_notif ications.d elete_moda l_no_btn
  285         expe ct(@landin g_notifica tions.head er_title_e lement.tex t).to eq(" View Notif ication")
  286       end
  287  
  288       it 'sh ould show  Yes and No  buttons f or the con firmation  modal. Yes  returns t he user ba ck to noti fications  page' do
  289         @lan ding_notif ications.d elete_btn
  290         @lan ding_notif ications.d elete_moda l_body_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  291         @lan ding_notif ications.d elete_moda l_yes_btn
  292         @lan ding_notif ications.p anel_heade r_noti_pag e_element. wait_until _present(T IME_OUT_LI MIT)
  293         expe ct(@landin g_notifica tions.pane l_header_n oti_page_e lement.tex t).to incl ude("Notif ication")
  294       end
  295  
  296     end
  297  
  298     context  'Story# VA R-5711 AC# 7016 TC#70 17: Read/U nread Stat us Indicat or' do
  299       it 'sh ould show  a closed e nvelope to  indicate  unread sta tus for th e notifica tion' do
  300         #res toreCollec tion("inAp pMessages" ,"vmm","in AppMessage s-vmm.json ",@db)
  301         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  302         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  303         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  304         @lan ding_notif ications.c lickNotifi cationsBut ton
  305         @lan ding_notif ications.r ead_unread _indicator _element.w ait_until_ present(TI ME_OUT_LIM IT)
  306         expe ct(@landin g_notifica tions.read _unread_in dicator_el ement.visi ble?).to e q(true)
  307       end
  308  
  309       it 'sh ould show  no envelop e to indic ate read s tatus for  the notifi cation' do
  310         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  311         @com mon.waitWh ileSpinner Present
  312         @lan ding_notif ications.r eturn_to_n ote_list_b tn_element .wait_unti l_present( TIME_OUT_L IMIT)
  313         @lan ding_notif ications.c lickReturn ToNotifica tionList
  314         expe ct(@landin g_notifica tions.read _unread_in dicator_el ement.visi ble?).to e q(false)
  315       end
  316  
  317     end
  318  
  319     context  'Story# VA R-5707 AC# 7196 TC#71 97' do
  320       it 'sh ould show  6 notifica tions on t he notific ations but tons' do
  321         #res toreCollec tion("inAp pMessages" ,"vmm","in AppMessage s-vmm.json ",@db)
  322         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  323         @lan ding_notif ications.n otificatio ns_counter _element.w ait_until_ present(TI ME_OUT_LIM IT)
  324         expe ct(@landin g_notifica tions.noti fications_ counter_el ement.text ).to eq("6 ")
  325       end
  326  
  327       it 'sh ould show  5 notifica tions afte r one of t he notific ations is  read' do
  328         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  329         @lan ding_notif ications.c lickNotifi cationsBut ton
  330         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  331         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  332         @com mon.waitWh ileSpinner Present
  333         @lan ding_notif ications.r eturn_to_n ote_list_b tn_element .wait_unti l_present( TIME_OUT_L IMIT)
  334         @lan ding_notif ications.c lickReturn ToNotifica tionList
  335         @lan ding_notif ications.c lickBackBu tton
  336         @com mon.waitWh ileSpinner Present
  337         @lan ding_notif ications.n otificatio ns_counter _element.w ait_until_ present(TI ME_OUT_LIM IT)
  338         expe ct(@landin g_notifica tions.noti fications_ counter_el ement.text ).to eq("5 ")
  339       end
  340  
  341     end
  342  
  343     context  'Story# VA R-7010 AC# 7260 TC#72 61: Notifi cation Det ails: Date  Sent fiel d - format ting' do
  344       it 'sh ould show  a Date Sen t field an d have @ b efore the  time' do
  345         #res toreCollec tion("inAp pMessages" ,"vmm","in AppMessage s-vmm.json ",@db)
  346         @com mon.logout AndLogback WithADiffe rentUser(M ockUser19)
  347         @lan ding_notif ications.n otificatio ns_btn_ele ment.wait_ until_pres ent(TIME_O UT_LIMIT)
  348         @lan ding_notif ications.a ppointment s_heading_ element.wa it_until_p resent(TIM E_OUT_LIMI T)
  349         @lan ding_notif ications.c lickNotifi cationsBut ton
  350         @lan ding_notif ications.n otificatio n_element. wait_until _present(T IME_OUT_LI MIT)
  351         @lan ding_notif ications.n otificatio ns_list_el ements[0]. click
  352         @com mon.waitWh ileSpinner Present
  353         expe ct(@landin g_notifica tions.noti fication_d etail_foll ow_up_appt _element.t ext).to eq ("VA Appoi ntments -  Follow-up  Appointmen t Reminder \nDate Sen t:\n01/14/ 2019 @ 151 8\nTimezon e Unavaila ble\nYour  provider h as request ed that yo u schedule  a follow  up appoint ment aroun d 01/14/20 19. Please  contact t he facilit y below to  make an a ppointment :\n\nTEST  CLINIC\n\n VA Facilit y Locator\ nYour VA H ealthcare  Team")
  354       end
  355  
  356       it 'sh ould show  Step 1 Typ e of Care  Selection  Page when  NEw Appoin tment is c licked' do
  357         @lan ding_notif ications.n otificatio n_detail_n ew_appt_el ement.wait _until_pre sent(TIME_ OUT_LIMIT)
  358         @com mon.select AddAppoint mentButton ("VA")
  359         @lan ding_notif ications.a ppt_page_t itle_eleme nt.wait_un til_presen t(TIME_OUT _LIMIT)
  360         expe ct(@new_ap pointment. step_1_typ e_of_care_ element.te xt).to eq  "Step 1: T ype of Car e"
  361       end
  362  
  363     end
  364   end