<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq" -->

---
title: End-to-End Testing for Spring Boot apps with Playwright...
description: A walkthrough demonstrates using GitHub Copilot in agent mode with a Playwright MCP extension inside Visual Studio Code to drive end-to-end browser tests...
canonical: https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: End-to-End Testing for Spring Boot apps with Playwright in VS Code | daily.dev
og:description: A walkthrough demonstrates using GitHub Copilot in agent mode with a Playwright MCP extension inside Visual Studio Code to drive end-to-end browser tests...
og:url: https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq
og:image: https://api.daily.dev/og/posts/rC26wVKqQ.png
og:image:alt: End-to-End Testing for Spring Boot apps with Playwright in VS Code
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# End-to-End Testing for Spring Boot apps with Playwright in VS Code

**[Visual Studio Code](https://daily.dev/sources/vscode)** · 4 min read · 2 upvotes · 0 comments

## Summary

A walkthrough demonstrates using GitHub Copilot in agent mode with a Playwright MCP extension inside Visual Studio Code to drive end-to-end browser tests against a Spring Boot to-do application. After installing the Java development kit, Java extension pack, Spring Boot extension pack, and Playwright MCP extension, the demo runs existing unit and integration tests, starts the Spring Boot app, then prompts Copilot to open the app, add a task, check it off, and delete it while verifying each step through real browser interaction. Copilot's tool call trace confirms each assertion, showing how AI-driven browser automation can complement traditional test suites to validate actual user-facing behavior.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=YGUwr6UhmUI>

## Questions this post answers

### How do I connect Playwright to GitHub Copilot for browser testing in VS Code?

Install the Playwright MCP extension from the VS Code extensions view, verify the publisher, and trust the server when prompted. Once running, open Copilot chat in agent mode and check the tools picker to confirm the Playwright tools are discovered and enabled. Copilot can then control a real browser through the model context protocol to click through a running app and verify each step.

_Developers wiring AI agents into browser testing workflows can compare setups like this on daily.dev._

### Can GitHub Copilot test a Spring Boot app's UI in an actual browser, not just run unit tests?

Yes, by pairing Copilot's agent mode with a Playwright MCP server, it can open a running Spring Boot app in a real browser and perform actions like adding a to-do, checking a box, and deleting a row, then verify each resulting state. This complements existing unit and integration tests, which confirm the service layer but do not click through the page like a user would.

_Teams weighing AI-driven UI checks against traditional test suites can track these approaches on daily.dev._

## Similar posts on daily.dev

- [How to Run End-to-End Tests with Claude Code](https://daily.dev/posts/how-to-run-end-to-end-tests-with-claude-code-3dnmidy3n) · Towards Data Science · 1 upvotes · 0 comments

---

Tags: [#testing](https://daily.dev/tags/testing), [#github](https://daily.dev/tags/github), [#mcp](https://daily.dev/tags/mcp), [#spring-boot](https://daily.dev/tags/spring-boot)

[View this post on daily.dev](https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"End-to-End Testing for Spring Boot apps with Playwright in VS Code","url":"https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq"},"datePublished":"2026-08-18T14:00:46.374Z","dateModified":"2026-09-14T08:45:28.493Z","description":"A walkthrough demonstrates using GitHub Copilot in agent mode with a Playwright MCP extension inside Visual Studio Code to drive end-to-end browser tests...","image":"https://i.ytimg.com/vi/YGUwr6UhmUI/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/YGUwr6UhmUI/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Visual Studio Code","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Visual Studio Code","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/d5adab6ae9fb44d19859748fc30f5e18","url":"https://daily.dev/sources/vscode"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"testing,github,mcp,spring-boot","timeRequired":"PT4M","video":{"@type":"VideoObject","name":"End-to-End Testing for Spring Boot apps with Playwright in VS Code","description":"A walkthrough demonstrates using GitHub Copilot in agent mode with a Playwright MCP extension inside Visual Studio Code to drive end-to-end browser tests...","thumbnailUrl":"https://i.ytimg.com/vi/YGUwr6UhmUI/sddefault.jpg","uploadDate":"2026-08-18T14:00:46.374Z","duration":"PT4M","url":"https://api.daily.dev/r/rC26wVKqQ","embedUrl":"https://www.youtube.com/embed/YGUwr6UhmUI"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Visual Studio Code","item":"https://daily.dev/sources/vscode"},{"@type":"ListItem","position":3,"name":"End-to-End Testing for Spring Boot apps with Playwright in VS Code"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/end-to-end-testing-for-spring-boot-apps-with-playwright-in-vs-code-rc26wvkqq#faq","mainEntity":[{"@type":"Question","name":"How do I connect Playwright to GitHub Copilot for browser testing in VS Code?","acceptedAnswer":{"@type":"Answer","text":"Install the Playwright MCP extension from the VS Code extensions view, verify the publisher, and trust the server when prompted. Once running, open Copilot chat in agent mode and check the tools picker to confirm the Playwright tools are discovered and enabled. Copilot can then control a real browser through the model context protocol to click through a running app and verify each step. Developers wiring AI agents into browser testing workflows can compare setups like this on daily.dev."}},{"@type":"Question","name":"Can GitHub Copilot test a Spring Boot app's UI in an actual browser, not just run unit tests?","acceptedAnswer":{"@type":"Answer","text":"Yes, by pairing Copilot's agent mode with a Playwright MCP server, it can open a running Spring Boot app in a real browser and perform actions like adding a to-do, checking a box, and deleting a row, then verify each resulting state. This complements existing unit and integration tests, which confirm the service layer but do not click through the page like a user would. Teams weighing AI-driven UI checks against traditional test suites can track these approaches on daily.dev."}}]}
```

