Transient failure in `qa/specs/features/ee/browser_ui/1_manage/ldap/admin_ldap_sync_spec.rb` / `expected: truthy value got: false`
https://gitlab.com/gitlab-org/gitlab-qa/-/jobs/340315662
1) Manage LDAP admin sync sets and removes user's admin status
Failure/Error: expect(admin_removed).to be_truthy
expected: truthy value
got: false
# ./qa/specs/features/ee/browser_ui/1_manage/ldap/admin_ldap_sync_spec.rb:33:in `block (4 levels) in <module:QA>'
# ./qa/scenario/actable.rb:16:in `perform'
# ./qa/specs/features/ee/browser_ui/1_manage/ldap/admin_ldap_sync_spec.rb:28:in `block (3 levels) in <module:QA>'
Screenshot just shows the project page with no projects...
...most importantly, there's no admin menu icon, which is what the test was looking for:
D, [2019-11-03T12:29:26.853321 #24] DEBUG -- : clicking :sign_in_button with args {}
D, [2019-11-03T12:29:26.853450 #24] DEBUG -- : finding :sign_in_button with args {:text=>nil}
D, [2019-11-03T12:29:26.894742 #24] DEBUG -- : found :sign_in_button
D, [2019-11-03T12:29:27.377124 #24] DEBUG -- : has_element? :user_avatar (wait: 0) returned: true
D, [2019-11-03T12:29:27.377399 #24] DEBUG -- : next wait uses reload: true
D, [2019-11-03T12:29:27.377999 #24] DEBUG -- : with wait: max 80; interval 1
D, [2019-11-03T12:29:37.401380 #24] DEBUG -- : has_no_element? :admin_area_link (wait: 10) returned: false
D, [2019-11-03T12:29:37.407601 #24] DEBUG -- : refreshing http://gitlab-ee-b6a079a2.test/
D, [2019-11-03T12:29:48.906358 #24] DEBUG -- : has_no_element? :admin_area_link (wait: 10) returned: false
D, [2019-11-03T12:29:48.911107 #24] DEBUG -- : refreshing http://gitlab-ee-b6a079a2.test/
D, [2019-11-03T12:30:00.429542 #24] DEBUG -- : has_no_element? :admin_area_link (wait: 10) returned: false
D, [2019-11-03T12:30:00.434237 #24] DEBUG -- : refreshing http://gitlab-ee-b6a079a2.test/
D, [2019-11-03T12:30:11.861124 #24] DEBUG -- : has_no_element? :admin_area_link (wait: 10) returned: false
D, [2019-11-03T12:30:11.866011 #24] DEBUG -- : refreshing http://gitlab-ee-b6a079a2.test/
D, [2019-11-03T12:30:23.308939 #24] DEBUG -- : has_no_element? :admin_area_link (wait: 10) returned: false
D, [2019-11-03T12:30:23.313427 #24] DEBUG -- : refreshing http://gitlab-ee-b6a079a2.test/
D, [2019-11-03T12:30:34.852836 #24] DEBUG -- : has_no_element? :admin_area_link (wait: 10) returned: false
D, [2019-11-03T12:30:34.857579 #24] DEBUG -- : refreshing http://gitlab-ee-b6a079a2.test/
D, [2019-11-03T12:30:46.348361 #24] DEBUG -- : has_no_element? :admin_area_link (wait: 10) returned: false
D, [2019-11-03T12:30:46.353908 #24] DEBUG -- : refreshing http://gitlab-ee-b6a079a2.test/
D, [2019-11-03T12:30:47.833295 #24] DEBUG -- : ended wait after 80.455200985 seconds
Edited by Rémy Coutable
