Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #1400

Closed
Open
Created Sep 07, 2012 by Administrator@rootOwner

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
Assignee
Assign to
Time tracking