Skip to content

Fixed publish event e2e test - #88

Merged
santosh-chamoli merged 1 commit into
adobe:masterfrom
santosh-chamoli:fix_publish_event_test
Aug 28, 2026
Merged

Fixed publish event e2e test#88
santosh-chamoli merged 1 commit into
adobe:masterfrom
santosh-chamoli:fix_publish_event_test

Conversation

@santosh-chamoli

@santosh-chamoli santosh-chamoli commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Description

Added specversion and datacontenttype in event payload published by test. specversion field is mandatory now and its absence leads to 400 error code while publishing events from test.
This change fixes the e2e test failure reported in #80

Related Issue

Fixes #80

Motivation and Context

How Has This Been Tested?

npm run e2e is green

Screenshots (if appropriate):

Types of changes

  • [ x] Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • [ x] I have signed the Adobe Open Source CLA.
  • [ x] My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • [x ] I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • [x ] All new and existing tests passed.

@codecov

codecov Bot commented Aug 27, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sandeep-paliwal

Copy link
Copy Markdown
Contributor

@santosh-chamoli can we add more detail in PR description so that its easy to understand the issue and what got fixed.

@santosh-chamoli

Copy link
Copy Markdown
Contributor Author

@santosh-chamoli can we add more detail in PR description so that its easy to understand the issue and what got fixed.

Thanks for the feedback, updated PR description.

@santosh-chamoli
santosh-chamoli merged commit 42c45b6 into adobe:master Aug 28, 2026
11 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.

bug: e2e publishEvent fails with 400 — missing CloudEvents specversion field

2 participants