Skip to content

Test: Implement E2E: Driver Job Marketplace Filtering and Bidding - #549

Merged
johdanike merged 2 commits into
SwiftChainn:mainfrom
Ikechukwu-Patrick:test-driver-bidding
Sep 1, 2026
Merged

Test: Implement E2E: Driver Job Marketplace Filtering and Bidding#549
johdanike merged 2 commits into
SwiftChainn:mainfrom
Ikechukwu-Patrick:test-driver-bidding

Conversation

@Ikechukwu-Patrick

Copy link
Copy Markdown
Contributor

Closes #484

Summary
This PR implements automated E2E tests for the driver marketplace, ensuring that job filtering inputs execute correctly and the bid submission lifecycle handles both success and failure mutations securely.

Changes Proposed

  • Created cypress/e2e/driver-marketplace.cy.ts.
  • Mocked authentication boundaries via localStorage alongside external API routes /api/jobs and /api/jobs/*/bid to eliminate test flakiness.
  • Written assertions covering the happy path where a driver successfully applies Cargo and Location filters, interacting with the subset of jobs.
  • Asserted the full bid submission flow, checking payload interception and success modal teardown.
  • Implemented edge case tests verifying local client-side validation (empty inputs) and server-side rejection parsing.

@drips-wave

drips-wave Bot commented Sep 1, 2026

Copy link
Copy Markdown

@Ikechukwu-Patrick Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@johdanike
johdanike merged commit 8173167 into SwiftChainn:main Sep 1, 2026
0 of 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.

[Test] E2E: Driver Job Marketplace Filtering and Bidding

2 participants