fcfort / betterment-csv-chrome

Betterment CSV export Chrome extension
https://chrome.google.com/webstore/detail/betterment-pdf-to-csv-exp/jbneodpofmnammepmnejgkacdbjojcgn
Apache License 2.0
10 stars 4 forks source link

PDF comparison tests occasionally timeout #56

Closed fcfort closed 5 years ago

fcfort commented 5 years ago

These are the Chrome tests run under Jasmine. If logLevel is set to config.LOG_DEBUG we get the following output:

12 07 2019 16:22:01.716:DEBUG [Chrome 75.0.3770 (Linux 0.0.0)]: CONFIGURING -> EXECUTING
Chrome 75.0.3770 (Linux 0.0.0): Executed 0 of 21 SUCCESS (0 secs / 0 secs)
12 07 2019 16:22:01.789:DEBUG [middleware:source-files]: Requesting /base/test/karma/build/Betterment_401k_Quarterly_Statement_[REDACTED].pdf
12 07 2019 16:22:01.790:DEBUG [middleware:source-files]: Fetching [REDACTED]/betterment-csv-chrome/test/karma/build/Betterment_401k_Quarterly_Statement_[REDACTED].pdf
Chrome 75.0.3770 (Linux 0.0.0) PDF Parsing to CSV Correctly parses pdf /base/test/karma/build/Betterment_401k_Quarterly_Statement_[REDACTED].pdf FAILED
        Error: Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL.
Chrome 75.0.3770 (Linux 0.0.0): Executed 1 of 21 (1 FAILED) (0 secs / 5.004 secs)
fcfort commented 5 years ago

Fixed in 8510b25 by using headless Chrome