The pop-ups configured with custom Arcade expressions in ArcGIS Pro are not honored in Portal for ArcGIS Map Viewer when published as hosted feature layers in ArcGIS Enterprise.
This is an ArcGIS API for JavaScript 3.x limitation and is fixed in Portal for ArcGIS Scene Viewer and Map Viewer with ArcGIS Maps SDK for JavaScript 4.x.