Skip to content

Add E2E tests for Usage API.#1066

Draft
rahulsprajapati wants to merge 1 commit intodevelopfrom
feature/api-usage-e2e
Draft

Add E2E tests for Usage API.#1066
rahulsprajapati wants to merge 1 commit intodevelopfrom
feature/api-usage-e2e

Conversation

@rahulsprajapati
Copy link
Copy Markdown
Contributor

@rahulsprajapati rahulsprajapati commented Mar 20, 2026

Description of the Change

E2E Tests for PR #1060

TODO Tests:

  • "Usage Tracking" Feature UI exists and verify admin user role is selected by default.
  • Verify "AI Usage Tracking" settings exists within "Usage Tracking" nav menu.
  • Can save "AI Usage Tracking" settings
  • Verify we can see Dashboard Widget in default stats.
  • Run cron job and verify usage data updated from mock data.
  • Verify widget data shows correct data, from mock data.
  • Verify force refresh button works.
  • Enable soft/hard limit and confirm notice.
  • Verify tts feature can't be used when hard limit reached.

TODO Docs:

Closes #

How to test the Change

Changelog Entry

Added - Add E2E test cases for Usage Tracking Feature

Credits

Props @rahulsprajapati , ...

Checklist:

@github-actions github-actions bot added this to the 3.8.0 milestone Mar 20, 2026
@github-actions
Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

@dkotter dkotter modified the milestones: 3.8.0, 3.9.0 Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants