173. EPMO Open Source Coordination Office Redaction File Detail Report

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

173.1 Files compared

# Location File Last Modified
1 var_web_release_4_18.zip\var_web_release_4_8_ebb0ab2774d.zip\veteran-appointment-requests\app\modules\learn-about-community-care learn-about-community-care-popup-view_spec.js 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\app\modules\learn-about-community-care learn-about-community-care-popup-view_spec.js Wed May 29 22:08:01 2019 UTC

173.2 Comparison summary

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

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

173.4 Active regular expressions

No regular expressions were active.

173.5 Comparison detail

  1   define([
  2       'modul es/page/po pup/extern al-nav-pop up-view',
  3       'modul es/learn-a bout-commu nity-care/ learn-abou t-communit y-care-pop up-view',
  4   ], functio n(External Navigation WarningPop up, HelpPo pupView) {
  5       'use s trict';
  6  
  7       descri be('Learn  About Comm unity Care  Popup', f unction()  {
  8           va r view;
  9           va r $view;
  10  
  11           be foreEach(f unction()  {
  12                spyOn(Ex ternalNavi gationWarn ingPopup.p rototype,  'openPopup ');
  13  
  14                view = n ew HelpPop upView({el AfterClose : '.elemen t-for-focu s'});
  15  
  16                $('body' ).append(' <a class=" element-fo r-focus" h ref="#"></ a>');
  17                view.ren der();
  18                $view =  view.$el;
  19           }) ;
  20  
  21           af terEach(fu nction() {
  22                view.des troy();
  23                $('.elem ent-for-fo cus').remo ve();
  24           }) ;
  25  
  26           it ('has a he ading', fu nction() {
  27                expect($ view.find( 'h2.ui-tit le').text( )).toEqual ('Learn Ab out Commun ity Care') ;
  28           }) ;
  29  
  30           it ('has the  required e mergency p aragraphs' , function () {
  31                expect($ view.find( '.ui-conte nt p:nth-o f-type(1)' ).text())
  32                    .toE qual('The  new Commun ity Care P rogram all ows Vetera ns who are  already e nrolled in  VA Health  Care to r eceive hea lth care i n their co mmunity, w hile still  having ac cess to th eir regula r VA Healt h Care. VA  Online Sc heduling e nhances th e Veteran\ 's communi ty care ex perience b y providin g an addit ional meth od for req uesting co mmunity ca re service s.');
  33                expect($ view.find( '.ui-conte nt p:nth-o f-type(2)' ).text())
  34                      .toEqual(' To learn m ore about  the new Co mmunity Ca re Program , visit: h ttps:// DNS . URL /oei/missi onAct/');
  35                expect($ view.find( '.ui-conte nt p:nth-o f-type(2)  a').attr(' href'))
  36                      .toEqual(' https:// DNS . URL /oei/missi onAct/');
  37                expect($ view.find( '.ui-conte nt p:nth-o f-type(3)' ).text())
  38                    .toE qual('To a ccess a cu rrent list  of approv ed provide rs, visit  VA Facilit y Locator  and select  Community  Care (Non -VA Health ) from the  "Search F or" dropdo wn menu.') ;
  39                expect($ view.find( '.ui-conte nt p:nth-o f-type(3)  a').attr(' href'))
  40                      .toEqual(' https:// DNS . URL /find-loca tions/');
  41           }) ;
  42  
  43           it ('shows a  warning po pup for ex ternal lin ks in the  notificati on text bo dy', funct ion() {
  44                view.$el .find('.ex ternal-lin k').click( );
  45                expect(E xternalNav igationWar ningPopup. prototype. openPopup) .toHaveBee nCalled();
  46           }) ;
  47  
  48           it ('has an O K button',  function( ) {
  49                var logi nBtn = $vi ew.find('# learncc-ok -btn');
  50                expect(l oginBtn.te xt()).toEq ual('OK');
  51           }) ;
  52       });
  53   });