#8946 RFE: Add label name to Certificates section in WebUI to enable testing
Closed: fixed by carlmart. Opened by mpolovka.

Request for enhancement

For testing purposes and uniformity, Certificates label should also have name attribute, like seen in other parts of the WebUI source (see lower)

Current Certificates section

<div class="form-group">
    <div class="col-sm-3 control-label">
        <label class="">Certificates</label>
    </div>
...
</div>

Current User authentication types section (notice the name attribute)

<div class="col-sm-3 control-label">
    <label name="ipauserauthtype" class="">User authentication types 
        <span data-toggle="tooltip" data-original-title="" title=""><i class="fa fa-info-circle"></i></span>
    </label>
</div>

which enables us to use selectors like div[name="ipauserauthtype"] input[value=... in testing. However, aforementioned Certificates section is currently impossible to pinpoint, which blocks testing of this particular element.

2021-08-05T14_24_49.123190_test_user_test_certificate_serial.png


Metadata Update from @mpolovka:
- Issue assigned to pvoborni

Metadata Update from @carlmart:
- Issue assigned to carlmart (was: pvoborni)

master:

  • b76bb195a5bb39c2aa58bd912daf69028f6c6203 webui: Add label name to 'Certificates' section
  • 746a036c7eab177fd87a37f0515a46419f22c12b ipatests: Test newly added certificate lable
  • f15da104542f67a07cbb4430c6936cf8d35b451e webui: Add name to 'Certificates' table

ipa-4-10:

  • 54470c6b3b3958dbc0eeb2cda17e306123cb9f3a webui: Add label name to 'Certificates' section
  • 580e62a1615483c9ae94fabce8bd8eacc83028f2 ipatests: Test newly added certificate lable
  • 813df68b086113cb093108ebfec3bdad86703841 webui: Add name to 'Certificates' table

Metadata Update from @carlmart:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

ipa-4-9:

  • 98eda97648fb0d9a7ae9aac32938d4f889f8a213 webui: Add label name to 'Certificates' section
  • c0b438bc745666694f2c590859d4926178a0ca04 ipatests: Test newly added certificate lable
  • 76c8b47e4fb249db0b7c6185afcc0d11b78c5824 webui: Add name to 'Certificates' table
Metadata