code: def test_app_with_query_params(app_with_query_params: Page):
      page, test_dict = app_with_query_params
      for key, value in test_dict.items():
          assert page.get_by_text(key) is not None
  
          if isinstance(value, (list, tuple)):
              for item in value:
                  assert page.get_by_text(item) is not None
          else:
              assert page.get_by_text(value) is not None
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_app_with_query_params(app_with_query_params) without return types