You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This addon exportes three test helpers: `setupBrowserNavigationButtons()`, `backButton()` and `forwardButton()`from `ember-cli-browser-navigation-button-test-helper/test-support`. `setupBrowserNavigationButtons` should be called at the very beginning of every acceptance test which should use the later ones. It registers a service to manage history. The other two simulates clicks on browsers back and forward buttons.
23
+
This addon exports three test helpersfrom `ember-cli-browser-navigation-button-test-helper/test-support`:
24
24
25
-
There is an usage example [in this acceptance test](https://github.com/jelhan/ember-cli-browser-navigation-button-test-helpers/blob/master/tests/acceptance/browser-navigation-buttons-test.js).
`setupBrowserNavigationButtons` must be called in every acceptance test which
30
+
uses `backButton` and `forwardButton`_before_`visit()`. It registers a service
31
+
to track and manage the history.
32
+
33
+
`backbutton` and `forwardButton` simulates the browser's back and forward
34
+
buttons by firing a transition using `RouterService.transitionTo()`.
29
35
30
-
Support for old-style acceptance tests (before RFC #232 and #268) was dropped in `v0.1.0`. You could use `v0.0.5` if you need to support them, but this one does not support Ember 3.x.
36
+
Please find an usage example [in this acceptance test](https://github.com/jelhan/ember-cli-browser-navigation-button-test-helpers/blob/master/tests/acceptance/browser-navigation-buttons-test.js).
0 commit comments