// Assert that even if the source is the same, the translations depend on
// the enum context.
$this->assertStringContainsString('Abre er bânnêh en una nueba bentana',$crawler->filter('#sdc-wrapper [data-component-id="sdc_test:my-banner"]')->outerHtml());
$this->assertStringContainsString('Abre er CTA en una nueba bentana',$crawler->filter('#sdc-wrapper a[data-component-id="sdc_test:my-cta"]:nth-of-type(1)')->outerHtml());
$this->assertStringContainsString('Abre er CTA en la mîmma bentana',$crawler->filter('#sdc-wrapper a[data-component-id="sdc_test:my-cta"]:nth-of-type(2)')->outerHtml());
$this->expectExceptionMessage('The component "'.$metadata_info['id'].'" does not provide schema information. Schema definitions are mandatory for components declared in modules. For components declared in themes, schema definitions are only mandatory if the "enforce_prop_schemas" key is set to "true" in the theme info file.');