Add option to exclude tests in functional test runner (#19806)
* Add option to exclude tests in functional test runner * Move tag to end of test name
This commit is contained in:
parent
5b05c4cbc5
commit
d5589bff48
|
@ -32,6 +32,7 @@ cmd
|
|||
.option('--config [path]', 'Path to a config file', resolveConfigPath, defaultConfigPath)
|
||||
.option('--bail', 'stop tests after the first failure', false)
|
||||
.option('--grep <pattern>', 'pattern used to select which tests to run')
|
||||
.option('--invert', 'invert grep to exclude tests', false)
|
||||
.option('--verbose', 'Log everything', false)
|
||||
.option('--quiet', 'Only log errors', false)
|
||||
.option('--silent', 'Log nothing', false)
|
||||
|
@ -55,6 +56,7 @@ const functionalTestRunner = createFunctionalTestRunner({
|
|||
mochaOpts: {
|
||||
bail: cmd.bail,
|
||||
grep: cmd.grep,
|
||||
invert: cmd.invert,
|
||||
},
|
||||
updateBaselines: cmd.updateBaselines
|
||||
}
|
||||
|
|
|
@ -81,6 +81,7 @@ export const schema = Joi.object().keys({
|
|||
mochaOpts: Joi.object().keys({
|
||||
bail: Joi.boolean().default(false),
|
||||
grep: Joi.string(),
|
||||
invert: Joi.boolean().default(false),
|
||||
slow: Joi.number().default(30000),
|
||||
timeout: Joi.number().default(INSPECTING ? Infinity : 180000),
|
||||
ui: Joi.string().default('bdd'),
|
||||
|
|
|
@ -23,7 +23,7 @@ export default function ({ getService, getPageObjects }) {
|
|||
const esArchiver = getService('esArchiver');
|
||||
const PageObjects = getPageObjects(['common', 'home', 'settings']);
|
||||
|
||||
describe('test large number of fields', function () {
|
||||
describe('test large number of fields @skipcloud', function () {
|
||||
const EXPECTED_FIELD_COUNT = '10006';
|
||||
before(async function () {
|
||||
await esArchiver.loadIfNeeded('large_fields');
|
||||
|
|
Loading…
Reference in a new issue