Multiple specs fail in qa/specs/features/browser_ui/3_create/wiki | Content for wiki page fails to load for relative urls
Summary
Multiple specs fail in qa/specs/features/browser_ui/3_create/wiki. Due to content for wiki page failing to load per the screenshot. Only happens in ee:relative_url
scenario.
Failing job(s):
Multiple. Best examples:
- https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/2327213522
- https://gitlab.com/gitlab-org/gitlab-qa-mirror/-/jobs/2326543604
Failing spec(s):
- qa/specs/features/browser_ui/3_create/wiki/content_editor_spec.rb:19 # Create Content Editor creates a formatted Wiki page with an image uploaded
- qa/specs/features/browser_ui/3_create/wiki/project_based_content_manipulation_spec.rb:36 # Create Wiki testing wiki content manipulation inside a project by manipulating content on the page using git push
- qa/specs/features/browser_ui/3_create/wiki/project_based_content_manipulation_spec.rb:17 # Create Wiki testing wiki content manipulation inside a project by manipulating content on the page
- qa/specs/features/browser_ui/3_create/wiki/project_based_content_creation_spec.rb:38 # Create Wiki testing wiki content creation inside a project by adding a second page to the wiki
- qa/specs/features/browser_ui/3_create/wiki/project_based_content_creation_spec.rb:57 # Create Wiki testing wiki content creation inside a project by adding a home page to the wiki using git push
- qa/specs/features/browser_ui/3_create/wiki/project_based_content_creation_spec.rb:18 # Create Wiki testing wiki content creation inside a project by adding a home page to the wiki rspec
- qa/specs/features/browser_ui/3_create/wiki/project_based_content_creation_spec.rb:76 # Create Wiki testing wiki content creation inside a project by adding a second page to the wiki using git push
- qa/specs/features/ee/browser_ui/3_create/wiki/create_group_wiki_page_spec.rb:43 # Create Wiki Creating pages in Group Wikis when Wiki has a home page adds a second page rspec
- qa/specs/features/ee/browser_ui/3_create/wiki/create_group_wiki_page_spec.rb:17 # Create Wiki Creating pages in Group Wikis when Wiki is empty creates a home page
Corresponding test case(s):
Stack trace
Failure/Error: expect(wiki).to have_content new_wiki_content
expected to find text "this content is changed or added" in "Skip to content GitLab Menu Help T the_awesome_project-3ae9887ad1836d79 Project information Issues 0 Merge requests 0 CI/CD Security & Compliance Deployments Monitor Infrastructure Packages & Registries Analytics Wiki Snippets Settings Collapse sidebar gitlab-qa-sandbox-group qa-test-2022-04-12-15-04-34-88768344207696e8 the_awesome_project-3ae9887ad1836d79 Wiki just_another_wiki_page Last edited by Administrator just now Page history New page just_another_wiki_page The content for this wiki page failed to load. To fix this error, reload the page. Retry Clone repository Edit sidebar just_another_wiki_page"
Failure/Error: expect(wiki).to have_heading('h1', heading_text)
Capybara::ElementNotFound:
Unable to find css "[data-qa-selector=\"wiki_page_content\"],.qa-wiki-page-content"
Screenshot / HTML page
Possible fixes
Edited by Anastasia McDonald