bats-detik icon indicating copy to clipboard operation
bats-detik copied to clipboard

Cannot verify for objects with dots

Open e-minguez opened this issue 1 year ago • 1 comments

We are trying to use Detik for some tests and for objects where a short name collides with others, we need to use the full object name and Detik doesn't seem to like it.

verify "'.value' is 'false' for settings.management.cattle.io named 'first-login'"

e-minguez avatar Apr 29 '24 08:04 e-minguez

Hi @e-minguez. Indeed, resource names have been all considered to follow this regular expression: [a-z]+. CRDs had not been planned at the time. We can and should extend the pattern to include a dot.

vincent-zurczak avatar Apr 29 '24 09:04 vincent-zurczak

A PR has been submitted for review. Hopefully, it should be soon available.

vincent-zurczak avatar May 31 '24 13:05 vincent-zurczak

I have created the tag v1.3.1 that solves this issue.

vincent-zurczak avatar Jun 03 '24 06:06 vincent-zurczak