acceptacnce test verifies page renders
This commit is contained in:
		
							parent
							
								
									f5cf206bce
								
							
						
					
					
						commit
						800aef7b3f
					
				|  | @ -1 +1,3 @@ | |||
| {{email}} | ||||
| <div class="payments"> | ||||
|   {{username}} | ||||
| </div> | ||||
|  |  | |||
|  | @ -1,11 +1,11 @@ | |||
| import { acceptance } from 'helpers/qunit-helpers'; | ||||
| acceptance('Choice Discourse', { loggedIn: true }); | ||||
| 
 | ||||
| // test('Choice Page Exists', () => { | ||||
| //   visit('/user'); | ||||
| // | ||||
| //   andThen(() => { | ||||
| //     ok(exists('h1'), 'Choice'); | ||||
| //     ok(exists('form'), 'Something'); | ||||
| //   }); | ||||
| // }); | ||||
| test('Choice Page Exists', () => { | ||||
|   visit('/users/eviltrout/choice'); | ||||
| 
 | ||||
|   andThen(() => { | ||||
|     ok(exists('h1'), 'Choice'); | ||||
|     ok(exists('.payments'), 'eviltrout'); | ||||
|   }); | ||||
| }); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue