Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-browser-navigation-button-test-helper

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-browser-navigation-button-test-helper

Test helper to simulate browsers back and forward button in acceptance tests.

  • 0.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

ember-cli-browser-navigation-button-test-helper

Build Status

Test helper to simulate browsers back and forward buttons in acceptance tests.

Compatibility

  • Ember.js v3.20 or above
  • Ember CLI v3.20 or above
  • Node.js v12 or above

Installation

ember install ember-cli-browser-navigation-button-test-helper

Usage

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.

There is an usage example in this acceptance test.

Known limitations

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.

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

FAQs

Package last updated on 26 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc