Skip to content

Testing instructions for critical flows

QAharshalkadu edited this page Mar 14, 2024 · 3 revisions

Installation and Activation

Test steps:

  1. Install and activate the ElasticPress Labs plugin

Expected Result:

The plugin should activate without errors, and the ElasticPress Labs features should be integrated into the ElasticPress interface


ElasticPress Feature API Integration

Test steps:

  1. Verify that the features added through the ElasticPress Labs plugin are immediately available in the ElasticPress interface

Expected Result:

Features added by ElasticPress Labs should be accessible through the ElasticPress interface as intended


Enable Boolean Search Operators

Test steps:

  1. Enable the setting for boolean search operators in search queries

Expected Result:

Boolean search operators (e.g., AND, OR) should be allowed and functional in search queries


Disable Boolean Search Operators

Test steps:

  1. Disable the setting for boolean search operators in search queries

Expected Result:

Boolean search operators should be disabled, and standard search behavior should be restored


Enable Co-Authors Plus Plugin Support

Test steps:

  1. Enable the setting to add support for the Co-Authors Plus plugin

Expected Result:

The Co-Authors Plus plugin should be supported, and its features should integrate seamlessly with ElasticPress


Disable Co-Authors Plus Plugin Support

Test steps:

  1. Disable the setting for Co-Authors Plus plugin support

Expected Result:

Co-Authors Plus plugin support should be disabled, and ElasticPress should revert to the default behavior


Include Meta Key Patterns

Test steps:

  1. Add meta key patterns to include in search queries

Expected Result:

Co-Authors Plus plugin support should be disabled, and ElasticPress should revert to the default behavior


Exclude Meta Key Patterns

Test steps:

  1. Add meta key patterns to exclude from search queries

Expected Result:

Search queries should exclude data associated with the specified excluded meta key patterns


Change Search Algorithm to Default

Test steps:

  1. Change the version of the search algorithm to the default

Expected Result:

The search algorithm version should switch to the default setting


Change the Search Algorithm to 3.5

Test steps:

  1. Change the version of the search algorithm to 3.5

Expected Result:

The search algorithm version should switch to version 3.5


Change Search Algorithm to 4.0

Test steps:

  1. Change the version of the search algorithm to 4.0

Expected Result:

The search algorithm version should switch to version 4.0


Enable-Feature

Test steps:

  1. Enable a specific feature using the ElasticPress Labs interface

Expected Result:

The selected feature should be enabled, and its functionality should be applied


Disable Feature

Test steps:

  1. Disable a specific feature using the ElasticPress Labs interface

Expected Result:

The selected feature should be disabled, and its functionality should be removed


Compatibility Check

Test steps:

  1. Verify compatibility with the latest version of ElasticPress

Expected Result:

ElasticPress Labs should be compatible with the latest ElasticPress version, and no compatibility issues should arise


Error Handling

Test steps:

  1. Introduce a misconfiguration or intentionally create an error in one of the ElasticPress Labs settings

Expected Result:

The plugin should handle errors gracefully, providing meaningful error messages or logs