From 068dfe5ff90e33e44b391b67f60bdfcf19643fa8 Mon Sep 17 00:00:00 2001 From: Brad White Date: Tue, 9 May 2023 14:45:11 -0700 Subject: [PATCH] [7.17] Fix FTR CLI include and exclude flag help text (#157207) ## Summary Fixes #142646 to align FTR CLI include and exclude flag help text with `8.x`. The original fix in #86971 had a bad backport into `7.x` in PR #86976. --- packages/kbn-test/src/functional_test_runner/cli.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kbn-test/src/functional_test_runner/cli.ts b/packages/kbn-test/src/functional_test_runner/cli.ts index f57c3676be0095..9a9502e06a0f23 100644 --- a/packages/kbn-test/src/functional_test_runner/cli.ts +++ b/packages/kbn-test/src/functional_test_runner/cli.ts @@ -150,6 +150,8 @@ export function runFtrCli() { --grep pattern used to select which tests to run --invert invert grep to exclude tests --es-version the elasticsearch version, formatted as "x.y.z" + --include=file a test file to be included, pass multiple times for multiple files + --exclude=file a test file to be excluded, pass multiple times for multiple files --include-tag=tag a tag to be included, pass multiple times for multiple tags. Only suites which have one of the passed include-tag tags will be executed. When combined with the --exclude-tag flag both conditions must be met @@ -157,8 +159,6 @@ export function runFtrCli() { --exclude-tag=tag a tag to be excluded, pass multiple times for multiple tags. Any suite which has any of the exclude-tags will be excluded. When combined with the --include-tag flag both conditions must be met for a suite to run. - --include-tag=tag a tag to be included, pass multiple times for multiple tags - --exclude-tag=tag a tag to be excluded, pass multiple times for multiple tags --test-stats print the number of tests (included and excluded) to STDERR --updateBaselines replace baseline screenshots with whatever is generated from the test --updateSnapshots replace inline and file snapshots with whatever is generated from the test