Skip to content

Fix smoke test suite

Chad Woolley requested to merge caw-rd-fix-smoke-test-suite into master

What does this MR do and why?

Fix 1

Fix smoke test suite so glob does not pick up QA E2E specs.

Avoid following error:

An error occurred while loading ./qa/qa/specs/features/ee/browser_ui/3_create/remote_development/with_prerequisite_done/workspace_actions_with_prerequisite_done_spec.rb.
Failure/Error: raise ArgumentError, "Could not find shared #{label} #{name.inspect}"

ArgumentError:
  Could not find shared examples "workspaces actions"
# ./qa/qa/specs/features/ee/browser_ui/3_create/remote_development/with_prerequisite_done/workspace_actions_with_prerequisite_done_spec.rb:47:in `block (3 levels) in <module:QA>'
# ./qa/qa/specs/features/ee/browser_ui/3_create/remote_development/with_prerequisite_done/workspace_actions_with_prerequisite_done_spec.rb:28:in `block (2 levels) in <module:QA>'
# ./qa/qa/specs/features/ee/browser_ui/3_create/remote_development/with_prerequisite_done/workspace_actions_with_prerequisite_done_spec.rb:27:in `block in <module:QA>'
# ./qa/qa/specs/features/ee/browser_ui/3_create/remote_development/with_prerequisite_done/workspace_actions_with_prerequisite_done_spec.rb:22:in `<module:QA>'
# ./qa/qa/specs/features/ee/browser_ui/3_create/remote_development/with_prerequisite_done/workspace_actions_with_prerequisite_done_spec.rb:21:in `<main>'

Fix 2

Ensure that ee/spec/models/remote_development/workspace_spec.rb is run by the suite.

How to set up and validate locally

Run smoke test suite and make sure it passes.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Chad Woolley

Merge request reports