Using the --tags option with @elastic/synthetics

Any hints to correctly using the --tags option with @elastic/synthetics?

Assuming a journey where I've added monitors.use({ tags: ["foo", "bar"] })

If I run npx @elastic/synthetics . --tags "foo" I get No tests found!

I've tried permutations with --tags like --tags "[foo]" and --tags "['foo']" and --tags foo but get the same No tests found! result.

What's the correct syntax for using the --tags option?

Bumping this. Still haven't gotten the --tags to work as expected, or haven't clearly understood how it's supposed to work. Can anyone provide insight?

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.