Failure in /qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb:6
https://gitlab.com/gitlab-org/quality/staging/-/jobs/158265187
Create Git push over HTTP user using a personal access token pushes code to the repository
Failure/Error: expect(page).to have_content('This is a test project')
expected to find text "This is a test project" in "Skip to content Projects Groups Activity Milestones Snippets 2 19 99+ P protected-branch-project-f956e14acd5e83c6 Project Details Activity Releases Security Dashboard Cycle Analytics Repository Issues 0 Merge Requests 0 CI / CD Operations Registry Packages Wiki Snippets Settings Collapse sidebar The Auto DevOps pipeline has been enabled and will be used if no alternative CI configuration file is found. More information Settings | Dismiss gitlab-qa-sandbox-group qa-test-2019-02-08-04-29-00 protected-branch-project-f956e14acd5e83c6 Details P protected-branch-project-f956e14acd5e83c6 Project ID: 4370045 Star 0 Fork 0 Clone Add license 1 Commit 1 Branch 0 Tags 92 KB Files My awesome project master protected-branch-project-f956e14acd5e83c6 History Find file Web IDE Select Archive Format Add README.md gitlab-qa authored 20 seconds ago 155bc79d README Add CHANGELOG Add CONTRIBUTING Auto DevOps enabled Add Kubernetes cluster Security Dashboard Name Last commit Last update README.md Add README.md 20 seconds ago README.md"
# ./qa/specs/features/browser_ui/3_create/repository/push_http_private_token_spec.rb:28:in `block (3 levels) in <module:QA>'
# ./qa/specs/runner.rb:38:in `perform'
# ./qa/scenario/template.rb:8:in `block in perform'
# ./qa/scenario/template.rb:6:in `tap'
# ./qa/scenario/template.rb:6:in `perform'
# ./qa/scenario/test/instance.rb:28:in `do_perform'
# ./qa/scenario/test/instance.rb:16:in `block in perform'
# ./qa/scenario/test/instance.rb:14:in `tap'
# ./qa/scenario/test/instance.rb:14:in `perform'
# ./qa/scenario/bootable.rb:14:in `launch!'
HTML Dump:
push_http_private_token_spec.rb_2019-02-08-04-37-14.441.html
This page on staging is showing the expected text.
I think the fix here is to wait for the spinner (seen in the screenshot) to go away before asserting.
Edited by Sanad Liaquat