node.jsangularprotractor

Error while executing e2e tests for angular 8, protractor


After executing the CLI command (ng e2e) this is the error I am getting in the console:

USB: usb_device_handle_win.cc:1020 Failed to read descriptor from node connection: 
A device attached to the system is not functioning

Further information and versions:

This is driving me mad, and I am not able to debug it or find much information otherwise online.


Solution

  • TL;DR; (and the whole story): It was happening in a particular version of the Chrome driver.

    As pointed out by Celia Gaylard in another thread the issue seems to be with logging.

    We ignored the issue for a while and after some update, it vanished into the same thin air it came from.