Kiwi TCMS V12.2 does not send email when test plan or test cases change

136 Views Asked by At

Kiwi TCMS V12.2 does not send email when test plan or test cases change.

I followed instructions in the documentation to configure SMTP for sending e-mails. Here is the local-settings.py file:

SERVER_EMAIL = DEFAULT_FROM_EMAIL = '[email protected]'
# additional Kiwi TCMS setting
EMAIL_SUBJECT_PREFIX = '[Kiwi-TCMS] '

# AWS SES HOST
EMAIL_HOST = '<removed>'
EMAIL_PORT = 25
EMAIL_HOST_USER = '<removed>'
EMAIL_HOST_PASSWORD = '<removed>'

# Enable TLS
EMAIL_USE_TLS = True

Here is the relevant part of docker-compose.yml file:

    web:
        container_name: kiwi_web
        depends_on:
            - db
        restart: always
        image: kiwitcms/kiwi:v12.2
#        image: kiwitcms/kiwi:latest
        ports:
            - 80:8080
            - 443:8443
        volumes:
            - uploads:/Kiwi/uploads:Z
            - ./local_settings.py:/venv/lib64/python3.9/site-packages/tcms/settings/local_settings.py

The test e-mail and e-mail for changing password both work OK. I receive the e-mails and I can actually follow the link and change the password.

However, when I change the test plan or a test case, making sure the e-mail notifications are turned on appropriately in both cases, I do not get any e-mails. I checked the SMTP server and there were no rejected nor bounced messages. There was also no received messages for that particular time. So, I suspect that simply messages are not sent for some reason.

Is there anything else I need to configure so that the messages would also be sent when test plan or test cases change?

1

There are 1 best solutions below

1
Alexander Todorov On

This turns out to be a mismatch in user expectations which will be made more clear in the UI. More context at: https://github.com/kiwitcms/Kiwi/issues/3212#issuecomment-1563483154