These tests include two positive and two negative test cases:
The email is sent to recipient without/with picture attached, the size of the picture exceeds 35mb, to incorrect email.
To run tests you have to:
-
Activate Less secure app access = ON in your account
-
The interface of your gmail account should be in English
-
Run docker image with the preferable name docker build -t your_image_name .
-
Add the image name, login and password from your gmail account in docker-compose.yml (image, EMAIL_ADDRESS, EMAIL_PASS)
-
Run tests by script: docker-compose up
-
To see the report, implement the following script: allure serve ./allure_report