DevExpress / testcafe-reporter-dashboard

MIT License
2 stars 3 forks source link

JS errors not attached to an action will be shown in the extended log (closes #1099) #69

Closed Dmitry-Ostashev closed 2 years ago

Dmitry-Ostashev commented 2 years ago

https://github.com/DevExpress/testcafe-dashboard/issues/1099

How to reproduce:

  1. Create a page with the following content:
<html>
    <body>
        <script>
          throw new Error(123);
        </script>
    </body>
</html>
  1. Launch the following test:
fixture`Errorr`.page`file:///home/dmitry/Work/TestProjects/Pages/index.html`;

test('Test', async t => {
    await t.wait(1000).wait(1000);
});
  1. Make sure that the error is shown in the extended log: image

The "passed" particular browser attempt will be fixed in the dashboard repo.