import { module, test } from 'qunit'; import { visit, currentURL } from '@ember/test-helpers'; import { setupApplicationTest } from 'ember-qunit'; import { click, fillIn, render } from '@ember/test-helpers'; module('Acceptance | account management test', function(hooks) { setupApplicationTest(hooks); // test('visiting /account-management-test', async function(assert) { // await visit('/account-management-test'); // assert.equal(currentURL(), '/account-management-test'); // }); test('rule 1.3.1', async function(assert) { await visit('/login'); await fillIn('#inputUser','budi'); await fillIn('#inputPassword','r4h4s14'); await click('button'); // await visit('/home'); assert.equal(currentURL(), '/home'); //await click('.home-body'); //assert.equal(currentURL(), '/account-management-test'); }); });