Show properties of jobs in CI/CD -> Editor -> Lint tab

Description

As part of the MVC for CI Linter at #263147 (closed), we should display fields in each of the CI jobs in the lint tab:

  • tagList / tags
  • only
  • except
  • environment
  • when
  • allow_failure

workflowblocked, as it depends on backend implementation at: #290048 (closed)

Implementation Note: Our tests check for the value to look empty: expect(value.text()).toBe(''); this should be updated.

Original Discussion

The following discussion from !48901 (merged) should be addressed:

  • @f_caplette started a discussion:

    Issue I think that testing that the value isn't present could be a problem. It's preferable not to test it at all since this is just temporary. We don't want to convey that it should be this way. Of course given that you are probably the engineer that will work on the follow-up, you'll probably remember to just change it. I would remove the test or comment it out and add a note here:

    // This test should be uncommented once LINK has been done
    // expect(value.text()).toBe(realExpectedValue);

    This way the tests are ready for the next steps while not conveying a pattern that isn't what we want, but just a limitation. If tomorrow the value didn't return nothing, then that wouldn't be a bug! WDYT?

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖