Transient failure in qa/specs/features/ee/browser_ui/2_plan/epic/promote_issue_to_epic_spec.rb

https://ops.gitlab.net/gitlab-org/gitlab-qa/-/jobs/725163

Found in gitlab-qa job run against omnibus build deployed to staging: dev.gitlab.org:5005/gitlab/omnibus-gitlab/gitlab-ee:12.5.201911071611-cbc956f8b3d.3c6d5047543

  1) Plan promote issue to epic user promotes issue to an epic
     Failure/Error: expect(page).to have_content(issue_title)
       expected to find text "My Awesome Issue e5a3fa5710704dba" in "Skip to content Projects Groups More Q qa-test-2019-11-07-17-43-25-d62d3dd6fccf4eaf Subgroup overview Epics 7 List Roadmap Issues 10 Merge Requests 0 Security Kubernetes Packages Members Settings Collapse sidebar gitlab-qa-sandbox-group qa-test-2019-11-07-17-43-25-d62d3dd6fccf4eaf Epics &6 Open Opened just now by Administrator Close epic My Awesome Issue f886d53858a860c6 Epics 0 Issues 0 To Do Add a To Do Start date Edit Fixed: None Inherited: None Due date Edit Fixed: None Inherited: None Labels Edit None Ancestors None 1 participant Notifications 0 0 Discussion 0 Roadmap Show all activity Administrator @root promoted from issue promote-issue-to-epic-bd97bb4891367e79#1 (closed) just now Write Preview Markdown and quick actions are supported Attach a file Comment Close epic"
     # ./qa/specs/features/ee/browser_ui/2_plan/epic/promote_issue_to_epic_spec.rb:45:in `block (3 levels) in <module:QA>'

1st attempt showed:

D, [2019-11-07T17:47:47.545116 #22] DEBUG -- : filling :comment_input with "/promote "
D, [2019-11-07T17:47:47.546543 #22] DEBUG -- : finding :comment_input with args {}
D, [2019-11-07T17:47:47.622035 #22] DEBUG -- : found :comment_input
D, [2019-11-07T17:47:48.136841 #22] DEBUG -- : clicking :comment_button with args {}
D, [2019-11-07T17:47:48.137966 #22] DEBUG -- : finding :comment_button with args {:text=>nil}
D, [2019-11-07T17:47:48.219161 #22] DEBUG -- : found :comment_button
D, [2019-11-07T17:47:50.834767 #22] DEBUG -- : within element :group_sidebar
D, [2019-11-07T17:47:50.952221 #22] DEBUG -- : clicking :group_epics_link with args {}
D, [2019-11-07T17:47:50.952391 #22] DEBUG -- : finding :group_epics_link with args {:text=>nil}
D, [2019-11-07T17:47:51.055111 #22] DEBUG -- : found :group_epics_link
D, [2019-11-07T17:47:52.908216 #22] DEBUG -- : end within element :group_sidebar
D, [2019-11-07T17:47:52.925258 #22] DEBUG -- : finding all :epic_title_text
D, [2019-11-07T17:47:53.277316 #22] DEBUG -- : found 5 :epic_title_text
D, [2019-11-07T17:47:57.492049 #22] DEBUG -- : has_element? :title (wait: 60) returned: true

1st Try error in ./qa/specs/features/ee/browser_ui/2_plan/epic/promote_issue_to_epic_spec.rb:8:
expected to find text "My Awesome Issue f886d53858a860c6" in "Skip to content Projects Groups More Q qa-test-2019-11-07-17-43-25-d62d3dd6fccf4eaf Subgroup overview Epics 6 List Roadmap Issues 10 Merge Requests 0 Security Kubernetes Packages Members Settings Collapse sidebar gitlab-qa-sandbox-group qa-test-2019-11-07-17-43-25-d62d3dd6fccf4eaf Epics &5 Open Opened 3 minutes ago by Administrator Close epic Epic created via API to test roadmap Epics 0 Issues 0 To Do Add a To Do Start date Edit Fixed: Nov 7, 2019 – remove Inherited: None Due date Edit Fixed: Dec 7, 2019 – remove Inherited: None Labels Edit None Ancestors None 1 participant Notifications 0 0 Discussion 0 Roadmap Show all activity Write Preview Markdown and quick actions are supported Attach a file Comment Close epic"
Expand for screenshot promote_issue_to_epic_spec.rb_2019-11-07-17-48-07.504

2nd attempt was almost the same:

D, [2019-11-07T17:48:19.476522 #22] DEBUG -- : filling :comment_input with "/promote "
D, [2019-11-07T17:48:19.477683 #22] DEBUG -- : finding :comment_input with args {}
D, [2019-11-07T17:48:19.577400 #22] DEBUG -- : found :comment_input
D, [2019-11-07T17:48:20.146779 #22] DEBUG -- : clicking :comment_button with args {}
D, [2019-11-07T17:48:20.148019 #22] DEBUG -- : finding :comment_button with args {:text=>nil}
D, [2019-11-07T17:48:20.247459 #22] DEBUG -- : found :comment_button
D, [2019-11-07T17:48:23.101329 #22] DEBUG -- : within element :group_sidebar
D, [2019-11-07T17:48:23.224285 #22] DEBUG -- : clicking :group_epics_link with args {}
D, [2019-11-07T17:48:23.225560 #22] DEBUG -- : finding :group_epics_link with args {:text=>nil}
D, [2019-11-07T17:48:23.317957 #22] DEBUG -- : found :group_epics_link
D, [2019-11-07T17:48:24.725165 #22] DEBUG -- : end within element :group_sidebar
D, [2019-11-07T17:48:24.726173 #22] DEBUG -- : finding all :epic_title_text
D, [2019-11-07T17:48:24.907139 #22] DEBUG -- : found 6 :epic_title_text
D, [2019-11-07T17:48:28.219739 #22] DEBUG -- : has_element? :title (wait: 60) returned: true
    user promotes issue to an epic (FAILED - 1)

But the screenshot was different:

Expand for screenshot promote_issue_to_epic_spec.rb_2019-11-07-17-48-38.327

/cc @jennielouie @wlsf82

Assignee Loading
Time tracking Loading