Skip to content
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

Integration Tests for Spam Away #4321

Closed
SidharthBansal opened this issue Dec 16, 2018 · 17 comments · Fixed by #7276
Closed

Integration Tests for Spam Away #4321

SidharthBansal opened this issue Dec 16, 2018 · 17 comments · Fixed by #7276
Labels
add-code-links help wanted requires help by anyone willing to contribute testing issues are usually for adding unit tests, integration tests or any other tests for a feature

Comments

@SidharthBansal
Copy link
Member

I think we should have a test for this sequence with realistic parameters for spamaway, as it made me uncomfortable that it errored but the tests passed.

see #4209 (comment) and #4209 (comment) for reference.

We need some tests to ensure that the spam away works fine on the localhost.
Let's build it @jywarren.
Refer #4209.

@SidharthBansal SidharthBansal added this to the OAuth milestone Dec 16, 2018
@SidharthBansal SidharthBansal mentioned this issue Dec 16, 2018
20 tasks
@grvsachdeva grvsachdeva added testing issues are usually for adding unit tests, integration tests or any other tests for a feature help wanted requires help by anyone willing to contribute add-code-links labels Dec 16, 2018
@SidharthBansal
Copy link
Member Author

Refer #3990 for the implemented work.
Spam away is only for the development mode as the reCatcha does not work on the locahost.

@grvsachdeva
Copy link
Member

User has option to switch to spamaway in production too?

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Dec 16, 2018

No,Jeff created Spam Away just for the development, I guess.
ReCatcha does not work at the development mode.

@grvsachdeva
Copy link
Member

Yes, I am aware that recaptcha doesn't work in development and also not on unstable.

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Dec 16, 2018 via email

@grvsachdeva
Copy link
Member

Hey @SidharthBansal it wasn't working before on unstable but I just tested signup via modal on unstable and identify the items check is coming. So working!

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Dec 16, 2018 via email

@SidharthBansal
Copy link
Member Author

@VladimirMikulic @Uzay-G any of you guys want to add tests quickly here?

@SidharthBansal SidharthBansal removed gsoc rgsoc Rails Girls Summer of Code labels Jan 17, 2020
@SidharthBansal
Copy link
Member Author

Although it is integration test, we can mark them under system test task as integration tests also have similar complexity as the system tests. Who is aiming to solve this? May be someone else apart from you two

@SidharthBansal SidharthBansal added this to the Login/SignUp & OAuth milestone Jan 17, 2020
@sssash18
Copy link
Contributor

@SidharthBansal I would like to add the test for the case when spamaway text area is not blank.Could I proceed with this?

@VladimirMikulic
Copy link
Contributor

@sssash18 go on :)

@sssash18 sssash18 mentioned this issue Jan 17, 2020
5 tasks
@sssash18
Copy link
Contributor

@SidharthBansal @VladimirMikulic @Uzay-G Kindly review the added test

@sssash18
Copy link
Contributor

@SidharthBansal @VladimirMikulic @Uzay-G Are thier any other tests that I can help in adding?

@VladimirMikulic
Copy link
Contributor

@sssash18 thank you for the interest, right now we are focusing on system tests. We could use some help :)

@sssash18
Copy link
Contributor

@VladimirMikulic Let me know how I can help

@VladimirMikulic
Copy link
Contributor

Let's first resolve the Travis, shall we? 😄

@SidharthBansal
Copy link
Member Author

SidharthBansal commented Jan 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-code-links help wanted requires help by anyone willing to contribute testing issues are usually for adding unit tests, integration tests or any other tests for a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants