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

Run tests on a local Activity project #9

Open
TAnas0 opened this issue Apr 21, 2020 · 2 comments
Open

Run tests on a local Activity project #9

TAnas0 opened this issue Apr 21, 2020 · 2 comments
Assignees
Labels
5 Complex task enhancement New feature or request requires research Further information is requested

Comments

@TAnas0
Copy link
Contributor

TAnas0 commented Apr 21, 2020

This came to my attention when I wanted to run this test suite on recent changes as part of reviewing a merge request into Activity.

I have faced some issues in doing so, and thought it would be a substantial plus to be able to run the integration tests, by pointing to http://localhost:8000 instead of the deployed version.

Acceptance Criteria

GIVEN I am an Activity developer

AND I wish to run these tests on new changes I made to Activity (not even pushed yet for example)

THEN I expect this test suite to run just like it would if my changes were deployed.

Additional context

First issue I faced is that emails are not sent. Will configuring an SMTP server (in docker for example) resolve this?

@sannleen

@TAnas0 TAnas0 added 5 Complex task enhancement New feature or request requires research Further information is requested labels Apr 21, 2020
@amosnjoroge
Copy link
Collaborator

amosnjoroge commented Apr 22, 2020

I tried setting gmail as my smtp server but it seem the email is being triggered but I did not receive it.
image

@odenypeter @Kimaiyo077 we would love you assistance in setting up smtp locally so that the tests can also be run locally.

@TAnas0
Copy link
Contributor Author

TAnas0 commented May 5, 2020

I think we can setup an "SMTP Sink Server": https://djangosnippets.org/snippets/96/

As long as we can read that file using Cypress, or save it elsewhere where Cypress can fetch it, we can get the verification links @sannleen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 Complex task enhancement New feature or request requires research Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants