[FIPS] Skip basic license cases list view test for FIPS pipeline (#215182)

## Summary

Skips the basic license cases list view test since it is expecting the
cases list to not to be present for a basic/essentials tier license, but
the FIPS pipeline always runs with a platinum license override.
This commit is contained in:
Jeramy Soucy 2025-03-21 14:57:44 +01:00 committed by GitHub
parent dc5144d303
commit 605651259e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 20 additions and 1 deletions

View file

@ -2,12 +2,29 @@
set -euo pipefail
source .buildkite/scripts/common/util.sh
# shellcheck disable=SC2317
function build_ready() {
build_state=$(buildkite-agent step get "state" --step "build")
if [[ "$build_state" == "finished" || "$build_state" == "ready" ]]; then
echo "Build is ready, continuing..."
else
echo "Build is not ready, current state: $build_state"
return 1
fi
}
# This script is part of checks.sh in the PR pipeline but is called directly in the FIPS pipeline, so we need to bootstrap
if [[ -z "${BASH_SOURCE[1]+x}" || "${BASH_SOURCE[1]}" != *"checks.sh"* ]]; then
export DISABLE_BOOTSTRAP_VALIDATION=false
.buildkite/scripts/bootstrap.sh
fi
# Wait 5x5 minutes for the build artifacts to be ready
retry 5 300 build_ready
.buildkite/scripts/download_build_artifacts.sh
echo --- Verify FIPS enabled

View file

@ -12,7 +12,9 @@ export default ({ getPageObject, getService }: FtrProviderContext) => {
const testSubjects = getService('testSubjects');
const cases = getService('cases');
describe('cases list', () => {
describe('cases list', function () {
this.tags('skipFIPS');
before(async () => {
await cases.api.deleteAllCases();
await cases.navigation.navigateToApp();