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

166.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\appointments\booked\telehealth veteran-video-connect-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\appointments\booked\telehealth veteran-video-connect-popup-view_spec.js Thu May 30 00:11:51 2019 UTC

166.2 Comparison summary

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

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

166.4 Active regular expressions

No regular expressions were active.

166.5 Comparison detail

  1   define([
  2       'backb one',
  3       'modul es/appoint ments/book ed/telehea lth/vetera n-video-co nnect-popu p-view',
  4   ],
  5   function(B ackbone, V VCPopupVie w) {
  6       'use s trict';
  7  
  8       descri be('Vetera n Video Co nnect Popu p View', f unction()  {
  9           va r view;
  10           va r $view;
  11           va r apptMock  = {
  12                'startDa te': '2018 -09-04T12: 00:00Z',
  13                'clinicI d': '488',
  14                'facilit yId': '523 ',
  15                'patient Icn': '500 00000366V7 99468',
  16                'dateTim e': '2018- 09-04T12:0 0:00Z',
  17                'desired Date': '+5 0645-11-18 T00:00:00Z ',
  18                'duratio n': 30,
  19                'type':  'REGULAR',
  20                'instruc tion': 'th is is a te st of inst ruction',
  21                'instruc tionsOther ': true,
  22                'siteCod e': '',
  23                'appoint mentTime':  '2018-09- 04T12:00:0 0Z',
  24                'virtual MeetingRoo m': {
  25                    'con ference':  'VVC123456 7',
  26                    'pin ': '12345# ',
  27                      'url': 'ht tps:// DNS . URL /vvc-app/? join=1&med ia=1&escal ate=1&conf erence= PII &pin=12345 #',
  28                },
  29                'facilit y': {
  30                    'nam e': 'BOSTO N HCS VAMC ',
  31                    'sit eCode': '5 23',
  32                    'tim eZone': '3 5',
  33                },
  34                'facilit yName': 'B OSTON HCS  VAMC',
  35                'clinic' : {
  36                    'ien ': '488',
  37                    'nam e': 'PRIMA RY CARE1 -  ADHOC2',
  38                },
  39                'booking Note': 'Re asons for  appointmen t for ADHO C2',
  40                'text-na me': 'asd  ad',
  41           };
  42  
  43           //  TODO: upg rade Jasmi ne, change  to before All
  44           be foreEach(f unction()  {
  45                spyOn(VV CPopupView .prototype , 'continu eToVVC');
  46                view = n ew VVCPopu pView({elA fterClose:  $('.eleme nt-for-foc us'), mode l: new Bac kbone.Mode l(apptMock )});
  47  
  48                $('body' ).append(' <a class=" element-fo r-focus" h ref="#"></ a>');
  49  
  50                view.ren der();
  51                $view =  view.$el;
  52           }) ;
  53  
  54           af terEach(fu nction() {
  55                view.des troy();
  56                $('.elem ent-for-fo cus').remo ve();
  57           }) ;
  58  
  59           it ('has a he ading', fu nction() {
  60                expect($ view.find( 'h2').text ()).toEqua l('Join us ing VA Vid eo Connect ');
  61           }) ;
  62  
  63           it ('has Cont inue and C ancel butt ons', func tion() {
  64                expect($ view.find( 'button, a [role=butt on]').leng th).toEqua l(2);
  65  
  66                expect($ view.find( '#vvc-cont inue-btn') .text()).t oEqual('Co ntinue to  VA Video C onnect');
  67  
  68                expect($ view.find( '#cancel-r eturn-btn' ).text()). toEqual('C ancel');
  69           }) ;
  70  
  71           it ('has the  Save butto n before t he Cancel  button', f unction()  {
  72                expect($ view.find( '#vvc-cont inue-btn +  #cancel-r eturn-btn' ).length). toEqual(1) ;
  73           }) ;
  74  
  75           it ('calls co ntinueToVV C when the  Save butt on is clic ked', func tion() {
  76                $view.fi nd('#vvc-c ontinue-bt n').click( );
  77                expect(v iew.contin ueToVVC).t oHaveBeenC alled();
  78           }) ;
  79       });
  80   });