#8988 Nightly test failure in test_webui/test_service.py/test_service/test_certificates
Closed: duplicate 2 years ago by frenaud. Opened 2 years ago by mpolovka.

Nightly WebUI test test_service/test_certificates is failing in [testing_ipa-4.6] Nightly PR #1153 with an error

        hostname = self.config.get('ipa_server')
        csr = generate_csr(hostname)
        cert_widget_sel = "div.certificate-widget"

        self.add_record(ENTITY, data)
        self.navigate_to_record(pkey)

        # cert request
        self.action_list_action('request_cert', confirm=False)
        # testing if cancel button works
>       self.dialog_button_click('cancel')
...

E       selenium.common.exceptions.ElementClickInterceptedException: Message: Element <button class="btn btn-default" name="cancel" type="button"> is not clickable at point (881.5,504.66668701171875) because another element <div class="widget global-activity-indicator slider"> obscures it

Screenshot in logs shows Working dialogue window drawn over the dialogue window which is expected by the test. Simple wait should suffice to fix this test.


Happened again in [testing_ipa-4.9_latest] Nightly PR #1179 with slightly different error

>       raise exception_class(message, screen, stacktrace)
E       selenium.common.exceptions.StaleElementReferenceException: Message: The element reference of <button class="close" type="button"> is stale; either the element is no longer attached to the DOM, it is not in the current frame context, or the document has been refreshed

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

2 years ago

Login to comment on this ticket.

Metadata