For some reason, I keep getting a 500 response code when I run the cucumber, although all tests pass. The error occurs randomly for different tests, every time I run it. Sometimes all tests pass.
I thought it was a memory problem, so I tried to restart the computer, but did nothing.
Error example:
And I follow "link"
Failed. Response code = 500. Response message = Internal Server Error. (ActiveResource::ServerError)
./app/controllers/companies_controller.rb:23:in `show'
./features/step_definitions/web_steps.rb:35
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:34:in `/^(?:|I )follow "([^"]*)"(?: within "([^"]*)")?$/'
features/manage_sites.feature:256:in `And I follow "link"'
This seems to be related to the tag function. I used the @wip tag, and when I moved it, it would cause sporadic errors of 500. Removing all @wip tags allows all tests to pass.
I could be wrong. I need to try and replicate it sequentially.
Can anyone help?
source
share