Skip to content

split tests into Gmail tests and IMAP tests #425

@tomholub

Description

@tomholub

I was able to run the imap server on a dedicated external ubuntu machine.

The goal of this issue has changed somewhat. Now that we have an external SMTP/IMAP running elsewhere, the app only needs to connect to it (during local dev cycle or during CI) to run tests.

  1. add this to /etc/hosts
# flowcrypt-ios SMTP/IMAP server for CI
217.163.30.119 mail
  1. try that you can connect cd docker-mailserver/ && ./check_email_server.sh

  2. add IMAP user credentials to secrets file

  3. separate tests in to Gmail tests and IMAP tests. IMAP tests will connect to mail:10025 and mail:10143 (non-TLS) SMTP/IMAP server during setup, and log in with one of the accounts from the secrets file, during tests

Originally posted by @tomholub in #307 (comment)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions