Skip to content

Instantly share code, notes, and snippets.

@batmi02
Created April 20, 2020 18:39
Show Gist options
  • Save batmi02/17e96b6372654ffdf8d78b193f6c2dbd to your computer and use it in GitHub Desktop.
Save batmi02/17e96b6372654ffdf8d78b193f6c2dbd to your computer and use it in GitHub Desktop.
List<Transaction> unsortedTransactions = transactionsTable.allData();
List<Line> images = transactionsTable.rowsImages();
transactionsTable.headerUI().select("AMOUNT");
transactionsTable.assertThat()
.rows(hasItems(toArray(unsortedTransactions)))
.sortedBy((prev,next) -> prev.amount.value() < next.amount.value())
.rowsVisualValidation("Description", images);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment