•  
      request #44842 e2e test for artifact link types can be flaky
    Infos
    #44842
    Joris MASSON (jmasson)
    2025-09-18 17:14
    2025-09-18 15:32
    46547
    Details
    e2e test for artifact link types can be flaky

    This morning, the test for "_is_child" link type usage failed, because it said it could not find the "is Child of" type in the link type selector in the new artifact links field. It turns out this is due to an insufficient scoping, it finds two link type selectors.

    Upon closer look, some of the tests in the suite do not test what they should. They repeat the same scenario again to add / update a link with the new links field. It also turned out that we no longer have any test covering the "legacy" artifact links field.

    We should keep only the "_is_child" and "fixed in" scenarios to cover the new artifact links field. The "create" and "update" links should be adapted back to cover the legacy artifact links field, so that we do not break it.

    We should revert them to use the legacy

    Cypress
    Empty
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Under review
    Empty
    Attachments
    Empty
    References
    Referenced by request #44842

    Follow-ups