Unit/System Tests PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
28 Jun 2026

Added tests for handling invalid payloads, pagination and category relationship.

Pull Request resolves # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

added test for:

  • pagination
  • error handling for malformed payload
  • category relationship

Testing Instructions

run npx cypress run --spec tests/System/integration/api/com_content/Articles.cy.js

Actual result BEFORE applying this Pull Request

some tests

Expected result AFTER applying this Pull Request

more tests

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 28 Jun 2026
avatar alikon alikon - change - 28 Jun 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 28 Jun 2026
Category ⇒ JavaScript Unit Tests
avatar alikon alikon - change - 28 Jun 2026
The description was changed
avatar alikon alikon - edited - 28 Jun 2026
avatar alikon alikon - change - 28 Jun 2026
The description was changed
avatar alikon alikon - edited - 28 Jun 2026
avatar alikon alikon - change - 28 Jun 2026
Labels Added: Unit/System Tests PR-5.4-dev
avatar alikon alikon - change - 28 Jun 2026
Title
…
[5.4]Enhance article API tests for error handling and pagination
[5.4]Enhance article API tests for error handling, pagination and category relationship
avatar alikon alikon - edited - 28 Jun 2026
avatar alikon alikon - change - 28 Jun 2026
The description was changed
avatar alikon alikon - edited - 28 Jun 2026
avatar richard67 richard67 - change - 28 Jun 2026
Title
…
[5.4]Enhance article API tests for error handling, pagination and category relationship
[5.4] Enhance article API tests for error handling, pagination and category relationship
avatar richard67 richard67 - edited - 28 Jun 2026
avatar muhme muhme - test_item - 5 Sep 2026 - Tested successfully
avatar muhme
muhme - comment - 5 Sep 2026

I have tested this item ✅ successfully on 87f2520

Testing with JBT and current 5.4-dev branch

  • Before PR tested with 5.4.5 installation
    • Running scripts/test 54 system api/com_content/Articles.cy.js
      • Seen 7 tests passing
  • Applied PR with Patch Tester
    • Seen 10 tests passed
    • Running second time again all 10 tests passed

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48031.
avatar muhme
muhme - comment - 5 Sep 2026

I have tested this item ✅ successfully on 87f2520

Testing with JBT and current 5.4-dev branch

  • Before PR tested with 5.4.5 installation
    • Running scripts/test 54 system api/com_content/Articles.cy.js
      • Seen 7 tests passing
  • Applied PR with Patch Tester
    • Seen 10 tests passed
    • Running second time again all 10 tests passed

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48031.
avatar muhme
muhme - comment - 5 Sep 2026

@laoneo May we ask you for review?

avatar laoneo
laoneo - comment - 5 Sep 2026

We don't use expect calls, when I'm not wrong (on mobile), which would break kind of the consistency.

avatar alikon
alikon - comment - 6 Sep 2026

we already use expect :

and more

avatar alikon alikon - change - 16 Oct 2026
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-10-16 08:11:37
Closed_By ⇒ alikon
avatar alikon alikon - close - 16 Oct 2026
avatar alikon
alikon - comment - 16 Oct 2026

moved to #48644

Add a Comment

Login with GitHub to post a comment