Hello, I have a question, what method to use to check if the items in a given section are displayed chronologically and how to check if the page is scrolled?
One approach may be to use I.grabTextFromAll
which should return texts in order as displayed to user:
const assert = require('assert');
const itemsOrderExpected = ['a', 'b', 'c', 'd'];
const itemsOrderActual = await I.grabTextFromAll('.items .item');
assert.equal(itemsOrderActual, itemsOrderExpected, 'Items not listed as expected in given section');
Ok, I understand, and to scroll is the scroll method?