Skip to content

Add order_by default tests #229

@DenTray

Description

@DenTray

Description

What needs to be done?

Add a new data provider item to the existing search test stub. This item must include the field order_byset to id and the field desc set to true. The purpose is to test the sorting functionality by sorting in descending order based on the id field.

Expected Outcome

What is the expected result?

The search test data should include the new item with the specified fields, allowing the sorting functionality to be verified for descending order by id.

Verification Scenarios

How can this be tested?

  • Generate new entity with read API

  • Run the search test with the generate data provider.

  • Confirm that the sorting is applied by id in descending order.

  • Verify the new data provider item contains order_by: id and desc: true.

  • Ensure no debug information or errors appear in the console during the test.


Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions