GitXplorerGitXplorer
c

ember-engine-loading-state

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
0e6e4f25b38e03127f050849719f0b03f8eac2e7

Add ember-engine loading state test cases

ccamerondubas committed 4 years ago
Unverified
bfe15c2ce83795820b75d309f7de69e746bb3a85

Initial Commit

ccamerondubas committed 4 years ago

README

The README file for this repository.

ember-engine-loading-state

This repo serves as an example of a bug in Ember Engines, where a loading state is not shown while the assets for a lazily loaded engine are being downloaded if the engine is mounted to the host application's root.

Two acceptance tests were added. One demonstrates that the intended functionality works when the engine is mounted to a child route, while the other demonstrates that this functionality doesn't work when mounted to the root.

Running Tests

Due to caching the downloaded assets in the test suite. The tests will inconsitently fail unless they are run seperately.

The yarn run test-both command can be run to execute both tests in sequence, ensuring consistent test results.