With the latest updates to the wix/Detox e2e testing library we can set the visibility level on elements
await expect(element(by.id(\'element_id\'))).toBeVisible(