[openstreetmap/openstreetmap-website] [WIP] Add links to the ToU and include them in signup (#2028)
Simon Poole
notifications at github.com
Wed Jan 2 14:52:08 UTC 2019
- Previous message: [openstreetmap/openstreetmap-website] Error during failsafe response: Missing template errors/not_found, application/not_found with {:locale=>[:en], :formats=>[:css], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jsonify, :coffee]}. (#2092)
- Next message: [openstreetmap/openstreetmap-website] Require terms agreement for api write abilities and capabilities (#2096)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
>
>
> Well https://github.com/openstreetmap/openstreetmap-website/blob/master/test/integration/user_creation_test.rb#L75 tests the signup flow including accepting the terms?
>
> If you actually want to check what happens to the button on the client then you will need a system test though obviously you want to check that the backend works right as well as you don't want to trust client side javascript ;-)
I'll punt on the client side javascript :-) (assuming that we don't actually have any kind of test harness that directly simulates user interaction), But since the requirement that the checkbox is checked is the only functional aspect that could be tested separately I'm a bit at a loss to find any sensible additional testable condition, so IMHO I would let things stand as they are now (when and if we add code to force ToU acceptance for existing users that can be revisited).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2028#issuecomment-450882896
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190102/194dc7ec/attachment.html>
- Previous message: [openstreetmap/openstreetmap-website] Error during failsafe response: Missing template errors/not_found, application/not_found with {:locale=>[:en], :formats=>[:css], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :jsonify, :coffee]}. (#2092)
- Next message: [openstreetmap/openstreetmap-website] Require terms agreement for api write abilities and capabilities (#2096)
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the rails-dev
mailing list