Cucumber sometimes failed
Created by: AlexDenisov
Related to #1390.
Cucumber scenario fails sometimes
cucumber features/projects/issues/issues.feature --require features
Output
@javascript
Scenario: I clear search # features/projects/issues/issues.feature:61
Given I click link "All" # features/step_definitions/common_steps.rb:7
And I fill in issue search with "Something" # features/step_definitions/project/project_issues_steps.rb:50
And I fill in issue search with "" # features/step_definitions/project/project_issues_steps.rb:50
Then I should see "Release 0.4" in issues # features/step_definitions/project/project_issues_steps.rb:11
expected there to be content "Release 0.4" in "GITLAB Shop Project Shop Files Commits Network Issues 1 Merge Requests 0 Wall Wiki Browse Issues Milestones Labels Issues (2) New Issue Open Closed To Me All Labels Labels Assignee Assignee Unassigned Colby Larson Milestone Milestone Unspecified Nothing to show here" (RSpec::Expectations::ExpectationNotMetError)
./features/step_definitions/project/project_issues_steps.rb:12:in `/^I should see "(.*?)" in issues$/'
features/projects/issues/issues.feature:65:in `Then I should see "Release 0.4" in issues'
And I should see "Release 0.3" in issues # features/step_definitions/project/project_issues_steps.rb:11
I haven't any suggestions about how to fix that. Maybe problem is at
if arg1 == ''
page.execute_script("$('.issue_search').val('').keyup();");
end