__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@tool @tool_messageinbound
Feature: Incoming mail configuration
In order to receive email from external
As a Moodle administrator
I need to set mail configuration
Background:
Given I log in as "admin"
Scenario: Incoming mail server settings without OAuth 2 service setup yet
Given I navigate to "Server > Email > Incoming mail configuration" in site administration
And "OAuth 2 service" "select" should not exist
Scenario: Incoming mail server settings with OAuth 2 service setup
Given I navigate to "Server > OAuth 2 services" in site administration
And I press "Google"
And I should see "Create new service: Google"
And I set the following fields to these values:
| Name | Testing service |
| Client ID | thisistheclientid |
| Client secret | supersecret |
And I press "Save changes"
When I navigate to "Server > Email > Incoming mail configuration" in site administration
Then "OAuth 2 service" "select" should exist
And I should see "Testing service" in the "OAuth 2 service" "select"
@javascript
Scenario: Check character limitations of mailbox name
When I navigate to "Server > Email > Incoming mail configuration" in site administration
And I set the field "Mailbox name" to "frogfrogfrogfrog"
Then I should see "Maximum of 15 characters"
And the "disabled" attribute of "form#adminsettings button[type='submit']" "css_element" should contain "true"
And I set the field "Mailbox name" to "frogfrogfrogfro"
And I should not see "Maximum of 15 characters"
And the "disabled" attribute of "form#adminsettings button[type='submit']" "css_element" should not be set
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| incoming_mail.feature | File | 1.66 KB | 0777 |
|