Transient failure in qa/specs/features/ee/browser_ui/1_manage/group/group_file_template_spec.rb

https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/340337304

  1) Manage Group file templates creates file via custom Dockerfile file template
     Failure/Error: expect(page).to have_content('The file has been successfully created.')
       expected to find text "The file has been successfully created." in "Skip to content Projects Groups More G group-file-template-project-2-2f111b7fe3f50d36 Project overview Repository Files Commits Branches Tags Contributors Graph Compare Charts Locked Files Issues 0 Merge Requests 0 CI / CD Security & Compliance Operations Packages Wiki Snippets Settings Collapse sidebar gitlab-qa-sandbox-group template-group group-file-template-project-2-2f111b7fe3f50d36 Repository A file with this name already exists New file master / Dockerfile Apply a template Soft wrap text 1 dockerfile template test Commit message Add new file Target Branch Commit changes Cancel"
     # ./qa/specs/features/ee/browser_ui/1_manage/group/group_file_template_spec.rb:89:in `block (4 levels) in <module:QA>'

On the 1st attempt it looks like it was waiting for a message to appear even though the file was successfully created:

D, [2019-11-03T14:01:31.647737 #26] DEBUG -- : clicking :dockerfile_dropdown with args {}
D, [2019-11-03T14:01:31.648880 #26] DEBUG -- : finding :dockerfile_dropdown with args {:text=>nil}
D, [2019-11-03T14:01:31.763444 #26] DEBUG -- : found :dockerfile_dropdown
D, [2019-11-03T14:01:31.906747 #26] DEBUG -- : next wait uses reload: false
D, [2019-11-03T14:01:31.907867 #26] DEBUG -- : with wait: max 60; interval 0.1
D, [2019-11-03T14:01:32.057522 #26] DEBUG -- : ended wait after 0.148973885 seconds
D, [2019-11-03T14:01:34.115521 #26] DEBUG -- : clicking :commit_button with args {}
D, [2019-11-03T14:01:34.116725 #26] DEBUG -- : finding :commit_button with args {:text=>nil}
D, [2019-11-03T14:01:34.158790 #26] DEBUG -- : found :commit_button
D, [2019-11-03T14:01:38.934104 #26] DEBUG -- : next wait uses reload: false
D, [2019-11-03T14:01:38.935643 #26] DEBUG -- : with wait: max 60; interval 0.1
D, [2019-11-03T14:01:38.935940 #26] DEBUG -- : waiting for loading to complete...
D, [2019-11-03T14:01:39.701014 #26] DEBUG -- : loading complete after 0.764769163 seconds
D, [2019-11-03T14:01:39.701851 #26] DEBUG -- : ended wait after 0.765961611 seconds

1st Try error in ./qa/specs/features/ee/browser_ui/1_manage/group/group_file_template_spec.rb:74:
expected to find text "The file has been successfully created." in "Skip to content Projects Groups More G group-file-template-project-2-2f111b7fe3f50d36 Project overview Repository Files Commits Branches Tags Contributors Graph Compare Charts Locked Files Issues 0 Merge Requests 0 CI / CD Security & Compliance Operations Packages Wiki Snippets Settings Collapse sidebar gitlab-qa-sandbox-group template-group group-file-template-project-2-2f111b7fe3f50d36 Repository master group-file-template-project-2-2f111b7fe3f50d36 Dockerfile Find file Blame History Permalink Add new file Administrator authored just now eabc0ab7 Dockerfile 24 Bytes Lock Edit Web IDE Replace Delete 1 dockerfile template test"

group_file_template_spec.rb_2019-11-03-14-01-49.873

Then on the 2nd attempt the file was already there so it couldn't create it

group_file_template_spec.rb_2019-11-03-14-02-13.050

/cc @sliaquat @jennielouie @dchevalier2

Assignee Loading
Time tracking Loading