-
Notifications
You must be signed in to change notification settings - Fork 0
Testing instructions for critical flows Mailchimp
The plugin should be installed and activated without any error or trouble.
Test Steps
- Download the Plugin zip from Github
- Install the plugin zip in the Plugin Uploader screen of the store
Expected Result The plugin should be installed without any error
Pre-requisites
Create an account in Mailchimp
Test Steps
- Go to the Mailchimp extension menu.
- Click on the Login button.
- A new popup window will open.
- Enter your valid Mailchimp credentials.
- Authorize the Mailchimp List Subscribe Form.
- The popup will close automatically and redirect back to the site.
- On the right-hand side, verify that the logged-in email ID and a Logout button are displayed.
Expected Result:
- The WordPress site should establish a successful connection with Mailchimp upon entering the correct credentials.
- A Logout button should also be visible next to the logged-in email.
- The Mailchimp form lists should appear in the dropdown menu for selection.
Video
login_flow.mov
Test Steps
- Navigate to the website and click "Create an Account."
- Enter profile and business details, then click "Activate Account."
- Check the email inbox and confirm the account by clicking "Confirm Mail."
- Set a password and return to the login page.
- Log in with your email and password.
- Select a Mailchimp plan after logging in.
- Return to the website and verify automatic login.
- Check the subscription list dropdown and select a list from the available options.
Expected Results
- The account creation form should be displayed with all fields visible and functional.
- A confirmation email should be sent immediately after clicking "Activate Account."
- The email confirmation should successfully activate the account.
- Password setup should be successful, and the user should be redirected to the login page.
- The user should be able to log in with the email and password without errors.
- The user should be prompted to select a Mailchimp plan and proceed without issues.
- After logging in, the subscription list dropdown should display all available Mailchimp lists.
- The user should be able to select a list from the dropdown without issues.
Video_Registraion flow
Registraion_flow.mov
Test steps:
- Goto Wp-admin dashboard
- Settings > Mailchimp setup
- Navigate to Your Lists
- Select and Update Mailchimp List:
- Choose the Mailchimp list that you want to connect to your form from the available options.
Expected Result:
- Verify that the dropdown or selection menu displays all available Mailchimp lists associated with your Mailchimp account.
- Verify that all settings remain hidden until a list is selected and saved from the dropdown.
- Verify on the front end that no form is visible until a list is selected and saved from the dropdown in the settings.
- Select any list from the dropdown and save the settings.
- Verify that the form on the front end appears and functions without any issues.
Screenshot
login.no.list.selected.mov
Test Steps:
- Navigate to WordPress Admin Dashboard.
- Click on Posts or Pages from the left-hand menu.
- Click on Add New to create a new post or page.
- Click on the + icon to add a new block.
- In the Shortcode block, enter the following shortcode:
[mailchimpsf_form]
. - Publish post/page
- View Published Post/Page
Expected Result:
- The signup form rendered by the [mailchimpsf_form] shortcode should display correctly on the published post or page.
- The form fields (such as email, name, etc.) should be visibly laid out as configured in the Mailchimp settings.
- Submitting valid data into the form (such as a valid email address) should successfully add the subscriber to the configured Mailchimp audience or list.
- Error handling: If invalid data is entered or submission fails, appropriate error messages should be displayed as configured in the plugin.
Screenshot
Pre-requisites
- Install and activate Twenty Twenty-One theme
Test Steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to the Appearance menu > Widgets
- Click on + button
- Seach "Mailchimp" widget
- Add Mailchimp widget
Expected Result:
- The Mailchimp widget should be successfully added to the chosen widget area.
- The signup form should display correctly on the website frontend.
- Users should be able to subscribe to the mailing list by entering their details and clicking on the subscribe button.
Screenshot
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to Content options
- Enter text in "Header", "Sub-Header", "Submit button" like
- Header: "Subscribe to our Newsletter"
- Sub-Header: "Stay updated with our latest news and offers!"
- Submit button: "Subscribe Now"
- Click on "Update subscription form setting"
Expected Result:
- The text entered in the "Header", "Sub-Header", and "Submit Button" fields should be saved successfully without any error messages.
- When viewing the Mailchimp subscription form on the frontend of the WordPress site (e.g., using a shortcode or widget), the updated text should be displayed as configured.
Screenshot
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to Remove Mailchimp CSS
- Checkmark the option to remove Mailchimp CSS styles from the subscription form.
- Click on update subscribe form settings
Expected Result:
- Upon checking the "Remove Mailchimp CSS" option and updating the settings, all Mailchimp-provided CSS styles should be disabled or removed from the subscription form.
- Verify that the subscription form now uses default styles provided by your WordPress theme or any custom styles applied separately.
Screenshot
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to Custom styling
- Checkmark the option to enable the custom styling
- Save the setting
Expected Result:
- Able to customize various aspects of the Mailchimp subscription form, such as border styles (width, color), background colors, and text color.
- Verify that changes made to these styling options are applied consistently across all the Mailchimp subscription forms.
- Custom styling should not interfere with the functionality of the subscription form.
- If there are any predefined default styles from Mailchimp, they should be overridden by the custom styles set through this setting.
Video
Custom_styling.mov
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to List Options > Use JavaScript Support?
- Checkmark the option to enable/disable
- Click on "Update subscribe form setting"
Expected Result:
- Ensure that JavaScript degrades for users who do not have JavaScript enabled, allowing them to still submit the form using standard HTML form submission methods.
- Verify that form submission and validation behaviors are consistent across different browsers and devices.
Regardless of whether JavaScript support is enabled or disabled, ensure that:
- The subscription form continues to collect and process user input correctly.
- Error handling mechanisms are in place to notify users of any submission issues.
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to List Options > Use JavaScript Datepicker?
- Checkmark the option to enable or disable
- Click on "Update subscribe form setting"
Expected Result:
-
If Enabled Datepicker The plugin should utilize a JavaScript-based Datepicker UI component for date input fields within the subscription form.
-
If Disable Datepicker
- JavaScript Datepicker functionality should be turned off.
- Date input fields within the subscription form should revert to standard HTML date input controls.
- The form should accept and process birthdate inputs where the month and day fall within the valid ranges (01-12 for month, 01-31 for day).
Video
Date_picker.mov
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to List Options > Use Double Opt-In (Recommended)?
- Checkmark the option to enable or disable
- Click on "Update subscribe form setting"
Expected Result:
If Enabled (Double Opt-In is Recommended):
- New subscribers added through the Mailchimp integration plugin will receive an email requesting them to confirm their email address before they are officially added to the subscriber list.
- Verify that the confirmation email is sent promptly after a user subscribes.
- Upon clicking the confirmation link in the email, the subscriber's email address should be confirmed and added to the Mailchimp audience or list.
If Disabled:
- Subscribers added via the plugin will be directly added to the Mailchimp audience or list without requiring confirmation of their email address.
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to List Options > Update existing subscribers?
- Checkmark the option to enable or disable
- Click on "Update subscribe form setting"
Expected Result: If Enabled:
- Existing subscriber records in the Mailchimp audience or list should be updated with the new information.
- Verify that existing subscriber data is updated accurately without creating duplicate records.
If Disabled:
- New data submitted via the plugin should not update existing subscriber records in the Mailchimp audience or list.
Test steps:
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to List Options > Include Unsubscribe link?
- Checkmark the option to enable or disable
- Click on "Update subscribe form setting"
- Goto front side and click on "unsubscribe from list"
- After clicking the unsubscribe link, you should be redirected to a confirmation page or a Mailchimp-hosted page where you can confirm your email address to unsubscribe request.
- On the unsubscribe confirmation page, enter the email address you wish to unsubscribe from the list.
- Click on the "Unsubscribe" button or similar action to confirm your decision to unsubscribe.
Expected Result:
If Enabled:
- Emails sent through Mailchimp should include an unsubscribe link that allows recipients to easily opt-out from future communications.
- After entering the email address and clicking "Unsubscribe," Mailchimp should process the request and confirm the successful unsubscribe action.
- Upon searching for the email address in the Mailchimp audience or list, the status should reflect as "Unsubscribed".
If Disabled:
- The "unsubscribe from list" link should disappear.
Video
Unsubscribe.mov
- Navigate to WordPress Admin Dashboard.
- Navigate to Settings> Mailchimp setup
- Navigate to Merge Fields Included
- Review the available merge fields such as address, birthdate, firstname, lastname, and phone number.
- For each merge field, locate the "Include?" checkbox or toggle that allows enabling or disabling the visibility of these fields in the subscription form on the frontend.
- Checkmark or toggle the "Include?" option for each merge field as needed to enable them for display in the subscription form.
Expected Result:
-
Each merge field (address, birthdate, firstname, lastname, phone number) should have an "Include?" option that allows enabling or disabling its visibility in the subscription form.
-
Confirm that only the merge fields marked as "Included" are visible and accessible for users to fill out during the subscription process.
Video
Merge.Fields.Included.mov
Test Steps:
- Log in with the first Mailchimp account.
- Navigate to the Mailchimp settings page.
- Save the settings (including selecting a list).
- Log out of the account.
- Log in again with the same account.
- Verify that the previously saved settings and the selected list are still displayed as they were.
- Log out again.
- Log in with a different Mailchimp account.
- Check that the list is not selected in the Mailchimp settings.
- Verify that the signup form on the front end does not render until the list is selected and saved in the settings for this account.
Expected Result:
- Settings and list selection remain persistent between logging out and logging back in with the same account.
- The signup form is not displayed on the front end unless a list is selected and saved in the settings.