Uploaded image for project: 'Insights Experiences'
  1. Insights Experiences
  2. HMS-3693

Fix UI tests that run in gitlab ci pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • hms-1.8
    • None
    • Provisioning, QE
    • None

      Recently we made iqe-hms-plugin run gitlab ci pipelines using a new runner. As a part of migration, we made ui pipeline work with selenium corretcly but found out that tests are failing because of locators. Here is MR https://gitlab.cee.redhat.com/insights-qe/iqe-hms-integration-plugin/-/merge_requests/111 

      Here you have some basic logs:

      FAILED tests/test_admin_workflow.py::test_admin_aws_azure_gcp_e2e[False-us-central1-a-eastus-us-east-1-bulk_create_stacks0-rhel-9-2048] - AssertionError: assert (True and 2 == 3)8583 +  where True = isinstance([Image(name='hms-int-c3uzwanst1', id='dc7b0326-0264-4490-bbf9-eb884d23c193', red_hat_packages=['bash', 'postgresql', 'insights-client'], custom_packages=['6tunnel'], custom_partitions=[{'mount-point': '/home', 'size': '5'}, {'mount-point': '/var', 'mount-suffix': 'log', 'size': '2', 'unit': 'G'}], use_custom_repositories=True, wait=True, distribution='rhel-9', target_environment='azure', activation_key=None, aws_id=None, aws_source_id='558323', org_id=None, google_account=None, google_service_account='hms-qe-automation@satellitegce-automation.iam.gserviceaccount.com', google_group=None, google_domain=None, azure_source_id='558324', resource_group='redhat-deployed', subscription_id=None, tenant_guid=None), Image(name='hms-int-c3uzwanst1', id='8e525ba2-9ae5-4b4c-b21d-834d8619f55d', red_hat_packages=['bash', 'postgresql', 'insights-client'], custom_packages=['6tunnel'], custom_partitions=[{'mount-point': '/home', 'size': '5'}, {'mount-point': '/var', 'mount-suffix': 'log', 'size': '2', 'unit': 'G'}], use_custom_repositories=True, wait=True, distribution='rhel-9', target_environment='gcp', activation_key=None, aws_id=None, aws_source_id='558323', org_id=None, google_account=None, google_service_account='hms-qe-automation@satellitegce-automation.iam.gserviceaccount.com', google_group=None, google_domain=None, azure_source_id='558324', resource_group='redhat-deployed', subscription_id=None, tenant_guid=None)], list)8584 +  and   2 = len([Image(name='hms-int-c3uzwanst1', id='dc7b0326-0264-4490-bbf9-eb884d23c193', red_hat_packages=['bash', 'postgresql', 'insights-client'], custom_packages=['6tunnel'], custom_partitions=[{'mount-point': '/home', 'size': '5'}, {'mount-point': '/var', 'mount-suffix': 'log', 'size': '2', 'unit': 'G'}], use_custom_repositories=True, wait=True, distribution='rhel-9', target_environment='azure', activation_key=None, aws_id=None, aws_source_id='558323', org_id=None, google_account=None, google_service_account='hms-qe-automation@satellitegce-automation.iam.gserviceaccount.com', google_group=None, google_domain=None, azure_source_id='558324', resource_group='redhat-deployed', subscription_id=None, tenant_guid=None), Image(name='hms-int-c3uzwanst1', id='8e525ba2-9ae5-4b4c-b21d-834d8619f55d', red_hat_packages=['bash', 'postgresql', 'insights-client'], custom_packages=['6tunnel'], custom_partitions=[{'mount-point': '/home', 'size': '5'}, {'mount-point': '/var', 'mount-suffix': 'log', 'size': '2', 'unit': 'G'}], use_custom_repositories=True, wait=True, distribution='rhel-9', target_environment='gcp', activation_key=None, aws_id=None, aws_source_id='558323', org_id=None, google_account=None, google_service_account='hms-qe-automation@satellitegce-automation.iam.gserviceaccount.com', google_group=None, google_domain=None, azure_source_id='558324', resource_group='redhat-deployed', subscription_id=None, tenant_guid=None)])8585FAILED tests/c2r/test_conversion_with_ongoing_preconversion_analysis.py::test_conversion_with_ongoing_preconversion_analysis[int_host_manager0] - navmazing._errors.NavigationTriesExceeded: Navigation failed to reach [ApplicationTasksFrontend, "Tasks"] in the specified tries8586FAILED tests/c2r/test_group_analysis_issues.py::test_group_analysis_issues[int_multiple_hosts0] - navmazing._errors.NavigationTriesExceeded: Navigation failed to reach [ApplicationTasksFrontend, "Tasks"] in the specified tries8587FAILED tests/c2r/test_group_conversion.py::test_group_conversion[int_multiple_hosts0] - navmazing._errors.NavigationTriesExceeded: Navigation failed to reach [ApplicationTasksFrontend, "Tasks"] in the specified tries8588FAILED tests/c2r/test_preconversion_analysis.py::test_preconversion_analysis[int_host_manager0] - navmazing._errors.NavigationTriesExceeded: Navigation failed to reach [ApplicationTasksFrontend, "Tasks"] in the specified tries8589FAILED tests/c2r/test_simple_conversion.py::test_simple_conversion[int_host_manager0] - navmazing._errors.NavigationTriesExceeded: Navigation failed to reach [ApplicationTasksFrontend, "Tasks"] in the specified tries8590========== 6 failed, 7 deselected, 218 warnings in 4831.50s (1:20:31) ========== 

      cc rhn-support-akjha mshriver 

            rhn-support-addubey Adarsh Dubey
            eshamard Egor Shamardin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: