Skip to content

test: add BlogPage class and tests#5067

Open
anushkaaaaaaaa wants to merge 1 commit intoasyncapi:masterfrom
anushkaaaaaaaa:blog-page-tests
Open

test: add BlogPage class and tests#5067
anushkaaaaaaaa wants to merge 1 commit intoasyncapi:masterfrom
anushkaaaaaaaa:blog-page-tests

Conversation

@anushkaaaaaaaa
Copy link
Copy Markdown
Contributor

@anushkaaaaaaaa anushkaaaaaaaa commented Feb 2, 2026

Description

  • i have added e2e tests in cypress for the blog page.

Related issue(s)

Summary by CodeRabbit

Release Notes

  • Tests
    • Added comprehensive end-to-end test suite for the blog page. Tests cover header and navigation verification, link validation, filtering by type/author/tag, filter management (apply and clear), post navigation and detail page scenarios, and post visibility verification across different filter states.

Signed-off-by: Anushka Sharan <anushkasharan05@gmail.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 2, 2026

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 3393827
🔍 Latest deploy log https://app.netlify.com/projects/asyncapi-website/deploys/698094116dbf1d000850eafa
😎 Deploy Preview https://deploy-preview-5067--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 2, 2026

📝 Walkthrough

Walkthrough

Adds comprehensive end-to-end test coverage for blog page functionality, including a page object with methods for navigation, header verification, filtering by type/author/tag, post interactions, and detail page validation.

Changes

Cohort / File(s) Summary
Blog Page Test Suite
cypress/blogpage.cy.js, cypress/pages/BlogPage.js
Introduces new test suite and page object for blog page functionality, including navigation, header verification, post filtering (type/author/tag), post selection, and detail page load verification.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 Whiskers twitching with joy so bright,
New tests for blogs, oh what a sight!
Filters and posts now verified well,
Page objects help our stories tell! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: adding a BlogPage class and comprehensive test suite for blog page functionality.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • 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

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (229d0b9) to head (3393827).
⚠️ Report is 86 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #5067   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines          796       796           
  Branches       146       146           
=========================================
  Hits           796       796           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@asyncapi-bot
Copy link
Copy Markdown
Contributor

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 36
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-5067--asyncapi-website.netlify.app/

@anshgoyalevil anshgoyalevil added the gsoc This label should be used for issues or discussions related to ideas for Google Summer of Code label Mar 20, 2026
@animeshk923
Copy link
Copy Markdown
Contributor

animeshk923 commented Mar 28, 2026

any updates? @anushkaaaaaaaa
@princerajpoot20 ptal if it's ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gsoc This label should be used for issues or discussions related to ideas for Google Summer of Code

Projects

Status: To Be Triaged

Development

Successfully merging this pull request may close these issues.

4 participants