I created a test to check if the synchronization button works correctly. After clicking the button, the requests for the documents (items) are sent. When I run the test with TestCafe, it requests only for the first element and then stops, even if there are 50 elements to be requested. I've tested it manually and I'm sure it works (requests for 50 elements in a row) so TestCafe causes problems. Does anyone know what's the problem? I've also tested the same thing in Protractor and it worked but not in TestCafe.
I run the synchronization by clicking the button (SYNC_WHEEL).
fixture('should check if the synchronization works').page('http://localhost:3000/');
test('should check if the synchronization works', async t => {
await t
.expect(homePage.SYNC_WHEEL.visible).ok()
.click(homePage.SYNC_WHEEL)
.wait(10000)
});