Commit d5a271d
Add E2E tests for Text visual examples (batch 2) (#55963)
Summary:
Pull Request resolved: #55963
Add screenshot E2E tests for 9 Text examples that previously lacked E2E coverage:
wrap, substringEmoji, transparentBackgroundColor, padding, spaces,
backgroundColorAttr, fontVariants, textTransform, and lineHeightIOS.
- Added `name` and `testID` to each example in TextExample.ios.js
- Added matching `name` and `testID` to Android examples (wrap, padding, spaces,
backgroundColorAttr, fontVariants) in TextExample.android.js
- 4 tests are iOS-only (substringEmoji, transparentBackgroundColor, textTransform,
lineHeightIOS) as these examples don't exist on Android
- 5 tests are cross-platform (excludedPlatforms: ['mac'])
- lineBreakStrategy test was removed due to persistent infra failure preventing
screenshot capture; name and testID were still added to the source
Reviewed By: cortinico
Differential Revision: D95370389
fbshipit-source-id: 2506619ee2803c44e4f8409f2401819a0ff0c7191 parent b53b228 commit d5a271d
File tree
2 files changed
+32
-18
lines changed- packages/rn-tester/js/examples/Text
2 files changed
+32
-18
lines changedLines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | | - | |
| 364 | + | |
365 | 365 | | |
366 | 366 | | |
367 | 367 | | |
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
402 | | - | |
| 402 | + | |
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
1322 | 1322 | | |
1323 | 1323 | | |
1324 | 1324 | | |
1325 | | - | |
| 1325 | + | |
1326 | 1326 | | |
1327 | 1327 | | |
1328 | 1328 | | |
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | | - | |
| 1344 | + | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | 1347 | | |
| |||
1470 | 1470 | | |
1471 | 1471 | | |
1472 | 1472 | | |
1473 | | - | |
| 1473 | + | |
1474 | 1474 | | |
1475 | 1475 | | |
1476 | 1476 | | |
| |||
1497 | 1497 | | |
1498 | 1498 | | |
1499 | 1499 | | |
1500 | | - | |
| 1500 | + | |
1501 | 1501 | | |
1502 | 1502 | | |
1503 | 1503 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
| 604 | + | |
604 | 605 | | |
605 | 606 | | |
606 | | - | |
| 607 | + | |
607 | 608 | | |
608 | 609 | | |
609 | 610 | | |
| |||
612 | 613 | | |
613 | 614 | | |
614 | 615 | | |
| 616 | + | |
615 | 617 | | |
616 | | - | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
617 | 621 | | |
618 | 622 | | |
619 | 623 | | |
620 | 624 | | |
| 625 | + | |
621 | 626 | | |
622 | 627 | | |
623 | | - | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
624 | 631 | | |
625 | 632 | | |
626 | 633 | | |
| |||
711 | 718 | | |
712 | 719 | | |
713 | 720 | | |
| 721 | + | |
714 | 722 | | |
715 | 723 | | |
716 | | - | |
| 724 | + | |
717 | 725 | | |
718 | 726 | | |
719 | 727 | | |
| |||
1033 | 1041 | | |
1034 | 1042 | | |
1035 | 1043 | | |
| 1044 | + | |
1036 | 1045 | | |
1037 | 1046 | | |
1038 | | - | |
| 1047 | + | |
1039 | 1048 | | |
1040 | 1049 | | |
1041 | 1050 | | |
1042 | 1051 | | |
1043 | 1052 | | |
1044 | 1053 | | |
1045 | 1054 | | |
| 1055 | + | |
1046 | 1056 | | |
1047 | 1057 | | |
1048 | | - | |
| 1058 | + | |
1049 | 1059 | | |
1050 | 1060 | | |
1051 | 1061 | | |
| |||
1061 | 1071 | | |
1062 | 1072 | | |
1063 | 1073 | | |
| 1074 | + | |
1064 | 1075 | | |
1065 | 1076 | | |
1066 | 1077 | | |
1067 | | - | |
| 1078 | + | |
1068 | 1079 | | |
1069 | 1080 | | |
1070 | 1081 | | |
| |||
1289 | 1300 | | |
1290 | 1301 | | |
1291 | 1302 | | |
| 1303 | + | |
1292 | 1304 | | |
1293 | 1305 | | |
1294 | | - | |
| 1306 | + | |
1295 | 1307 | | |
1296 | 1308 | | |
1297 | 1309 | | |
| |||
1370 | 1382 | | |
1371 | 1383 | | |
1372 | 1384 | | |
| 1385 | + | |
1373 | 1386 | | |
1374 | 1387 | | |
1375 | | - | |
| 1388 | + | |
1376 | 1389 | | |
1377 | 1390 | | |
1378 | 1391 | | |
| |||
1429 | 1442 | | |
1430 | 1443 | | |
1431 | 1444 | | |
| 1445 | + | |
1432 | 1446 | | |
1433 | 1447 | | |
1434 | 1448 | | |
| |||
1444 | 1458 | | |
1445 | 1459 | | |
1446 | 1460 | | |
1447 | | - | |
| 1461 | + | |
1448 | 1462 | | |
1449 | 1463 | | |
1450 | 1464 | | |
| |||
0 commit comments