mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 22:56:48 +00:00
feat(GODT-2710): Send config success on IMAP/SMTP connection..
This commit is contained in:
28
tests/features/bridge/config_status.feature
Normal file
28
tests/features/bridge/config_status.feature
Normal file
@ -0,0 +1,28 @@
|
||||
Feature: Configuration Status Telemetry
|
||||
Background:
|
||||
Given there exists an account with username "[user:user]" and password "password"
|
||||
Then it succeeds
|
||||
When bridge starts
|
||||
Then it succeeds
|
||||
|
||||
Scenario: Init config status on user addition
|
||||
Then bridge telemetry feature is enabled
|
||||
When the user logs in with username "[user:user]" and password "password"
|
||||
Then config status file exist for user "[user:user]"
|
||||
And config status is pending for user "[user:user]"
|
||||
|
||||
Scenario: Config Status Success on IMAP
|
||||
Then bridge telemetry feature is enabled
|
||||
When the user logs in with username "[user:user]" and password "password"
|
||||
Then config status file exist for user "[user:user]"
|
||||
And config status is pending for user "[user:user]"
|
||||
When user "[user:user]" connects and authenticates IMAP client "1"
|
||||
Then config status succeed for user "[user:user]"
|
||||
|
||||
Scenario: Config Status Success on SMTP
|
||||
Then bridge telemetry feature is enabled
|
||||
When the user logs in with username "[user:user]" and password "password"
|
||||
Then config status file exist for user "[user:user]"
|
||||
And config status is pending for user "[user:user]"
|
||||
When user "[user:user]" connects and authenticates SMTP client "1"
|
||||
Then config status succeed for user "[user:user]"
|
||||
Reference in New Issue
Block a user