Uploaded image for project: 'Subscription Watch'
  1. Subscription Watch
  2. SWATCH-3616

GUI - Investigate and fix test_verify_subscriptions_table_rosa

XMLWordPrintable

      The subscriptions table for ROSA variant newly contains billing provider column. Add this field to the `_format_subscriptions_data_for_table` formatting util.

       

      >       assert not deepdiff.DeepDiff(
                  sanitize_system_table(table_data_ui), table_data_api, ignore_order=True
              )
      E       assert not {'dictionary_item_removed': ["root[0]['Purchased through']"]}
      E        +  where {'dictionary_item_removed': ["root[0]['Purchased through']"]} = <class 'deepdiff.diff.DeepDiff'>([{'Next renewal': '2025-06-28', 'Product': 'Red Hat OpenShift Service on AWS Hosted Control Planes (Hourly)', 'Purchased through': 'AWS', 'Quantity': '1'}], [{'Next renewal': '2025-06-28', 'Product': 'Red Hat OpenShift Service on AWS Hosted Control Planes (Hourly)', 'Quantity': '1'}], ignore_order=True)
      E        +    where <class 'deepdiff.diff.DeepDiff'> = deepdiff.DeepDiff
      E        +    and   [{'Next renewal': '2025-06-28', 'Product': 'Red Hat OpenShift Service on AWS Hosted Control Planes (Hourly)', 'Purchased through': 'AWS', 'Quantity': '1'}] = sanitize_system_table([{'Next renewal': '2025-06-28', 'Product': 'Red Hat OpenShift Service on AWS Hosted Control Planes (Hourly)', 'Purchased through': 'AWS', 'Quantity': '1'}])/iqe_venv/lib/python3.12/site-packages/iqe_curiosity/tests/ui/test_verify_subscriptions_table.py:413: AssertionError 

      Ibutsu

       

              mmusil Marek Musil
              mmusil Marek Musil
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: