Skip to content

Conversation

Rubaiyat-E-Mohammad
Copy link
Contributor

@Rubaiyat-E-Mohammad Rubaiyat-E-Mohammad commented Aug 14, 2025

Description: implemented new 17 test scenarios regarding

  1. Dokan vendor registration form
  2. WC vendor registration form
  3. WCFM vendor registration form
  4. Updated .yml file
  5. Updated feature mapping
  6. new changes according to latest release

Summary by CodeRabbit

  • Tests
    • Expanded end-to-end coverage for registration forms across multiple vendor workflows (Dokan, WC Vendors, WCFM), including form field additions, multi-step flows, admin validations, and email verification checks.
    • Added comprehensive vendor test data and selectors; selectively skipped unstable scenarios to stabilize runs.
  • Chores
    • Increased test timeout and reset wait to improve reliability.
    • Adjusted login page selection behavior for setup stability.

Copy link

coderabbitai bot commented Aug 14, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Introduces comprehensive vendor registration E2E coverage (Dokan, WC Vendors, WCFM): new test cases, selectors, page-object methods, and test data. Adds vendor URLs to Base, updates settings behavior/timeouts, expands feature map, and skips a subset of settings tests. Incorporates REST-based page creation and email verification flows.

Changes

Cohort / File(s) Summary
Feature map updates
tests/e2e/features-map/features-map.yml
Renamed RF0002–RF0003; added RF0004–RF0023 covering registration, vendor workflows (Dokan/WC Vendors/WCFM), validations, shortcode page creation, and email activation.
Base URLs for vendor pages
tests/e2e/pages/base.ts
Added five readonly URL properties for Dokan/WC Vendors/WCFM registration and admin vendor pages.
Vendor E2E expansion: logic & data
tests/e2e/pages/regForm.ts, tests/e2e/pages/selectors.ts, tests/e2e/tests/regFormTestPro.spec.ts, tests/e2e/utils/testData.ts
Added multi-vendor creation/validation methods, email verification, REST page creation; introduced extensive selectors for form editor, vendor forms, and WP Mail Log; expanded tests RF0002–RF0023; added VendorRegistrationForm data and profile fields; removed rfPassword.
Settings and runtime adjustments
tests/e2e/pages/settingsSetup.ts, tests/e2e/playwright.config.ts
Changed login page selection to select by index; increased reset wait to 30s; raised test timeout to 120s.
Skipped settings tests
tests/e2e/tests/regFormSettingsTestPro.spec.ts
Marked RFS0038–RFS0047 as skipped without changing logic.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Poem

A whisker twitch, a vendor’s cheer,
I hop through forms far and near.
Dokan doors and WC lanes,
WCFM’s multi-step trains.
Emails ping—activation bright!
Shortcodes bloom in moonlit night.
Carrot stamped: all tests in flight. 🥕✨

Tip

🔌 Remote MCP (Model Context Protocol) integration is now available!

Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats.


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 9e31317 and a0d109e.

⛔ Files ignored due to path filters (4)
  • tests/e2e/uploadeditems/avatar.png is excluded by !**/*.png
  • tests/e2e/uploadeditems/profile_photo.jpg is excluded by !**/*.jpg
  • tests/e2e/uploadeditems/store_banner.png is excluded by !**/*.png
  • tests/e2e/uploadeditems/store_logo.png is excluded by !**/*.png
📒 Files selected for processing (9)
  • tests/e2e/features-map/features-map.yml (1 hunks)
  • tests/e2e/pages/base.ts (1 hunks)
  • tests/e2e/pages/regForm.ts (7 hunks)
  • tests/e2e/pages/selectors.ts (3 hunks)
  • tests/e2e/pages/settingsSetup.ts (2 hunks)
  • tests/e2e/playwright.config.ts (1 hunks)
  • tests/e2e/tests/regFormSettingsTestPro.spec.ts (1 hunks)
  • tests/e2e/tests/regFormTestPro.spec.ts (5 hunks)
  • tests/e2e/utils/testData.ts (3 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@sapayth sapayth merged commit df18488 into weDevsOfficial:develop Aug 14, 2025
2 checks passed
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