<span _ngcontent-c77="" class="status-label success" tooltipcontainer="body" tooltipheader="Error" tooltipmode="click" tooltipposition="top" data-test-id="status"> online </span>
In xpath i can find this element by
//*[@data-test-id="status" and text()=" online "]
But i can't understand how to find this element with containing text ' online ' using css selector. Help me with this, please.