code: def test_quick_start_example_cloud() -> None:
      with run_app_in_cloud(
          os.path.join(_PATH_EXAMPLES, "lightning-quick-start")
      ) as (_, view_page, _, _):
  
          def click_gradio_demo(*_, **__):
              button = view_page.locator(
                  'button:has-text("Interactive demo")'
              )
              button.wait_for(timeout=5 * 1000)
              button.click()
              return True
  
          wait_for(view_page, click_gradio_demo)
  
          def check_examples(*_, **__):
              locator = view_page.frame_locator("iframe").locator(
                  'button:has-text("Submit")'
              )
              locator.wait_for(timeout=10 * 1000)
              if len(locator.all_text_contents()) > 0:
                  return True
              return None
  
          wait_for(view_page, check_examples)
  
file_path: pytorch-lightning/tests/integrations_app/public/test_quick_start.py
imports: import logging
  import os
  from unittest import mock
  import pytest
  from click.testing import CliRunner
  from lightning.app import LightningApp
  from lightning.app.cli.lightning_cli import run_app
  from lightning.app.testing.helpers import _RunIf
  from lightning.app.testing.testing import run_app_in_cloud, wait_for
  from integrations_app.public import _PATH_EXAMPLES
label_desc: Use image node_id 2 for calling a global function with example usage: test_quick_start_example_cloud() and returns: True, None, True