Produced by Araxis Merge on 12/8/2017 1:33:40 PM Central Standard 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 | PC_CP4_CiF.zip\FPPS_Frontend\fpps-app\src\app\tools\modify-user-request | modify-user-request.component.spec.ts | Fri Dec 8 17:52:26 2017 UTC |
| 2 | PC_CP4_CiF.zip\FPPS_Frontend\fpps-app\src\app\tools\modify-user-request | modify-user-request.component.spec.ts | Fri Dec 8 19:11:56 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 748 |
| Changed | 2 | 4 |
| 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 | import { a sync, Comp onentFixtu re, TestBe d } from ' @angular/c ore/testin g'; | |
| 2 | import { M enuCompone nt } from '../../sha red/menu/m enu.compon ent'; | |
| 3 | import { M odifyUserR equestComp onent } fr om './modi fy-user-re quest.comp onent'; | |
| 4 | import { R outerTesti ngModule } from '@an gular/rout er/testing '; | |
| 5 | import { H ttpModule } from '@a ngular/htt p'; | |
| 6 | import { F ormsModule } from '@ angular/fo rms'; | |
| 7 | import { D ebugElemen t, SimpleC hanges } f rom '@angu lar/core'; | |
| 8 | import { B y } from ' @angular/p latform-br owser'; | |
| 9 | import { T ableCompon ent } from '../../sh ared/table /table.com ponent'; | |
| 10 | import { A ssignCompo nent } fro m '../../s hared/assi gn/assign. component' ; | |
| 11 | import { P aginationC omponent } from '../ ../shared/ table/pagi nation/pag ination.co mponent'; | |
| 12 | import { N umPerPageC omponent } from '../ ../shared/ table/numP erPage/num PerPage.co mponent'; | |
| 13 | ||
| 14 | describe(' ModifyUser RequestCom ponent', ( ) => { | |
| 15 | let co mponent: M odifyUserR equestComp onent; | |
| 16 | let fi xture: Com ponentFixt ure<Modify UserReques tComponent >; | |
| 17 | let de bugElement : DebugEle ment; | |
| 18 | ||
| 19 | before Each(async (() => { | |
| 20 | Te stBed.conf igureTesti ngModule({ | |
| 21 | imports: [FormsMod ule, HttpM odule, Rou terTesting Module], | |
| 22 | declarat ions: [Mod ifyUserReq uestCompon ent, MenuC omponent, TableCompo nent, Assi gnComponen t, Paginat ionCompone nt, NumPer PageCompon ent] | |
| 23 | }) | |
| 24 | .compile Components (); | |
| 25 | })); | |
| 26 | ||
| 27 | before Each(() => { | |
| 28 | fi xture = Te stBed.crea teComponen t(ModifyUs erRequestC omponent); | |
| 29 | co mponent = fixture.co mponentIns tance; | |
| 30 | fi xture.dete ctChanges( ); | |
| 31 | }); | |
| 32 | ||
| 33 | it('sh ould be cr eated', () => { | |
| 34 | ex pect(compo nent).toBe Truthy(); | |
| 35 | }); | |
| 36 | ||
| 37 | //task #578136 | |
| 38 | it('sh ould have "window_nt _name" ele ment', () => { | |
| 39 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#w indow_nt_n ame')); | |
| 40 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 41 | ||
| 42 | ex pect(htmlE lement).to BeTruthy() ; | |
| 43 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 44 | ex pect(htmlE lement.hid den).toBe( false); | |
| 45 | ||
| 46 | }); | |
| 47 | ||
| 48 | //task #578136 | |
| 49 | it('sh ould set i nput value for windo w_nt_name' , () => { | |
| 50 | // first rou nd of chan ge detecti on | |
| 51 | fi xture.dete ctChanges( ); | |
| 52 | ||
| 53 | // get ahold of the in put compo nent.userR equest.dis able_comme nts = "som e text"; | |
| 54 | // let input = debugEle ment.query (By.css('# window_nt_ name')); | |
| 55 | co nst input = fixture. debugEleme nt.query(B y.css('#wi ndow_nt_na me')); | |
| 56 | co nst inputE lement = i nput.nativ eElement; | |
| 57 | ||
| 58 | // set input value | |
| 59 | in putElement .value = ' vhaispchmi em'; | |
| 60 | in putElement .dispatchE vent(new E vent('inpu t')); | |
| 61 | ||
| 62 | ex pect(compo nent.winnt name.windo w_nt_name) .toBe('vha ispchmiem' ); | |
| 63 | }); | |
| 64 | ||
| 65 | //karm a unit tes t task-#58 1416 | |
| 66 | it('sh ould have "first_nam e" element ', () => { | |
| 67 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#f irst_name' )); | |
| 68 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 69 | ||
| 70 | ex pect(htmlE lement).to BeTruthy() ; | |
| 71 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 72 | ex pect(htmlE lement.hid den).toBe( false); | |
| 73 | ||
| 74 | }); | |
| 75 | ||
| 76 | //karm a unit tes t task-#58 1416 | |
| 77 | it('sh ould set i nput value for first _name', () => { | |
| 78 | // first rou nd of chan ge detecti on | |
| 79 | fi xture.dete ctChanges( ); | |
| 80 | ||
| 81 | // get ahold of the in put | |
| 82 | co nst input = fixture. debugEleme nt.query(B y.css('#fi rst_name') ); | |
| 83 | co nst inputE lement = i nput.nativ eElement; | |
| 84 | ||
| 85 | // set input value | |
| 86 | in putElement .value = ' Lucky'; | |
| 87 | in putElement .dispatchE vent(new E vent('inpu t')); | |
| 88 | ||
| 89 | ex pect(compo nent.first Name.first _name).toB e('Lucky') ; | |
| 90 | }); | |
| 91 | ||
| 92 | //karm a test - t ask#580196 | |
| 93 | it('sh ould have "middle_na me element ', () => { | |
| 94 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#m iddle_name ')); | |
| 95 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 96 | ||
| 97 | ex pect(htmlE lement).to BeTruthy() ; | |
| 98 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 99 | ex pect(htmlE lement.hid den).toBe( false); | |
| 100 | }); | |
| 101 | ||
| 102 | //karm a test - t ask#580196 | |
| 103 | it('sh ould set i nput value for middl e_name', ( ) => { | |
| 104 | // first rou nd of chan ge detecti on | |
| 105 | fi xture.dete ctChanges( ); | |
| 106 | ||
| 107 | // get ahold of the in put | |
| 108 | co nst input = fixture. debugEleme nt.query(B y.css('#mi ddle_name' )); | |
| 109 | co nst inputE lement = i nput.nativ eElement; | |
| 110 | ||
| 111 | // set input value | |
| 112 | in putElement .value = ' jackie'; | |
| 113 | in putElement .dispatchE vent(new E vent('inpu t')); | |
| 114 | ||
| 115 | ex pect(compo nent.middl eName.midd le_name).t oBe('jacki e'); | |
| 116 | }); | |
| 117 | ||
| 118 | //karm a test - t ask#580881 | |
| 119 | it('sh ould have "last_name " element' , () => { | |
| 120 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#l ast_name') ); | |
| 121 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 122 | ||
| 123 | ex pect(htmlE lement).to BeTruthy() ; | |
| 124 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 125 | ex pect(htmlE lement.hid den).toBe( false); | |
| 126 | }); | |
| 127 | ||
| 128 | //karm a test - t ask#580881 | |
| 129 | it('sh ould set i nput value for last_ name', () => { | |
| 130 | // first rou nd of chan ge detecti on | |
| 131 | fi xture.dete ctChanges( ); | |
| 132 | ||
| 133 | // get ahold of the in put | |
| 134 | co nst input = fixture. debugEleme nt.query(B y.css('#la st_name')) ; | |
| 135 | co nst inputE lement = i nput.nativ eElement; | |
| 136 | ||
| 137 | // set input value | |
| 138 | in putElement .value = ' chan'; | |
| 139 | in putElement .dispatchE vent(new E vent('inpu t')); | |
| 140 | ||
| 141 | ex pect(compo nent.lastN ame.last_n ame).toBe( 'chan'); | |
| 142 | }); | |
| 143 | ||
| 144 | //karm a test - t ask#580342 | |
| 145 | it('sh ould have "phone num ber elemen t', () => { | |
| 146 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#p hone')); | |
| 147 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 148 | ||
| 149 | ex pect(htmlE lement).to BeTruthy() ; | |
| 150 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 151 | ex pect(htmlE lement.hid den).toBe( false); | |
| 152 | }); | |
| 153 | ||
| 154 | //karm a test - t ask#580342 | |
| 155 | it('sh ould set i nput value for phone number el ement', () => { | |
| 156 | // first rou nd of chan ge detecti on | |
| 157 | fi xture.dete ctChanges( ); | |
| 158 | ||
| 159 | // get ahold of the in put | |
| 160 | co nst input = fixture. debugEleme nt.query(B y.css('#ph one')); | |
| 161 | co nst inputE lement = i nput.nativ eElement; | |
| 162 | ||
| 163 | // set input value | |
| 164 | in putElement .value = ' 9778654321 '; | |
| 165 | in putElement .dispatchE vent(new E vent('inpu t')); | |
| 166 | ||
| 167 | ex pect(compo nent.phone Number.pho ne).toBe(' 9778654321 '); | |
| 168 | }); | |
| 169 | ||
| 170 | // kar ma test fo r email el ement task #581091 | |
| 171 | it('sh ould have email elem ent', () = > { | |
| 172 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#e mail')); | |
| 173 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 174 | ||
| 175 | ex pect(htmlE lement).to BeTruthy() ; | |
| 176 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 177 | ex pect(htmlE lement.hid den).toBe( false); | |
| 178 | }); | |
| 179 | ||
| 180 | // kar ma test fo r email el ement task #581091 | |
| 181 | it('sh ould set i nput value for email address e lement', ( ) => { | |
| 182 | // first rou nd of chan ge detecti on | |
| 183 | fi xture.dete ctChanges( ); | |
| 184 | ||
| 185 | // get ahold of the in put | |
| 186 | co nst input = fixture. debugEleme nt.query(B y.css('#em ail')); | |
| 187 | co nst inputE lement = i nput.nativ eElement; | |
| 188 | ||
| 189 | // set input value | |
| 190 | inputEleme nt.value = PII '; | |
| 191 | in putElement .dispatchE vent(new E vent('inpu t')); | |
| 192 | ||
| 193 | expect(com ponent.ema ilAddress. email).toB e('ABC@ D O MAIN '); | |
| 194 | }); | |
| 195 | ||
| 196 | // kar ma test fo r Enable/D isable che ckbox task #580388 | |
| 197 | it('en able/disab le checkbo x should b e checked' , () => { | |
| 198 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#e nabled')); | |
| 199 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 200 | le t input: H TMLInputEl ement; | |
| 201 | in put = fixt ure.debugE lement.que ry(By.css( '#enabled' )).nativeE lement; | |
| 202 | ex pect(input .checked.v alueOf).to BeTruthy() ; // value Of attribu te true in dicates ch eckbox is checked | |
| 203 | }); | |
| 204 | ||
| 205 | // kar ma test fo r Roles se lect box e lement tas k#581243 | |
| 206 | it('sh ould have Roles mult iple selec t box elem ent', () = > { | |
| 207 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 208 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 209 | ||
| 210 | ex pect(htmlE lement).to BeTruthy() ; | |
| 211 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 212 | ex pect(htmlE lement.hid den).toBe( false); | |
| 213 | }); | |
| 214 | ||
| 215 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 216 | it('sh ould have available Role OF "F EE SUPERVI SOR"', () => { | |
| 217 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 218 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 219 | ||
| 220 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FEE SUPE RVISOR')). toBeDefine d(); | |
| 221 | }); | |
| 222 | ||
| 223 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 224 | it('sh ould have available Role OF "F EE VISN PG M MANAGER" ', () => { | |
| 225 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 226 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 227 | ||
| 228 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FEE VISN PGM MANAG ER')).toBe Defined(); | |
| 229 | }); | |
| 230 | ||
| 231 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 232 | it('sh ould have available Role OF "F PPS ADMIN" ', () => { | |
| 233 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 234 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 235 | ||
| 236 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FPPS ADM IN')).toBe Defined(); | |
| 237 | }); | |
| 238 | ||
| 239 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 240 | it('sh ould have available Role OF "F PPS HELP D ESK"', () => { | |
| 241 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 242 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 243 | ||
| 244 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FPPS HEL P DESK')). toBeDefine d(); | |
| 245 | ||
| 246 | }); | |
| 247 | ||
| 248 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 249 | it('sh ould have available Role OF "F EE CLERK"' , () => { | |
| 250 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 251 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 252 | ||
| 253 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FEE CLER K')).toBeD efined(); | |
| 254 | }); | |
| 255 | ||
| 256 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 257 | it('sh ould have available Role OF "F EE DATA AD MIN"', () => { | |
| 258 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 259 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 260 | ||
| 261 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FEE DATA ADMIN')). toBeDefine d(); | |
| 262 | }); | |
| 263 | ||
| 264 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 265 | it('sh ould have available Role OF "F EE FISCAL USER"', () => { | |
| 266 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 267 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 268 | ||
| 269 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FEE FISC AL USER')) .toBeDefin ed(); | |
| 270 | }); | |
| 271 | ||
| 272 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 273 | it('sh ould have available Role OF "F EE MAIL CL ERK"', () => { | |
| 274 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 275 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 276 | ||
| 277 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FEE MAIL CLERK')). toBeDefine d(); | |
| 278 | }); | |
| 279 | ||
| 280 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 281 | it('sh ould have available Role OF "F EE HELP DE SK"', () = > { | |
| 282 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 283 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 284 | ||
| 285 | ex pect(htmlE lement.att ributes.ge tNamedItem ('FEE HELP DESK')).t oBeDefined (); | |
| 286 | }); | |
| 287 | ||
| 288 | // kar ma test fo r Roles se lect box e lement ava ilable opt ion task#5 81243 | |
| 289 | it('sh ould have available Role OF "H AC DATA AD MIN"', () => { | |
| 290 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#R oles')); | |
| 291 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 292 | ||
| 293 | ex pect(htmlE lement.att ributes.ge tNamedItem ('HAC DATA ADMIN')). toBeDefine d(); | |
| 294 | }); | |
| 295 | ||
| 296 | // kar ma test fo r faciliti es select box elemen t task#580 265 facili ties | |
| 297 | it('sh ould have facilities select bo x element' , () => { | |
| 298 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#F acilities' )); | |
| 299 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 300 | ||
| 301 | ex pect(htmlE lement).to BeTruthy() ; | |
| 302 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 303 | ex pect(htmlE lement.hid den).toBe( false); | |
| 304 | ||
| 305 | }); | |
| 306 | ||
| 307 | // kar ma test fo r faciliti es select box elemen t task#580 265 | |
| 308 | it('sh ould have available facility O F "Visn: 1 6/Facility : 580 (Hou ston VAMC) "', () => { | |
| 309 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#F acilities' )); | |
| 310 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 311 | ||
| 312 | ex pect(htmlE lement.att ributes.ge tNamedItem ('Visn: 16 /Facility: 580 (Hous ton VAMC)' )).toBeDef ined(); | |
| 313 | ||
| 314 | }); | |
| 315 | ||
| 316 | // kar ma test fo r faciliti es select box elemen t task#580 265 | |
| 317 | it('sh ould have available facility O F "Visn: 1 6/Facility : 564 (Fay etteville NC)"', () => { | |
| 318 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#F acilities' )); | |
| 319 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 320 | ||
| 321 | ex pect(htmlE lement.att ributes.ge tNamedItem ('Visn: 16 /Facility: 564 (Faye tteville N C)')).toBe Defined(); | |
| 322 | ||
| 323 | }); | |
| 324 | // kar ma test fo r faciliti es select box elemen t task#580 265 | |
| 325 | it('sh ould have available facility O F "Visn: 1 6/Facility : 586 (JAC KSON MS)"' , () => { | |
| 326 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#F acilities' )); | |
| 327 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 328 | ||
| 329 | ex pect(htmlE lement.att ributes.ge tNamedItem ('Visn: 16 /Facility: 586 (JACK SON MS)')) .toBeDefin ed(); | |
| 330 | ||
| 331 | }); | |
| 332 | // kar ma test fo r faciliti es select box elemen t task#580 265 | |
| 333 | it('sh ould have available facility O F "Visn: 1 6/Facility : 598 (N L ITTLE ROCK )"', () => { | |
| 334 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#F acilities' )); | |
| 335 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 336 | ||
| 337 | ex pect(htmlE lement.att ributes.ge tNamedItem ('Visn: 16 /Facility: 598 (N LI TTLE ROCK) ')).toBeDe fined(); | |
| 338 | ||
| 339 | }); | |
| 340 | // kar ma test fo r faciliti es select box elemen t task#580 265 | |
| 341 | it('sh ould have available facility O F "Visn: 1 6/Facility : 563 (BIL OXI MS)"', () => { | |
| 342 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#F acilities' )); | |
| 343 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 344 | ||
| 345 | ex pect(htmlE lement.att ributes.ge tNamedItem ('Visn: 16 /Facility: 563 (BILO XI MS)')). toBeDefine d(); | |
| 346 | ||
| 347 | }); | |
| 348 | //karm a unit tes t task-#58 0349 | |
| 349 | it('sh ould have "disable_c omments" e lement', ( ) => { | |
| 350 | co nst debugE lement: De bugElement = fixture .debugElem ent.query( By.css('#c omments')) ; | |
| 351 | co nst htmlEl ement: HTM LElement = debugElem ent.native Element; | |
| 352 | ||
| 353 | ex pect(htmlE lement).to BeTruthy() ; | |
| 354 | ex pect(htmlE lement.hid den).toEqu al(false); | |
| 355 | ex pect(htmlE lement.hid den).toBe( false); | |
| 356 | ||
| 357 | }); | |
| 358 | //karm a unit tes t task-#58 0349 - sec ond test | |
| 359 | it('sh ould set i nput value for "disa ble_commen ts"', () = > { | |
| 360 | // first rou nd of chan ge detecti on | |
| 361 | fi xture.dete ctChanges( ); | |
| 362 | ||
| 363 | // get ahold of the in put | |
| 364 | co nst input = fixture. debugEleme nt.query(B y.css('#co mments')); | |
| 365 | co nst inputE lement = i nput.nativ eElement; | |
| 366 | ||
| 367 | // set input value | |
| 368 | in putElement .value = ' not valida ted'; | |
| 369 | in putElement .dispatchE vent(new E vent('inpu t')); | |
| 370 | ||
| 371 | ex pect(compo nent.comme nts.disabl e_comments ).toBe('no t validate d'); | |
| 372 | }); | |
| 373 | ||
| 374 | ||
| 375 | ||
| 376 | }); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.