[v5] ember-testing-container is not visible during tests (due to being inside qunit-fixture)
See original GitHub issueš
Following the instructions in the Migration Guide for v5.0.0-beta, and looks like where the ember-testing-container
div is placed has changed.
Earlier, it was outside qunit-fixture
:
Now, it is inside qunit-fixture
:
Hereās the relevant commit that made this change.
With the new structure, I donāt see ember-testing-container
visible in the viewport, since qunitās CSS places qunit-fixture
outside the viewport.
It does look like qunit-fixture
is designed for housing the HTML thatās under test, so Iām not sure if the fix is to change the structure to what it was before, or to add additional styling within ember-qunit
to place qunit-fixture
inside the viewport.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Frequently Asked Questions about CUNY's COVID-19 ...
Once test results are processed, you will receive an email notifying you that you are āCleared for Accessā by your COVID test or...
Read more >Extended Time
If a student is usually able to complete school tests in the allotted time, or if the student's inability to complete tests is...
Read more >2022-23 Oregon Accessibility Manual
Embedded designated supports and accommodations must be assigned to students in the Test Information Distribution Engine (TIDE) within theĀ ...
Read more >Appendix A Testing Accommodations Questions and Answers
Under no circumstances may calculators with symbol manipulation be made available to students taking Regents Examinations. In addition, calculators that canĀ ...
Read more >Taking Tests in Blackboard - Blackboard Student Support
If there is no time limit for your test, then the 'Timed Test' instructions will simply be omitted from the entry page. Timer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It seems fairly brittle since they could change their classes / styling at any time and out of our control. I donāt feel super strongly here though. I definitely prefer the āeleganceā of relying on QUnit for its cleanup.
Feel free to PR whichever way seems easier to you, the main goal here is to fix this regression. If fixing it via custom CSS is easier, that seems fine (and we can always come back and change that around if needed in future releases if the QUnit internals change).
The goal of moving it into the
qunit-fixture
was to ensure that QUnitās own cleanup of the DOM post-test takes care of things for us without us having to manually clean things up ourselves (see https://github.com/emberjs/ember-test-helpers/pull/910 for some additional context on the extraneous work that was being done).