mirror of
https://github.com/goharbor/harbor.git
synced 2026-10-23 10:08:57 +03:00
test(robot): expect inherited signature for unsigned index child in replication event test
Commit c3ec2b133e introduced signature inheritance for OCI index children (#23540),
marking unsigned child artifacts under a signed index with the 'signed-inherited' status
in the Portal UI instead of 'color-red' (unsigned).
In 'Test Case - Replication Triggered By Events', image2 (busybox) under the signed
index was asserted with 'Should Not Be Signed', which looked for 'color-red' icon and
failed. Add 'Should Be Inherited Signed' keyword and update the test case to assert
the inherited signature state on image2 under the signed index.
Signed-off-by: stonezdj <stonezdj@gmail.com>