Skip to content

Error while extending step definitions in Rails project #20

@emilsoman

Description

@emilsoman

If I copy the step definition that makes the request from the gem and paste it in the features/step_definitions/custom_steps.rb (with some parameter modifications) and use this custom step in a scenario, the JSON response step throws the following error :

No response yet. Request a page first. (Rack::Test::Error)

I can see that the controller action is receiving the request and a Rack::MockSession is created. Any clue why the error occurs ?

I know it's hard to understand the problem with such a vague description. Please let me know what other information will be helpful to point out the problem here. Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions