Skip to content

Testing instructions for critical flows

QAharshalkadu edited this page Mar 6, 2024 · 2 revisions

Installation and Activation

Test steps:

  1. Install the Debug bar elasticpress Plugin from the WordPress repository.
  2. Activate the plugin.
  3. Verify that there are no activation errors or conflicts with other plugins.

Expected Result:

The plugin should be installed and activated without any errors. Verify that the Debug Bar displays ElasticPress-related information.


Basic Functionality

Test steps:

  1. Verify that the Debug Bar ElasticPress panel is visible on the front end of the website.

Expected Result:

The Debug Bar should be displayed with relevant ElasticPress information.


Indexing

Test steps:

  1. Trigger a manual reindexing process.

Expected Result:

Check that the manual reindexing process completes without errors. Verify that documents are indexed correctly.


Index Status

Test steps:

  1. Verify that the index status information is accurate

Expected Result:

Check if the index status displays the correct number of indexed documents, the last indexing time, and any relevant information.


Search Functionality

Test steps:

  1. Perform a search using the default WordPress search.

Expected Result:

The search results should include content indexed by ElasticPress. Ensure that ElasticPress is enhancing the default search functionality.


Query Debugging

Test steps:

  1. Enable query debugging and perform a search.

Expected Result:

Verify that the Debug Bar displays detailed information about the ElasticPress queries executed during the search.


Query Filtering

Test steps:

  1. Apply filters to search queries and check the results

Expected Result:

Confirm that the search results are filtered correctly based on the applied filters.


Compatibility

Test steps:

  1. Test compatibility with different versions of Elasticsearch.

Expected Result:

The plugin should work seamlessly with various versions of Elasticsearch, and there should be no compatibility issues.


Error Handling

Test steps:

  1. Introduce a misconfiguration or intentionally create an error in the Elasticsearch connection settings

Expected Result:

The plugin should handle errors gracefully and provide meaningful error messages or log information


Performance

Test steps:

  1. Measure the performance impact of the Debug Bar ElasticPress plugin on the website's load time

Expected Result:

The plugin should have minimal impact on the website's performance


Uninstallation

Test steps:

  1. Measure the performance impact of the Debug Bar ElasticPress plugin on the website's load time

Expected Result:

Deactivate and uninstall the Debug Bar ElasticPress plugin


Security

Test steps:

  1. Verify that the plugin does not expose sensitive information in the Debug Bar or logs

Expected Result:

No sensitive information should be visible to non-administrator users.