ccaominh commented on issue #9802:
URL: https://github.com/apache/druid/issues/9802#issuecomment-622578347


   Sorry for the late response, but I'm adding some comments here in case 
anyone finds this issue when trying to debug the end-to-end tests.
   
   From the stack trace, the data loader failed during the "connect" step. 
Specifically, the preview of the raw data did not appear in the web console.
   
   When the e2e test fails, it'll dump a screen shot of the of the web console 
at the time of test failure, which can be helpful for debugging. For this 
particular test, the screen shot is named 
`load-data-from-local-disk-screenshot.png`.
   
   Disabling headless mode while running the tests can also be helpful for 
debugging. One way of doing this is by modifying `tutorial-batch.spec.ts` to 
change:
   
   ```
   import { createBrowserNormal as createBrowser } from './util/playwright';
   ```
   
   to
   
   ```
   import { createBrowserDebug as createBrowser } from './util/playwright';
   ```
   
   
   Once that's done, running the tests will launch a chromium instance and you 
can watch all the interactions with the web console.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to