Commit 31d6df2
committed
🧪 Fix SDK E2E tests to work with vizzly tdd run
- Detect VIZZLY_SERVER_URL env var to skip starting own TDD server
- Fix Vitest tests to use correct browser mode API (getByRole, getByText)
- Fix Static-Site tests to use URL-style paths (/, /features) not filenames
- Fix Storybook pattern matching to use story.id format (*button*)
- Fix Ember assertions to check result.status instead of result.success
- Add proper config structure for page discovery (pageDiscovery.useSitemap)
All SDK E2E tests now pass when run via `vizzly tdd run`:
- Storybook: 13/13
- Static-Site: 13/13
- Ember: 9/9
- Vitest: 24/24
- Ruby: 10/101 parent 8dd5b65 commit 31d6df2
File tree
14 files changed
+2373
-260
lines changed- .github/workflows
- clients
- ember
- tests/integration
- ruby
- test
- static-site
- tests
- storybook
- example-storybook
- tests
- vitest
- tests/e2e
14 files changed
+2373
-260
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
406 | | - | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
407 | 413 | | |
408 | 414 | | |
409 | 415 | | |
| |||
454 | 460 | | |
455 | 461 | | |
456 | 462 | | |
457 | | - | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
458 | 470 | | |
459 | 471 | | |
460 | 472 | | |
| |||
505 | 517 | | |
506 | 518 | | |
507 | 519 | | |
508 | | - | |
509 | | - | |
| 520 | + | |
| 521 | + | |
510 | 522 | | |
511 | | - | |
512 | 523 | | |
513 | 524 | | |
514 | | - | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
515 | 535 | | |
516 | 536 | | |
517 | 537 | | |
| |||
550 | 570 | | |
551 | 571 | | |
552 | 572 | | |
553 | | - | |
| 573 | + | |
554 | 574 | | |
555 | | - | |
| 575 | + | |
556 | 576 | | |
557 | 577 | | |
558 | 578 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
| |||
0 commit comments