code: def test_loads_main_script_on_initial_page_load(app: Page):
      """Test that the main script is loaded on initial page load."""
      expect(app.get_by_test_id("stHeading")).to_contain_text(
          "Main Page"
      )
  
file_path: streamlit/e2e_playwright/multipage_apps/mpa_basics_test.py
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction, wait_for_app_loaded, wait_for_app_run
label_desc: Use image node_id 1 for calling a global function with example usage: test_loads_main_script_on_initial_page_load(app) without return types