-
Notifications
You must be signed in to change notification settings - Fork 210
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
Write UI test for "click to select coordinates" function #1846
Comments
For an example of this kind of test, see: https://github.com/publiclab/image-sequencer/blob/main/test/ui-2/test/ColorPicker.test.js |
Ok i will try this😊 |
Actually @jywarren sir i went through the entire conversation held in #1187 and i think that i have already did this in #1804 . with all the requirements satisfied like -
|
One more thing sir how do i push the code to the existing pull request won't there be any permission conflict there?. |
@jywarren i have tried to write a test for this and everything is working fine except for only one thing. But don't know how to tackle that, could you please give some suggestions. |
@jywarren sir after this the whole test will be completed |
Hi, @vivek-30 my apologies for replying slowly. Just to catch up: I think you're right that you've solved #1187 in #1804 however just to confirm i think you did it slightly differently - by defining a If so we should be OK however i see that in #1187 @aashna also enabled this type of input for 4 modules:
So i think we have to add it to those too? Finally, yes, the test is the last big piece. Let me look to see what to do... |
For the test, are you working in a pull request you can link us to? So we can refer to specific lines of code? I'm not sure which click event is getting the wrong image - i think we should be able to use more specific CSS to click but can you highlight:
then hopefully we can disentangle it! Thanks! |
No Problem @jywarren sir , I understand that you have lot of work to do and finding time for all such things is very hard. |
sorry sir if i have confused you . i was talking about the PR #1187 , i thought after completing the test i have to add the commit in this PR . so thats why i asked "how will i add a commit to someone else PR with appropriate authority". |
BTW i will try this again with some different approach |
Hi, sorry, i may still misunderstand, but if you can add the test in its own PR that's fine - in theory your own solution should fulfill it, right? Merging @aashna27's code would be great, but we don't want 2 different systems, and your seems fine -- do you see an added benefit of also merging @aashna27's code? I'm sorry I didn't catch that the two PRs overlapped. We were holding @aashna27's code until we had the right testing infrastructure, and I feel bad that we are considering not merging it now. That's on me - apologies to @aashna27 and yourself for the mixup and I appreciate both your work and time, both of you! |
#1187 introduced a nice new tool for selecting pixel coordinates by clicking the main image. However, we need a UI test to protect this, and I'd like to ensure we also have:
We'd love help with this, building on top of the commits in #1187 so that we can incorporate that excellent addition as well! Thanks!
The text was updated successfully, but these errors were encountered: