Example crowdfunding app for ElixirConf
Helpers to evaluate elixir functions at compile time instead of runtime
Chef cookbook repo
Turbo-charged counter caches for your Rails app.
Automate your GitHub workflows using Azure Actions
aaronrenner/active_model_serializers 0
ActiveModel::Serializer implementation and Rails hooks
ActiveRecord style Object Graph Mapping for neo4j
aaronrenner/active_record_immutable 0
Make ActiveRecord objects immutable.
Easy multi-tenancy for Rails in a shared database setup
Angular wrapper for Bugsnag
issue closedelixir-wallaby/wallaby
Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.
Issue
Wallaby.Element.attr("innerHTML") doesn't work anymore with 91.0.4472.19 (after updating from 90.x.x.x). I always get nil, although the element is present. The same for outerHTML.
Is there anything known that the Chromedriver in the latest version has changed in this respect? (BTW. I also did a test with Hound, there it is exactly the same problem, so I kind of assume that the Chromedriver is the problem, but of course I could be completely wrong).
Details
Elixir: 1.12.0 Erlang: 24.0.1 OS: Ubuntu 18.04 Webdriver (selenium, chromedriver, geckodriver, etc): Chromedriver 91.0.4472.19 Browser (Chrome, Firefox, Safari, etc): Chrome Local or CI:
I'm using Wallaby 0.28.0.
Test Code & HTML
closed time in 7 hours
WernerBuchertissue commentelixir-wallaby/wallaby
Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.
Thanks for the update @WernerBuchert :)
comment created time in 7 hours
startedgjedeer/tuntox
started time in 11 hours
startedgfngfn/game_tianjiupai
started time in 15 hours
issue commentelixir-wallaby/wallaby
Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.
Finally there is a new Chromedriver Version: 91.0.4472.101 And it work's again.
comment created time in a day
startedSergioBenitez/Rocket
started time in 4 days
issue commentaaronrenner/phx_gen_auth
its happening https://iacobson.medium.com/phx-gen-auth-and-oauth-for-a-phoenix-liveview-app-a19a27e6befa
comment created time in 4 days
release tidwall/tile38
tile38-1.24.3-darwin-amd64.zip 15.94MB
tile38-1.24.3-freebsd-amd64.zip 16.21MB
tile38-1.24.3-linux-amd64.tar.gz 16.21MB
tile38-1.24.3-linux-arm.tar.gz 15.13MB
tile38-1.24.3-linux-arm64.tar.gz 15.14MB
tile38-1.24.3-windows-amd64.zip 16.07MB
released time in 5 days
startedgfngfn/sesterl_cowboy
started time in 5 days
startedgfngfn/sesterl_testing
started time in 5 days
startedgfngfn/sesterl_stdlib
started time in 5 days
issue commentaaronrenner/phx_gen_auth
dialyzer show some warnings in user_settings_controller
I'm also having this warning
comment created time in 5 days
startedcontentful-userland/awesome-contentful
started time in 6 days
issue commentaaronrenner/phx_gen_auth
use of HTTP DELETE verb for log out causing issues
Hi @josevalim your tip about Phoenix.HTML JavaScript helped a lot. The line import "phoenix_html" was missing from app.js and putting it in there made the DELETE HTTP verb sign-out links function correctly. Thank you for your quick reply and for creating such an exciting language in the first place!
comment created time in 6 days
startedaaronrenner/phx_gen_auth
started time in 6 days
fork keathley/mint
Functional HTTP client for Elixir with support for HTTP/1 and HTTP/2.
fork in 6 days
issue commentaaronrenner/phx_gen_auth
User is logged in right away after registration
Perfect - after thinking about it a bit longer, I totally agree about the user experience aspect. I keep your approach and will provide the functionalities by checking if the user has already confirmed or is in certain user-group. Thank you @josevalim 👍 - Elixir changed my live!
comment created time in 6 days
issue closedaaronrenner/phx_gen_auth
User is logged in right away after registration
Hi @aaronrenner,
I was wondering about the strategy to log in a user right away after the registration. In my case, the login should only be possible if the user confirmed the mail address.
https://github.com/aaronrenner/phx_gen_auth/blob/a9e92df94afb8eef8dae0a41a9c1654863607874/priv/templates/phx.gen.auth/registration_controller.ex#L24
I know, all requirements are somehow special and that's why you created this project. Thank you for that - I learned a lot about it!
I just was wondering if there are any special considerations about logging in right away after registration.
Kind regards and thank you for this template! Martin
closed time in 6 days
marschroissue commentaaronrenner/phx_gen_auth
User is logged in right away after registration
You can remove the login call if you prefer and then add a check where the user cannot login until he confirms his e-mail. Or alternatively, allow him to access only part of the application until he confirms.
The reason why we login after registration without confirmation is because that may be a better experience in many cases. If you ask users to wait for an e-mail to arrive... they may lose interest and go elsewhere.
comment created time in 6 days
issue openedaaronrenner/phx_gen_auth
User is logged in right away after registration
Hi @aaronrenner,
I was wondering about the strategy to log in a user right away after the registration. In my case, the login should only be possible if the user confirmed the mail address.
https://github.com/aaronrenner/phx_gen_auth/blob/a9e92df94afb8eef8dae0a41a9c1654863607874/priv/templates/phx.gen.auth/registration_controller.ex#L24
I know, all requirements are somehow special and that's why you created this project. Thank you for that - I learned a lot about it!
I just was wondering if there are any special considerations about logging in right away after registration.
Kind regards and thank you for this template! Martin
created time in 6 days
issue commentelixir-wallaby/wallaby
Wallaby.Element.attr("innerHTML") doesn't work anymore with Chromedriver 91.0.4472.19.
There is a bug with the attribute selector in chromedriver v 91 - see https://bugs.chromium.org/p/chromium/issues/detail?id=1205107
hopefully they will fix it soon
In the meantime I came up with an ugly workaround to get an elements value (aside from downgrading chromedriver)
defp get_value_attribute(session, css_string) do
session
|> execute_script("val = document.querySelector('#{css_string}').value; document.cookie = 'automation_val=' + val")
|> cookies()
|> Enum.find(fn x -> x["name"] == "automation_val" end)
|> Map.get("value")
end
I'm wondering if somebody else came up with something better
comment created time in 7 days
startedphoenixframework/phoenix_view
started time in 7 days
startedsupabase/realtime
started time in 7 days