This package, `ember-cli-browser-navigation-button-test-helper`, provides critical test helpers for simulating browser back and forward button clicks within Ember.js acceptance tests. It exports `setupBrowserNavigationButtons()`, `backButton()`, and `forwardButton()`, enabling developers to thoroughly test navigation flows that involve browser history manipulation. The current stable version is v0.3.0, actively maintained, with releases typically aligning with Ember.js and Ember CLI compatibility updates. Its primary differentiation lies in offering a robust, standardized, and modern Ember-compatible solution for a common testing challenge, where manual DOM manipulation or less integrated approaches might be flaky or difficult to maintain. It specifically targets modern Ember testing paradigms (Ember.js v3.20+ and RFC #232/#268 acceptance tests), ensuring compatibility and best practices.
npm install ember-cli-browser-navigation-button-test-helperVerified import paths — ran on the pinned version, not inferred.
Demonstrates setting up the browser navigation test helpers and simulating back/forward actions within an Ember acceptance test.
Upgrade your Ember.js application to v3.20 or newer, or pin `ember-cli-browser-navigation-button-test-helper` to a version prior to 0.3.0.
Consult the `ember-auto-import` v2 migration guide for any necessary configuration adjustments in your `ember-cli-build.js` or `package.json`.
Migrate your acceptance tests to the modern RFC #232 and #268 syntax and setup, or downgrade `ember-cli-browser-navigation-button-test-helper` to v0.0.5.
Ensure `setupBrowserNavigationButtons(hooks);` is called immediately after `setupApplicationTest(hooks);` within your QUnit `module` setup.
Correct the import statements to `from 'ember-cli-browser-navigation-button-test-helper/test-support';`
No dependency data recorded yet.