[E2E] Update existing and Add happy-path test for Gitlab Pages
As part of Quality Corrective actions in response to: gitlab-com/gl-infra/production#7438 (closed)
We need to re-look our tests coverage for pages and add a new E2E tests to at least sanity check that we have at least a simple happy path test.
Investigate:
- Enable gitlab pages in the GDK in our test setup by configuring the gdk.yml file (If it's not on already for review-app, staging, prod)
gitlab_pages:
enabled: true
- Create a new project which includes a Pages deploy based off the default _config.yml. Push the change.
- Wait until pipeline passes, verify the change on the end result of the static page.
Tasks
-
Add an MR with only the qa selectors that changed here. Therefore when this MR gets merged, I can run the test separately against Staging to confirm it actually works. (And prevent the problem of QA and the code de-syncing which might cause flakiness) -
Add MR for the E2E test new_static_page_spec.rb
(have it run on Staging only so far as that's enabled by default) -
Enable Gitlab Pages package-and-qa -
- Enable Gitlab Pages on review-appRemoved as we are blocked currently with Review-App -
Run new_static_page_spec.rb on package-and-qa and staging environments
Other Tasks
-
Add unit test for GitLab-QA updates RE: #368335 (comment 1143863958)
Edited by Jason Zhang