Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate failing cukes #71

Open
ChrisBAshton opened this issue Apr 17, 2015 · 0 comments
Open

Investigate failing cukes #71

ChrisBAshton opened this issue Apr 17, 2015 · 0 comments
Labels

Comments

@ChrisBAshton
Copy link
Owner

Occasionally, when I run my Cucumber features I get this error:

  Scenario: Uninstalling a module                 # features/admin.feature:24
    Given I am logged into an Admin account       # features/step_definitions/_common.rb:56
    And I have installed a new module             # features/step_definitions/admin.rb:40
    Then I should be able to uninstall the module # features/step_definitions/admin.rb:66

Feature: Dispute
    The Dispute is underway, both Agents are free to communicate with one another,
    propose offers, attach evidence, etc.

  Background:                               # features/dispute.feature:5
    Given I am logged into an Agent account # features/step_definitions/_common.rb:43
    And the Dispute is fully underway       # features/step_definitions/_common.rb:7
    And the Dispute is not in Mediation     # features/step_definitions/dispute.rb:1

  @clear
  Scenario: Sending a message via an active dispute         # features/dispute.feature:11
    Then I should be able to send a message via the Dispute # features/step_definitions/dispute.rb:14
      Unable to find field "message" (Capybara::ElementNotFound)
      ./features/step_definitions/dispute.rb:19:in `/^I (should|should NOT) be able to send a message via the Dispute$/'
      features/dispute.feature:12:in `Then I should be able to send a message via the Dispute'

On closer inspection, there is a /modules/test folder, but no contents. The config.json says "test":true. PHP fails because it tries to require /modules/test/index.php, which doesn't exist, and all remaining cukes fail.

This suggests that the module did not install correctly when running the module feature. Probably something to do with asynchronous file writing. Not enough of an issue to be a top priority right now.

@ChrisBAshton ChrisBAshton added this to the Could be completed after report milestone Apr 17, 2015
@ChrisBAshton ChrisBAshton removed this from the Could be completed after report milestone May 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant