Skip to content

Instantly share code, notes, and snippets.

@danscotton
Created October 7, 2015 10:29
Show Gist options
  • Save danscotton/1ac7bbbbc3716ca0c58f to your computer and use it in GitHub Desktop.
Save danscotton/1ac7bbbbc3716ca0c58f to your computer and use it in GitHub Desktop.
1) still requests the territory from API if stored territory is '--'
     @service territoryGatekeeper .init() when getting the territory from local storage
     Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
Scenario: Un-disliking an on-demand track sends an undislike event # test/acceptance/features/scrobbling_analytics.feature:150
    Given I am logged in with an unlimited subscription              # test/acceptance/features/step_definitions/account.rb:9
    And I am on the search page                                      # test/acceptance/features/step_definitions/search.rb:70
    And I search for "Taylor Swift"                                  # test/acceptance/features/step_definitions/search.rb:81
    When I select the play button for track "Love Story"             # test/acceptance/features/step_definitions/search.rb:86
    And I click the dislike button                                   # test/acceptance/features/step_definitions/player.rb:56
    Then the undislike button is visible                             # test/acceptance/features/step_definitions/player.rb:164
      expected #has_undislike_button? to return true, got false (RSpec::Expectations::ExpectationNotMetError)
      ./test/acceptance/features/step_definitions/player.rb:165:in `/^the undislike button is visible$/'
      test/acceptance/features/scrobbling_analytics.feature:156:in `Then the undislike button is visible'
    And I click the undislike button                                 # test/acceptance/features/step_definitions/player.rb:60
    Then the dislike button is visible                               # test/acceptance/features/step_definitions/player.rb:160
    And the analytic service receives a "undislike" event            # test/acceptance/features/step_definitions/analytics.rb:3
      | product | {"id": 99, "name": "Love Story"} |
@large
  Scenario: User signs out                    # test/acceptance/features/account.feature:29
    Given I am logged in                      # test/acceptance/features/step_definitions/account.rb:4
    And I am on the account page              # test/acceptance/features/step_definitions/account.rb:24
    When I click 'Sign out' button            # test/acceptance/features/step_definitions/account.rb:45
    And I go to the account page              # test/acceptance/features/step_definitions/account.rb:24
      expected #has_loaded? to return true, got false (RSpec::Expectations::ExpectationNotMetError)
      ./test/acceptance/features/step_definitions/account.rb:26:in `/^I (?:go to|am on) the account page$/'
      ./test/acceptance/features/support/device.rb:37:in `call'
      ./test/acceptance/features/support/device.rb:37:in `block (2 levels) in <top (required)>'
      ./test/acceptance/features/support/device.rb:10:in `resize'
      ./test/acceptance/features/support/device.rb:37:in `block in <top (required)>'
      test/acceptance/features/account.feature:33:in `And I go to the account page'
    Then I see the 'Sign in' button           # test/acceptance/features/step_definitions/account.rb:37
    And The current path should be '/account' # test/acceptance/features/step_definitions/routes.rb:2
Scenario: Un-liking an on-demand track sends an unlike event # test/acceptance/features/scrobbling_analytics.feature:129
    Given I am logged in with an unlimited subscription        # test/acceptance/features/step_definitions/account.rb:9
    And I am on the search page                                # test/acceptance/features/step_definitions/search.rb:70
    And I search for "Taylor Swift"                            # test/acceptance/features/step_definitions/search.rb:81
    When I select the play button for track "Love Story"       # test/acceptance/features/step_definitions/search.rb:86
    And I click the like button                                # test/acceptance/features/step_definitions/player.rb:48
    And I click the unlike button                              # test/acceptance/features/step_definitions/player.rb:52
      Unable to find css ".player__like--active" (Capybara::ElementNotFound)
      ./test/acceptance/lib/mixradio/page_objects/component/player.rb:133:in `unlike'
      ./test/acceptance/features/step_definitions/player.rb:53:in `/^I click the unlike button$/'
      test/acceptance/features/scrobbling_analytics.feature:135:in `And I click the unlike button'
    Then the like button is visible                            # test/acceptance/features/step_definitions/player.rb:152
    And the analytic service receives a "unlike" event         # test/acceptance/features/step_definitions/analytics.rb:3
      | product | {"id": 99, "name": "Love Story"} |
Scenario: Disliking an on-demand track sends a dislike event # test/acceptance/features/scrobbling_analytics.feature:140
    Given I am logged in with an unlimited subscription        # test/acceptance/features/step_definitions/account.rb:9
    And I am on the search page                                # test/acceptance/features/step_definitions/search.rb:70
    And I search for "Taylor Swift"                            # test/acceptance/features/step_definitions/search.rb:81
    When I select the play button for track "Love Story"       # test/acceptance/features/step_definitions/search.rb:86
    And I click the dislike button                             # test/acceptance/features/step_definitions/player.rb:56
    Then the undislike button is visible                       # test/acceptance/features/step_definitions/player.rb:164
      expected #has_undislike_button? to return true, got false (RSpec::Expectations::ExpectationNotMetError)
      ./test/acceptance/features/step_definitions/player.rb:165:in `/^the undislike button is visible$/'
      test/acceptance/features/scrobbling_analytics.feature:146:in `Then the undislike button is visible'
    And the analytic service receives a "dislike" event        # test/acceptance/features/step_definitions/analytics.rb:3
      | product | {"id": 99, "name": "Love Story"} |
execution expired (Timeout::Error)
/var/lib/jenkins/.gem/ruby/2.2.0/gems/vanilli-ruby-1.3.0/lib/vanilli/server.rb:29:in `sleep'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/vanilli-ruby-1.3.0/lib/vanilli/server.rb:29:in `rescue in block in start'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/vanilli-ruby-1.3.0/lib/vanilli/server.rb:26:in `block in start'
/usr/local/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'
/usr/local/lib/ruby/2.2.0/timeout.rb:34:in `block in catch'
/usr/local/lib/ruby/2.2.0/timeout.rb:34:in `catch'
/usr/local/lib/ruby/2.2.0/timeout.rb:34:in `catch'
/usr/local/lib/ruby/2.2.0/timeout.rb:104:in `timeout'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/vanilli-ruby-1.3.0/lib/vanilli/server.rb:25:in `start'
/var/lib/jenkins/jobs/mixrad-app-pull-requests/workspace@2/test/acceptance/lib/mixradio/setup/vanilli.rb:21:in `start_vanilli_server'
/var/lib/jenkins/jobs/mixrad-app-pull-requests/workspace@2/test/acceptance/lib/mixradio/setup/vanilli.rb:5:in `start_vanilli'
/var/lib/jenkins/jobs/mixrad-app-pull-requests/workspace@2/test/acceptance/features/support/env.rb:58:in `<top (required)>'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/rb_support/rb_language.rb:94:in `load'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/rb_support/rb_language.rb:94:in `load_code_file'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/runtime/support_code.rb:237:in `load_file'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/runtime/support_code.rb:97:in `block in load_files!'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/runtime/support_code.rb:96:in `each'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/runtime/support_code.rb:96:in `load_files!'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/runtime.rb:242:in `load_step_definitions'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/runtime.rb:65:in `run!'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/lib/cucumber/cli/main.rb:38:in `execute!'
/var/lib/jenkins/.gem/ruby/2.2.0/gems/cucumber-2.0.0/bin/cucumber:9:in `<top (required)>'
/var/lib/jenkins/.gem/ruby/2.2.0/bin/cucumber:23:in `load'
/var/lib/jenkins/.gem/ruby/2.2.0/bin/cucumber:23:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment