-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tag values with wiki page may be documented as bad #5461
Conversation
Failed test is
So test failure is a real problem. Good news is that it will be easy to write a test for what I want to achieve here.
test is at iD/test/spec/services/taginfo.js Line 223 in 6ce2c5e
|
I attempted to invert tests covering inverted behaviour. |
It is still failing with
I admit that I am not sure what this test is really reporting. |
Maybe tests fails because instead of |
Yes probably this.. What I usually do is run iD locally, and then visit the test runner page http://localhost:8080/test in Chrome. It will run the tests in the browser and you can use the debugger to set breakpoints and figure out what's really going on 👍 |
Note to self: it is described in https://github.com/openstreetmap/iD#building-id Note to self: |
I cleaned up the tests in a29af10 What I did was:
This matches what the code does now, and I think the intent of #5460 The code doesn't care about wiki pages for values anymore, so there is no need to test that behavior. |
Thanks for merging and fixing tests! Hopefully my next PR will go even better :) |
Thanks! This PR was great, no worries! 👍 |
fixes #5460
warning: this proposed code change is not tested