visitWithAudit helper
ondrejsevcik opened this issue · comments
Ondrej Sevcik commented
Hi, it would be nice to have a helper where the visit
and a11yAudit
are combined into one so I don't forget to run audit.
// before
await visit('/');
await a11yAudit();
// after
await visitWithAudit('/');
Maybe there is a better name than visitWithAudit
, but you got the idea ;)
Robert Jackson commented
Going to close this one (sorry @ondrejsevcik), I think we should refocus and target some specific features to do this via the new (private for now) hooks added in emberjs/ember-test-helpers#878.