diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-04 12:12:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2024-01-04 12:12:51 +0300 |
commit | 8f89276d8498f45459bca67493eccd1bdf055330 (patch) | |
tree | 6e5176c92892a84f5d999ec33ba2d0d5482d5eb4 /scripts | |
parent | d42495a5f69104d17da0506ac012e25854931129 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/remote_development/run-smoke-test-suite.sh | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/scripts/remote_development/run-smoke-test-suite.sh b/scripts/remote_development/run-smoke-test-suite.sh index 24362b2359e..eb8fbc23785 100755 --- a/scripts/remote_development/run-smoke-test-suite.sh +++ b/scripts/remote_development/run-smoke-test-suite.sh @@ -54,15 +54,23 @@ done < <(find . -path './**/remote_development/*.rb' -print0) REVEAL_RUBOCOP_TODO=${REVEAL_RUBOCOP_TODO:-1} bundle exec rubocop --parallel --force-exclusion --no-server "${files_for_rubocop[@]}" -########### -## RSPEC ## -########### +########## +## JEST ## +########## + +printf "\n\n${BBlue}Running Remote Development frontend Jest specs${Color_Off}\n\n" + +yarn jest ee/spec/frontend/remote_development -printf "\n\n${BBlue}Running Remote Development and related backend RSpec specs${Color_Off}\n\n" +####################### +## RSPEC NON-FEATURE ## +####################### + +printf "\n\n${BBlue}Running Remote Development and related backend RSpec non-selenium specs${Color_Off}\n\n" while IFS= read -r file; do files_for_rspec+=("$file") -done < <(find . -path './**/remote_development/*_spec.rb' | grep -v 'qa/qa') +done < <(find . -path './**/remote_development/*_spec.rb' | grep -v 'qa/qa' | grep -v '/features/') files_for_rspec+=( "ee/spec/graphql/types/query_type_spec.rb" @@ -74,13 +82,18 @@ files_for_rspec+=( ) bin/rspec -r spec_helper "${files_for_rspec[@]}" -########## -## JEST ## -########## +################### +## RSPEC FEATURE ## +################### -printf "\n\n${BBlue}Running Remote Development frontend Jest specs${Color_Off}\n\n" +printf "\n\n${BBlue}Running Remote Development and related backend RSpec feature specs${Color_Off}\n\n" -yarn jest ee/spec/frontend/remote_development +while IFS= read -r file; do + files_for_rspec_selenium+=("$file") +done < <(find . -path './**/remote_development/*_spec.rb' | grep -v 'qa/qa' | grep '/features/') + +printf "\n${BRed}SKIPPING FEATURE SPECS, THEY ARE CURRENTLY BROKEN. SEE https://gitlab.slack.com/archives/C3JJET4Q6/p1702638503864429 and https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140015${Color_Off} ❌❌❌\n" +# bin/rspec -r spec_helper "${files_for_rspec_selenium[@]}" ########################### ## Print success message ## |