faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
_whitelogger has joined #amber
snsei__ has joined #amber
snsei__ has quit [Remote host closed the connection]
_whitelogger has joined #amber
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Remote host closed the connection]
snsei has joined #amber
snsei has quit [Ping timeout: 250 seconds]
snsei has joined #amber
<FromGitter> <eliasjpr> 👋🏻
<FromGitter> <eliasjpr> Maybe I can help
snsei has quit [Ping timeout: 276 seconds]
snsei has joined #amber
snsei has quit [Ping timeout: 276 seconds]
<FromGitter> <damianham> is it a case of '/usr/local/bin/chromedriver' missing ?
<FromGitter> <eliasjpr> That could be the case, chromedriver can be installed with brew command
snsei has joined #amber
snsei has quit [Ping timeout: 250 seconds]
snsei has joined #amber
snsei has quit [Ping timeout: 264 seconds]
<FromGitter> <samholst> It ended up being that those tests are bad from the docs. `Introduction` didn't exist in the body which presented the `Nil` error. @eliasjpr but maybe you could help me in the next issue I am facing with the `capabilities` I am trying to override in the `module GarnetSpec`. None of these modules when I override it seem to have any effect.
<FromGitter> <eliasjpr> We have not added support for some of the capabilities, since the crystal implementation for the chrome driver at the time was not feature complete at the time
<FromGitter> <eliasjpr> https://github.com/amberframework/garnet-spec take a look at the reame
<FromGitter> <samholst> I see. I took a look at the shard and maybe I am not versed well enough but could you direct me on where this file is located in the repo? I cannot find it anywhere...
<FromGitter> <samholst> There's only one file that is similar `garnet-spec/src/garnet_spec/server.cr` but it doesn't quite make sense to me as this `server.cr` isn't in the local lib directory on my machine. Is there something I am missing?
<FromGitter> <eliasjpr> It has been a while since I last worked on this. There is a PR currently open that updates the README this might be useful https://github.com/amberframework/garnet-spec/pull/12/files?short_path=04c6e90#diff-04c6e90faac2675aa89e2176d2eec7d8
<FromGitter> <eliasjpr> Also this is the file that contains the capabilities https://github.com/amberframework/garnet-spec/blob/master/src/garnet_spec/server.cr
<FromGitter> <eliasjpr> you can find the shard in your local lib directory
<FromGitter> <eliasjpr> After going thru the shard the amber docs are out of date with the project. In order to perform test you have to setup the handler property ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5d264cb5f5dd14574260c3da]
<FromGitter> <eliasjpr> Update the spec helper with the above
<FromGitter> <eliasjpr> no need to specify capabilities this is hidden from you
<FromGitter> <samholst> I guess what I am trying to say is that in the latest release `v0.2.1` with `pwd/lib/garnet_spec/src/server.cr` doesn't exist in the project. `pwd/lib/garnet_spec/src/garnet_spec.cr` does and contains the `server.cr`code which is written differently than the other file.
<FromGitter> <samholst> and that last file path doesn't exist in the most recent version of the shard repo.
<FromGitter> <samholst> I do have need to add in `headless` and `w3c` capabilities to the chrome driver for the tests
<FromGitter> <samholst> which seem to be supported, but I can't overwrite them or add on the currently available ones
<FromGitter> <eliasjpr> Write your tests ⏎ ⏎ ```code paste, see link``` [https://gitter.im/amberframework/amber?at=5d265038f827ad6676e38d9e]
<FromGitter> <Blacksmoke16> IMO unless you're hard set on using crystal for everything, might be worth looking into like https://www.cypress.io/
<FromGitter> <Blacksmoke16> depends on what best suites your needs
<FromGitter> <eliasjpr> Agreed
<FromGitter> <Blacksmoke16> afaik cypress is the defacto standard for e2e testing atm
<FromGitter> <Blacksmoke16> can use typescript as well
<FromGitter> <samholst> Sweet, thanks for you help guys!
<FromGitter> <Blacksmoke16> (at least in js land)
<FromGitter> <Blacksmoke16> np