Skip to content
This repository was archived by the owner on Jul 28, 2018. It is now read-only.
This repository was archived by the owner on Jul 28, 2018. It is now read-only.

Progress bar causing capybara tests to fail #668

@brandoncc

Description

@brandoncc

After adding this to my application.js:

$(function() {
  Turbolinks.ProgressBar.enable();
});

Most of my capybara specs failed with this javascript error (although the progress bar worked when I ran the app):

 TypeError: 'undefined' is not an object (evaluating 'Turbolinks.ProgressBar.enable')

I was able to fix it by using Turbolinks.enableProgressBar(); instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions