Open
Description
Problem.
This does an assertion:
uiElement.assertThat().text().is("text");
This reads and feels the same but does nothing:
uiElement.assertThat().text().contains("sisdfn");
The main problem is that i won't notice my mistake which leads to tests that don't do the assertions i expect them to do.
Solution
Best would be an implicit .is(true)
when no assertion is done.
Second best seems the addition of a compiler warning or something alike, to increase my chance of noticing my mistake, see e.g.