Compare commits

..

4 Commits

Author SHA1 Message Date
Noam Brendel ddb806454b
Merge 1d49e045db into 5881790068 2026-01-17 02:56:07 +08:00
Murat K Ozcan 5881790068
Merge pull request #1345 from jheyworth/fix-todomvc-url
Fix TodoMVC example URL to include /dist/ path
2026-01-16 11:31:45 -06:00
jheyworth d83a88da66 Fix remaining TodoMVC URL references in documentation
Updated 2 additional files to use the correct /dist/ path:
- docs/how-to/workflows/run-automate.md: Standalone mode example
- docs/reference/tea/configuration.md: Playwright BASE_URL example

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 12:09:19 +00:00
jheyworth 7b68d1a326 Fix TodoMVC example URL to include /dist/ path
Updated all references to TodoMVC URL from https://todomvc.com/examples/react/
to https://todomvc.com/examples/react/dist/ for correct working example.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-16 11:12:20 +00:00
3 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@ If you're using TEA Solo or don't have BMad artifacts:
**What are you testing?** **What are you testing?**
``` ```
TodoMVC React application at https://todomvc.com/examples/react/ TodoMVC React application at https://todomvc.com/examples/react/dist/
Features: Create todos, mark as complete, filter by status, delete todos Features: Create todos, mark as complete, filter by status, delete todos
``` ```

View File

@ -293,7 +293,7 @@ TEA workflows may use environment variables for test configuration.
**Playwright:** **Playwright:**
```bash ```bash
# .env # .env
BASE_URL=https://todomvc.com/examples/react/ BASE_URL=https://todomvc.com/examples/react/dist/
API_BASE_URL=https://api.example.com API_BASE_URL=https://api.example.com
TEST_USER_EMAIL=test@example.com TEST_USER_EMAIL=test@example.com
TEST_USER_PASSWORD=password123 TEST_USER_PASSWORD=password123

View File

@ -18,7 +18,7 @@ By the end of this 30-minute tutorial, you'll have:
- Node.js installed (v18 or later) - Node.js installed (v18 or later)
- 30 minutes of focused time - 30 minutes of focused time
- We'll use TodoMVC (<https://todomvc.com/examples/react/>) as our demo app - We'll use TodoMVC (<https://todomvc.com/examples/react/dist/>) as our demo app
## TEA Approaches Explained ## TEA Approaches Explained
@ -36,7 +36,7 @@ This tutorial focuses on **TEA Lite** - the fastest way to see TEA in action.
We'll test TodoMVC, a standard demo app used across testing documentation. We'll test TodoMVC, a standard demo app used across testing documentation.
**Demo App:** <https://todomvc.com/examples/react/> **Demo App:** <https://todomvc.com/examples/react/dist/>
No installation needed - TodoMVC runs in your browser. Open the link above and: No installation needed - TodoMVC runs in your browser. Open the link above and:
1. Add a few todos (type and press Enter) 1. Add a few todos (type and press Enter)
@ -171,7 +171,7 @@ In your chat with TEA, run:
``` ```
**Q: What are you testing?** **Q: What are you testing?**
A: "TodoMVC React app at <https://todomvc.com/examples/react/> - focus on the test design we just created" A: "TodoMVC React app at <https://todomvc.com/examples/react/dist/> - focus on the test design we just created"
**Q: Reference existing docs?** **Q: Reference existing docs?**
A: "Yes, use test-design-epic-1.md" A: "Yes, use test-design-epic-1.md"
@ -187,7 +187,7 @@ import { test, expect } from '@playwright/test';
test.describe('TodoMVC - Core Functionality', () => { test.describe('TodoMVC - Core Functionality', () => {
test.beforeEach(async ({ page }) => { test.beforeEach(async ({ page }) => {
await page.goto('https://todomvc.com/examples/react/'); await page.goto('https://todomvc.com/examples/react/dist/');
}); });
test('should create a new todo', async ({ page }) => { test('should create a new todo', async ({ page }) => {