Based on various forum discussions, the TestCafe documentation, and trying it out to compare results, I am still not certain which is the correct (or best) way to assert that a page element is visible.
await t.expect(Selector('#elementId').visible).ok();
vs
await t.expect(await Selector('#elementId').visible).ok();
Or are these both incorrect and there is another way that is preferable? How does this compare to asserting that an element exists? Or other properties of the element, such as :checked?