Skip to content

Instantly share code, notes, and snippets.

Created Feb 22, 2021
What would you like to do?
Visual testing to verify text displayed correctly
public void testAddLongTasks(){
List<String> tasks = List.of(
"buy a flight from UK to India. then buy a flight from India to US",
"take my imaginary kid to soccer practice. dont forget to buy snacks",
"check out cool new testing conference and submit abstract for a great talk!"
//Visual testing
Eyes eyes = new Eyes();, "ToDo App", "long tasks");
eyes.check(Target.window().ignore(screen.getStatusBarLocator())); //status bar is dynamic. let's ignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment