mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[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:
parent
dc5144d303
commit
605651259e
2 changed files with 20 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue