// Ensure that the layout change propagates to the translated entity.
$this->drupalGet($translated_entity_url); $assert_session->pageTextNotContains('The untranslated field value'); $assert_session->pageTextContains('The translated field value'); $assert_session->pageTextContains('Powered by Drupal'); }