$node =
$this->entityTypeManager->
getStorage('node'
)->
create([ 'type' => 'article',
'title' => 'example ES no translation',
'sticky' => FALSE,
'langcode' => 'es',
]);
$node->
save();
// Views are sorted first by node id ascending, and then title ascending.
// Confirm each node and node translation renders in its own language.
$this->
drupalGet('test_entity_field_renderered_entity/entity_translation'
);
$this->
assertRows([ [ 'title' => 'example EN default',
],
[ 'title' => 'example ES translation',
],
[ 'title' => 'example EN translation',
],
[ 'title' => 'example ES default',
],