Issue #3151953 by durgeshs, daffie, snehalgaikwad, Lal_: Replace the database query with an entity query in TermTranslationUITest