-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Sign up form validation test #8468
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8468 +/- ##
==========================================
+ Coverage 80.06% 81.90% +1.84%
==========================================
Files 101 101
Lines 5919 5898 -21
==========================================
+ Hits 4739 4831 +92
+ Misses 1180 1067 -113
|
Just a tiny rewording to clarify the test! |
I'm adding a test in this for a duplicate username as well. |
#8469 is failing. Have we made the corresponding changes in the code? For the user not to register if the spam test is not passed? I checked and they fail locally too. Should I open a PR to revert it? |
Hmm whoaaaa. Such inconsistency!
Um, i'm working on getting #8467 finished, so why don't we just note that that should solve the problem and then rebase this... and then address the inconsistency later. All of this can happen later though! Perhaps we should add something after https://github.com/publiclab/plots2/pull/8469/files#diff-e0e966662d6f0b4c06e82346b2605588R18 to ensure that it completes -- the clicking of the signup button doesn't necessarily confirm that the subsequent page has loaded. For reference, adding a css-based assertion after a click event can help to confirm that the page has indeed reloaded fully: plots2/test/system/comment_test.rb Lines 103 to 110 in eab9696
|
Could we add such a css selector to the end of the system test, in this PR, to both system tests, to try to resolve both? |
Yeah sure. If it's not urgent can I get back to it tomorrow? I have a class to attend in 4 hours 😅 |
Oh my gosh Shreya, please go to sleep!!! Go!!! Really it's so important! ❤️ |
Forgive me, i know i said so but since you wanted to keep going i kept replying. Let's resume this another time! Many thanks! |
No worries. I felt responsible for my code. Adios! |
It'll be here when you come back 😄 thanks again! |
OK -- #8467 is merged! Let's rebase this over to see. |
Done here! Thank you!!!! |
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
* Sign up form validation test * Update test/system/signup_form_test.rb * Update test/system/signup_form_test.rb * Add duplicate username test Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
Signup form validation test
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!