I’m encountering problem Error: Assertion Failed: expected container not to be destroyed
in the test i am archiving section which is successfully done
import { module, test } from 'qunit';
import { click, visit, settled } from '@ember/test-helpers';
import { setupApplicationTest } from 'ember-qunit';
module('Acceptance', function (hooks) {
test('does't displays archived section templates', async function (assert) {
assert.dom('section').exists({ count: 2 });
await click('.menu');
await click('.menu-delete');
await settled();
assert.dom('section').exists({ count: 1 });
});
});
Both assertion are passing when i put debugger;
and unpause the test i do not have the issue any way how i will be to resolve it? i had it before without await settled();
but still having same issues