-
Notifications
You must be signed in to change notification settings - Fork 9
Issue running specs on fresh app #93
Copy link
Copy link
Open
Labels
clarify apiRename/remove/add something to make the API easier to understandRename/remove/add something to make the API easier to understandhelp wantedAdditional expertise neededAdditional expertise neededimprove error experienceMake errors nicer to deal withMake errors nicer to deal with
Metadata
Metadata
Assignees
Labels
clarify apiRename/remove/add something to make the API easier to understandRename/remove/add something to make the API easier to understandhelp wantedAdditional expertise neededAdditional expertise neededimprove error experienceMake errors nicer to deal withMake errors nicer to deal with
Type
Fields
Give feedbackNo fields configured for issues without a type.
I installed a fresh Lucky 0.23 app and tried to run specs only to get this error:
(assuming I was a brand new dev to Lucky...) I first think "What version of chromedriver do I have installed?". It was version 80. I ran
brew upgrade chromedriver, checked the versionchromedriver -vand I got 85. Rancrystal spec, and it failed with the same error. I then checked my version of chrome, it updated and showed version 85. Still unable to run the specs....I dug in to LuckyFlow to find this line where
LuckyFlow.settings.chromedriver_pathwasnil. I didn't know I had to set this path (because I'm new). But I saw thatWebdrivers::Chromedriver.installpointed to~/.webdrivers/chromedriver. It happened that this version was 83. I had to uninstall this version since it wasn't managed by my package manager, and also uninstall my local chromedriver. Then when I rancrystal spec, I see it installed the correct version and specs passed.Maybe there's a way we can catch that error, and present a nicer error to say
delete this cache directory, or something?/cc. @matthewmcgarvey