code: def test_correct_bottom_spacing_for_code_blocks(app: Page):
      """Test that the code blocks have the correct bottom spacing."""
  
      # The first code block should have no bottom margin:
      expect(
          app.get_by_test_id("stExpander")
          .nth(0)
          .get_by_test_id("stCodeBlock")
          .first
      ).to_have_css("margin-bottom", "0px")
      # While the codeblock used inside markdown should have a bottom margin to imitate the gap:
      expect(
          app.get_by_test_id("stExpander")
          .nth(1)
          .get_by_test_id("stCodeBlock")
          .first
      ).to_have_css("margin-bottom", "16px")
  
imports: from playwright.sync_api import Page, expect
  from e2e_playwright.conftest import ImageCompareFunction
label_desc: Use image node_id 4 for calling a global function with example usage: test_correct_bottom_spacing_for_code_blocks(app) without return types