[Freeipa-devel] [PATCH] 691 webui-ci: fix action list action visibility and enablement assertion

Petr Vobornik pvoborni at redhat.com
Mon Jun 30 11:01:22 UTC 2014


On 28.6.2014 02:04, Endi Sukma Dewata wrote:
> On 6/26/2014 9:15 AM, Petr Vobornik wrote:
>> Fixes CA-less CI test fail
>>
>> The new html structure was not addressed properly.
>
> The new code is checking for the 'disabled' class in the list element,
> not the link element, is this correct?
>
>    is_enabled = not self.has_class(li, 'disabled')

Yes, the html structure of a disabled item is:

<li data-name="enable" role="presentation" class="disabled">
     <a href="#enable" tabindex="-1"> Enable</a>
</li>

>
> If test works, ACK.
>

Pushed to master: 029649c05cbf9edfc80d4552dec479ab24d4872c
-- 
Petr Vobornik




More information about the Freeipa-devel mailing list