JavaScript Output all failures instead of one in TestCafe

How can i display all failures when running tests.

test('test case', async (t) => ){
   await t.expect(1).eql(2);
   await t.expect(3).eql(4);
}

What i get (first failure, then stops):

1) AssertionError: expected '1' to deeply equal '2'

What i want (all wrong data):

1) AssertionError: expected '1' to deeply equal '2'

1) AssertionError: expected '3' to deeply equal '4'

Answer:1

This will work, just put all elements in array and iterate trough them

for(let i = 0; i < 400; i++) {
    test
    (`Test `+i, async t => {
        await t.expect(i).eql(i+1);
    });
}
Answer:2

I've created this function, however when it runs on the website it's designed for it is returning undefined. I did some quick Googling and found that because it's an asynchronous function, it ...

I've created this function, however when it runs on the website it's designed for it is returning undefined. I did some quick Googling and found that because it's an asynchronous function, it ...

I cannot centralize v-radio-group. Here's what I got: <v-container grid-list-md text-xs-center> <v-form ref="form> <div v-if="question.question_type == 'YESNO' "> &...

I cannot centralize v-radio-group. Here's what I got: <v-container grid-list-md text-xs-center> <v-form ref="form> <div v-if="question.question_type == 'YESNO' "> &...

I am looping over file directories and for each location I am reading the files in this directory with an async fs.readFile(). How can I best determine if all the async readFile() calls have completed?...

I am looping over file directories and for each location I am reading the files in this directory with an async fs.readFile(). How can I best determine if all the async readFile() calls have completed?...

I am new to the AngularJs framework and I need some help with a couple questions. I have tried to find information on the internet and by looking through tutorials but many of them are incomplete. ...

I am new to the AngularJs framework and I need some help with a couple questions. I have tried to find information on the internet and by looking through tutorials but many of them are incomplete. ...

  1. share information between iphones
  2. share information between two computers
  3. share information between iphone and ipad
  4. share information between computers
  5. share information between threads c#
  6. share information between browsers
  7. share information between apps
  8. angular share information between components
  9. android share information between applications
  10. android share information between activities
  11. java share information between threads
  12. python share information between threads
  13. excel share information between worksheets
  14. c# share information between forms
  15. how to share information between two iphones
  16. how to share information between two laptops
  17. how to share information between apple devices
  18. how to share information between sheets in excel
  19. jenkins pipeline share information between jobs
  20. how to share information between excel spreadsheets