Issue #3151968 by Hardik_Patel_12, daffie, snehalgaikwad: Replace the database query with an entity query in NodeTranslationUITest