code: def test_reruns_when_r_is_pressed(app: Page):
      app.keyboard.type("r")
      expect(app.get_by_test_id("stStatusWidget")).to_be_visible()
  
imports: from playwright.sync_api import Page, expect
label_desc: Use image node_id 4 for calling a global function with example usage: test_reruns_when_r_is_pressed(app) without return types