await visit('/index'); assert.equal(find('h1.title').textContent.trim(), 'Welcome to Ember!'); assert.notOk(find('h1.title').classList.contains('has-username')); await fillIn('input.username', 'John Doe'); assert.equal(find('h1.title').textContent.trim(), 'Welcome to Ember,\n John Doe!'); assert.ok(find('h1.title').classList.contains('has-username')); });