Datasets:
File size: 276,925 Bytes
957e17d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 | import { test, expect } from '@playwright/test';
test.describe('Functional - homepage', () => {
test('homepage: title matches GT', async ({ page }) => {
await page.goto('/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora');
});
test('homepage: h1 "Where big ideas find their for"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Where big ideas find their form' || t.startsWith('Where big ideas find their form'))).toBeTruthy();
});
test('homepage: header link "Download"', async ({ page }) => {
await page.goto('/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Log in"', async ({ page }) => {
await page.goto('/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Sign up"', async ({ page }) => {
await page.goto('/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "AI FlowchartsBoost how fast yo"', async ({ page }) => {
await page.goto('/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how fast you work with hands-free creatio' || t.startsWith('AI FlowchartsBoost how fast you work with hands-free creatio')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ai', () => {
test('ai: title matches GT', async ({ page }) => {
await page.goto('/ai/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora ai');
});
test('ai: h1 "Vellora AI"', async ({ page }) => {
await page.goto('/ai/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora AI' || t.startsWith('Vellora AI'))).toBeTruthy();
});
test('ai: h2 "Vellora\'s desktop MCP"', async ({ page }) => {
await page.goto('/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora\'s desktop MCP' || t.startsWith('Vellora\'s desktop MCP'))).toBeTruthy();
});
test('ai: h2 "One endless canvas to hold all"', async ({ page }) => {
await page.goto('/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'One endless canvas to hold all of your ideas.' || t.startsWith('One endless canvas to hold all of your ideas.'))).toBeTruthy();
});
test('ai: h2 "Wireframes"', async ({ page }) => {
await page.goto('/ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Wireframes' || t.startsWith('Wireframes'))).toBeTruthy();
});
test('ai: header link "Download"', async ({ page }) => {
await page.goto('/ai/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('ai: nav link "Log in"', async ({ page }) => {
await page.goto('/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('ai: nav link "Sign up"', async ({ page }) => {
await page.goto('/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('ai: nav link "AI FlowchartsAmplify your dail"', async ({ page }) => {
await page.goto('/ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsAmplify your daily output with fully automated ' || t.startsWith('AI FlowchartsAmplify your daily output with fully automated ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog', () => {
test('blog: title matches GT', async ({ page }) => {
await page.goto('/blog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora blog');
});
test('blog: h2 "Tabbed folders: a fresh approa"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tabbed folders: a fresh approach to keeping your work tidy' || t.startsWith('Tabbed folders: a fresh approach to keeping your work tidy'))).toBeTruthy();
});
test('blog: h2 "Ready to work a whole new way."', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to work a whole new way.' || t.startsWith('Ready to work a whole new way.'))).toBeTruthy();
});
test('blog: header link "Download"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "AI FlowchartsTurbocharge how y"', async ({ page }) => {
await page.goto('/blog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsTurbocharge how you work with automated diagram' || t.startsWith('AI FlowchartsTurbocharge how you work with automated diagram')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers', () => {
test('customers: title matches GT', async ({ page }) => {
await page.goto('/customers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('customers');
});
test('customers: h1 "Customers"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Customers' || t.startsWith('Customers'))).toBeTruthy();
});
test('customers: h2 "Backed by leading teams"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Backed by leading teams' || t.startsWith('Backed by leading teams'))).toBeTruthy();
});
test('customers: h2 "Bright ideas start here"', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bright ideas start here' || t.startsWith('Bright ideas start here'))).toBeTruthy();
});
test('customers: h2 "Ready to rethink how you work."', async ({ page }) => {
await page.goto('/customers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to rethink how you work.' || t.startsWith('Ready to rethink how you work.'))).toBeTruthy();
});
test('customers: header link "Download"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Log in"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Sign up"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "AI FlowchartsBoost your moment"', async ({ page }) => {
await page.goto('/customers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your momentum with instant, automated dia' || t.startsWith('AI FlowchartsBoost your momentum with instant, automated dia')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - diagrams', () => {
test('diagrams: title matches GT', async ({ page }) => {
await page.goto('/diagrams/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora diagrams, flowcharts, and mind m');
});
test('diagrams: h1 "Find clarity through flowchart"', async ({ page }) => {
await page.goto('/diagrams/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find clarity through flowcharts, mind maps, and other diagrams' || t.startsWith('Find clarity through flowcharts, mind maps, and other diagrams'))).toBeTruthy();
});
test('diagrams: h2 "Flowcharts"', async ({ page }) => {
await page.goto('/diagrams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Flowcharts' || t.startsWith('Flowcharts'))).toBeTruthy();
});
test('diagrams: h2 "Mind maps"', async ({ page }) => {
await page.goto('/diagrams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Mind maps' || t.startsWith('Mind maps'))).toBeTruthy();
});
test('diagrams: h2 "Vellora AI"', async ({ page }) => {
await page.goto('/diagrams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora AI' || t.startsWith('Vellora AI'))).toBeTruthy();
});
test('diagrams: header link "Download"', async ({ page }) => {
await page.goto('/diagrams/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('diagrams: nav link "Log in"', async ({ page }) => {
await page.goto('/diagrams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('diagrams: nav link "Sign up"', async ({ page }) => {
await page.goto('/diagrams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('diagrams: nav link "AI FlowchartsBoost your moment"', async ({ page }) => {
await page.goto('/diagrams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your momentum with fully automated diagra' || t.startsWith('AI FlowchartsBoost your momentum with fully automated diagra')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - download', () => {
test('download: title matches GT', async ({ page }) => {
await page.goto('/download/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('get the vellora desktop app');
});
test('download: h1 "Download Vellora"', async ({ page }) => {
await page.goto('/download/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download Vellora' || t.startsWith('Download Vellora'))).toBeTruthy();
});
test('download: header link "Download"', async ({ page }) => {
await page.goto('/download/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('download: nav link "Log in"', async ({ page }) => {
await page.goto('/download/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('download: nav link "Sign up"', async ({ page }) => {
await page.goto('/download/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('download: nav link "AI FlowchartsMove faster with "', async ({ page }) => {
await page.goto('/download/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsMove faster with diagrams that build themselves' || t.startsWith('AI FlowchartsMove faster with diagrams that build themselves')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - flowcharts', () => {
test('flowcharts: title matches GT', async ({ page }) => {
await page.goto('/flowcharts/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('free flowchart maker');
});
test('flowcharts: h1 "Free flowchart maker in Vellor"', async ({ page }) => {
await page.goto('/flowcharts/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Free flowchart maker in Vellora' || t.startsWith('Free flowchart maker in Vellora'))).toBeTruthy();
});
test('flowcharts: h2 "Breeze through your flowcharts"', async ({ page }) => {
await page.goto('/flowcharts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Breeze through your flowcharts' || t.startsWith('Breeze through your flowcharts'))).toBeTruthy();
});
test('flowcharts: h2 "Send your flowcharts out into "', async ({ page }) => {
await page.goto('/flowcharts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Send your flowcharts out into the world' || t.startsWith('Send your flowcharts out into the world'))).toBeTruthy();
});
test('flowcharts: h2 "Vellora AI"', async ({ page }) => {
await page.goto('/flowcharts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora AI' || t.startsWith('Vellora AI'))).toBeTruthy();
});
test('flowcharts: header link "Download"', async ({ page }) => {
await page.goto('/flowcharts/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('flowcharts: nav link "Log in"', async ({ page }) => {
await page.goto('/flowcharts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('flowcharts: nav link "Sign up"', async ({ page }) => {
await page.goto('/flowcharts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('flowcharts: nav link "AI FlowchartsBoost how fast yo"', async ({ page }) => {
await page.goto('/flowcharts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how fast you work with hands-off creation' || t.startsWith('AI FlowchartsBoost how fast you work with hands-off creation')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - home', () => {
test('home: title matches GT', async ({ page }) => {
await page.goto('/home/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora');
});
test('home: h1 "Where bright ideas come alive"', async ({ page }) => {
await page.goto('/home/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Where bright ideas come alive' || t.startsWith('Where bright ideas come alive'))).toBeTruthy();
});
test('home: h2 "Diagrams"', async ({ page }) => {
await page.goto('/home/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Diagrams' || t.startsWith('Diagrams'))).toBeTruthy();
});
test('home: h2 "Wireframes"', async ({ page }) => {
await page.goto('/home/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Wireframes' || t.startsWith('Wireframes'))).toBeTruthy();
});
test('home: h2 "An endless canvas for every id"', async ({ page }) => {
await page.goto('/home/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'An endless canvas for every idea you dream up.' || t.startsWith('An endless canvas for every idea you dream up.'))).toBeTruthy();
});
test('home: header link "Download"', async ({ page }) => {
await page.goto('/home/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('home: nav link "Log in"', async ({ page }) => {
await page.goto('/home/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('home: nav link "Sign up"', async ({ page }) => {
await page.goto('/home/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('home: nav link "AI DiagramsBoost your workflow"', async ({ page }) => {
await page.goto('/home/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI DiagramsBoost your workflow with instant, automated diagr' || t.startsWith('AI DiagramsBoost your workflow with instant, automated diagr')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations', () => {
test('integrations: title matches GT', async ({ page }) => {
await page.goto('/integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora integrations');
});
test('integrations: h1 "Plug in your workflow"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Plug in your workflow' || t.startsWith('Plug in your workflow'))).toBeTruthy();
});
test('integrations: h2 "All integrations"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'All integrations' || t.startsWith('All integrations'))).toBeTruthy();
});
test('integrations: h2 "Embed Vellora wherever you wor"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Embed Vellora wherever you work' || t.startsWith('Embed Vellora wherever you work'))).toBeTruthy();
});
test('integrations: h2 "A fresh way to work awaits you"', async ({ page }) => {
await page.goto('/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A fresh way to work awaits you.' || t.startsWith('A fresh way to work awaits you.'))).toBeTruthy();
});
test('integrations: header link "Download"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automatic draf' || t.startsWith('AI FlowchartsBoost how much you get done with automatic draf')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - mcp', () => {
test('mcp: title matches GT', async ({ page }) => {
await page.goto('/mcp/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora desktop mcp (beta)');
});
test('mcp: h1 "Learn"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('mcp: h1 "Vellora Desktop MCP (beta)"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora Desktop MCP (beta)' || t.startsWith('Vellora Desktop MCP (beta)'))).toBeTruthy();
});
test('mcp: h2 "Step 1: Launch the Vellora des"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Step 1: Launch the Vellora desktop appCopied!Link to this section' || t.startsWith('Step 1: Launch the Vellora desktop appCopied!Link to this section'))).toBeTruthy();
});
test('mcp: h2 "Step 2: Configure your MCP cli"', async ({ page }) => {
await page.goto('/mcp/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Step 2: Configure your MCP clientCopied!Link to this section' || t.startsWith('Step 2: Configure your MCP clientCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - mind_maps', () => {
test('mind_maps: title matches GT', async ({ page }) => {
await page.goto('/mind-maps/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('free mind map maker');
});
test('mind_maps: h1 "Free mind map maker in Vellora"', async ({ page }) => {
await page.goto('/mind-maps/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Free mind map maker in Vellora' || t.startsWith('Free mind map maker in Vellora'))).toBeTruthy();
});
test('mind_maps: h2 "Shape ideas at the speed of th"', async ({ page }) => {
await page.goto('/mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shape ideas at the speed of thought' || t.startsWith('Shape ideas at the speed of thought'))).toBeTruthy();
});
test('mind_maps: h2 "Bring your mind maps everywher"', async ({ page }) => {
await page.goto('/mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your mind maps everywhere' || t.startsWith('Bring your mind maps everywhere'))).toBeTruthy();
});
test('mind_maps: h2 "Vellora AI"', async ({ page }) => {
await page.goto('/mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora AI' || t.startsWith('Vellora AI'))).toBeTruthy();
});
test('mind_maps: header link "Download"', async ({ page }) => {
await page.goto('/mind-maps/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('mind_maps: nav link "Log in"', async ({ page }) => {
await page.goto('/mind-maps/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('mind_maps: nav link "Sign up"', async ({ page }) => {
await page.goto('/mind-maps/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('mind_maps: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/mind-maps/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automated buil' || t.startsWith('AI FlowchartsBoost how much you get done with automated buil')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - pricing', () => {
test('pricing: title matches GT', async ({ page }) => {
await page.goto('/pricing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora pricing');
});
test('pricing: h1 "Pricing"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pricing' || t.startsWith('Pricing'))).toBeTruthy();
});
test('pricing: h2 "\$ 0 / Month / Editor"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '\$ 0 / Month / Editor' || t.startsWith('\$ 0 / Month / Editor'))).toBeTruthy();
});
test('pricing: h2 "\$ 10 / Month / Editor"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '\$ 10 / Month / Editor' || t.startsWith('\$ 10 / Month / Editor'))).toBeTruthy();
});
test('pricing: h2 "\$ 15 / Month / Editor"', async ({ page }) => {
await page.goto('/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '\$ 15 / Month / Editor' || t.startsWith('\$ 15 / Month / Editor'))).toBeTruthy();
});
test('pricing: header link "Download"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Log in"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Sign up"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/pricing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow speed with fully automated ' || t.startsWith('AI FlowchartsBoost your workflow speed with fully automated ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - releases', () => {
test('releases: title matches GT', async ({ page }) => {
await page.goto('/releases/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora releases');
});
test('releases: h1 "Releases"', async ({ page }) => {
await page.goto('/releases/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Releases' || t.startsWith('Releases'))).toBeTruthy();
});
test('releases: h2 "Flowchart auto-layout"', async ({ page }) => {
await page.goto('/releases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Flowchart auto-layout' || t.startsWith('Flowchart auto-layout'))).toBeTruthy();
});
test('releases: h2 "New features"', async ({ page }) => {
await page.goto('/releases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'New features' || t.startsWith('New features'))).toBeTruthy();
});
test('releases: h2 "Enhancements"', async ({ page }) => {
await page.goto('/releases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enhancements' || t.startsWith('Enhancements'))).toBeTruthy();
});
test('releases: header link "Download"', async ({ page }) => {
await page.goto('/releases/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('releases: nav link "Log in"', async ({ page }) => {
await page.goto('/releases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('releases: nav link "Sign up"', async ({ page }) => {
await page.goto('/releases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('releases: nav link "AI FlowchartsBoost your output"', async ({ page }) => {
await page.goto('/releases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your output with instantly generated diag' || t.startsWith('AI FlowchartsBoost your output with instantly generated diag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - releases_2026_4_flowchart_auto_layout', () => {
test('releases_2026_4_flowchart_auto_layout: page loads without error', async ({ page }) => {
const response = await page.goto('/releases/2026-4-flowchart-auto-layout/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('releases_2026_4_flowchart_auto_layout: title matches GT', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('auto');
});
test('releases_2026_4_flowchart_auto_layout: h1 "Flowchart auto-layout"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Flowchart auto-layout' || t.startsWith('Flowchart auto-layout'))).toBeTruthy();
});
test('releases_2026_4_flowchart_auto_layout: h2 "New features"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'New features' || t.startsWith('New features'))).toBeTruthy();
});
test('releases_2026_4_flowchart_auto_layout: h2 "Improvements"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Improvements' || t.startsWith('Improvements'))).toBeTruthy();
});
test('releases_2026_4_flowchart_auto_layout: h2 "Bug fixes"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bug fixes' || t.startsWith('Bug fixes'))).toBeTruthy();
});
test('releases_2026_4_flowchart_auto_layout: header link "Download"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('releases_2026_4_flowchart_auto_layout: nav link "Log in"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('releases_2026_4_flowchart_auto_layout: nav link "Sign up"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('releases_2026_4_flowchart_auto_layout: nav link "AI FlowchartsBoost how fast yo"', async ({ page }) => {
await page.goto('/releases/2026-4-flowchart-auto-layout/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how fast you work with fully automated cr' || t.startsWith('AI FlowchartsBoost how fast you work with fully automated cr')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - terms', () => {
test('terms: title matches GT', async ({ page }) => {
await page.goto('/terms/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora terms & conditions');
});
test('terms: h1 "Terms of service"', async ({ page }) => {
await page.goto('/terms/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Terms of service' || t.startsWith('Terms of service'))).toBeTruthy();
});
test('terms: h2 "Definitions"', async ({ page }) => {
await page.goto('/terms/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Definitions' || t.startsWith('Definitions'))).toBeTruthy();
});
test('terms: h2 "Your Vellora Account"', async ({ page }) => {
await page.goto('/terms/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Your Vellora Account' || t.startsWith('Your Vellora Account'))).toBeTruthy();
});
test('terms: h2 "Workspaces"', async ({ page }) => {
await page.goto('/terms/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Workspaces' || t.startsWith('Workspaces'))).toBeTruthy();
});
test('terms: header link "Download"', async ({ page }) => {
await page.goto('/terms/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('terms: nav link "Log in"', async ({ page }) => {
await page.goto('/terms/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('terms: nav link "Sign up"', async ({ page }) => {
await page.goto('/terms/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('terms: nav link "AI FlowchartsBoost your everyd"', async ({ page }) => {
await page.goto('/terms/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your everyday workflow with automated dia' || t.startsWith('AI FlowchartsBoost your everyday workflow with automated dia')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - terms_privacy', () => {
test('terms_privacy: title matches GT', async ({ page }) => {
await page.goto('/terms/privacy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora terms & conditions');
});
test('terms_privacy: h1 "Privacy"', async ({ page }) => {
await page.goto('/terms/privacy/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Privacy' || t.startsWith('Privacy'))).toBeTruthy();
});
test('terms_privacy: h2 "Who We Are and What This Priva"', async ({ page }) => {
await page.goto('/terms/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Who We Are and What This Privacy Notice Addresses' || t.startsWith('Who We Are and What This Privacy Notice Addresses'))).toBeTruthy();
});
test('terms_privacy: h2 "Personal Information We Collec"', async ({ page }) => {
await page.goto('/terms/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personal Information We Collect' || t.startsWith('Personal Information We Collect'))).toBeTruthy();
});
test('terms_privacy: h2 "When And Why We Draw On Your P"', async ({ page }) => {
await page.goto('/terms/privacy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'When And Why We Draw On Your Personal Information' || t.startsWith('When And Why We Draw On Your Personal Information'))).toBeTruthy();
});
test('terms_privacy: header link "Download"', async ({ page }) => {
await page.goto('/terms/privacy/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('terms_privacy: nav link "Log in"', async ({ page }) => {
await page.goto('/terms/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('terms_privacy: nav link "Sign up"', async ({ page }) => {
await page.goto('/terms/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('terms_privacy: nav link "AI FlowchartsMove faster and l"', async ({ page }) => {
await page.goto('/terms/privacy/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsMove faster and let automated drafting do the h' || t.startsWith('AI FlowchartsMove faster and let automated drafting do the h')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - wireframes', () => {
test('wireframes: title matches GT', async ({ page }) => {
await page.goto('/wireframes/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('free low');
});
test('wireframes: h1 "Fast, focused wireframing in V"', async ({ page }) => {
await page.goto('/wireframes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fast, focused wireframing in Vellora' || t.startsWith('Fast, focused wireframing in Vellora'))).toBeTruthy();
});
test('wireframes: h2 "Drag-and-drop elements"', async ({ page }) => {
await page.goto('/wireframes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Drag-and-drop elements' || t.startsWith('Drag-and-drop elements'))).toBeTruthy();
});
test('wireframes: h2 "A sprawling icon set"', async ({ page }) => {
await page.goto('/wireframes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A sprawling icon set' || t.startsWith('A sprawling icon set'))).toBeTruthy();
});
test('wireframes: h2 "Device frames"', async ({ page }) => {
await page.goto('/wireframes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Device frames' || t.startsWith('Device frames'))).toBeTruthy();
});
test('wireframes: header link "Download"', async ({ page }) => {
await page.goto('/wireframes/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('wireframes: nav link "Log in"', async ({ page }) => {
await page.goto('/wireframes/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('wireframes: nav link "Sign up"', async ({ page }) => {
await page.goto('/wireframes/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('wireframes: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/wireframes/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automated crea' || t.startsWith('AI FlowchartsBoost how much you get done with automated crea')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ai_ai_mind_maps', () => {
test('ai_ai_mind_maps: title matches GT', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ai mind map');
});
test('ai_ai_mind_maps: h1 "Free AI mind map creator"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Free AI mind map creator' || t.startsWith('Free AI mind map creator'))).toBeTruthy();
});
test('ai_ai_mind_maps: h2 "Vellora’s desktop MCP"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora’s desktop MCP' || t.startsWith('Vellora’s desktop MCP'))).toBeTruthy();
});
test('ai_ai_mind_maps: h2 "One endless canvas to hold eve"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'One endless canvas to hold every idea you have.' || t.startsWith('One endless canvas to hold every idea you have.'))).toBeTruthy();
});
test('ai_ai_mind_maps: h2 "Wireframes"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Wireframes' || t.startsWith('Wireframes'))).toBeTruthy();
});
test('ai_ai_mind_maps: header link "Download"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('ai_ai_mind_maps: nav link "Log in"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('ai_ai_mind_maps: nav link "Sign up"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('ai_ai_mind_maps: nav link "AI FlowchartsGive your workflo"', async ({ page }) => {
await page.goto('/ai/ai-mind-maps/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsGive your workflow a lift with hands-free diagr' || t.startsWith('AI FlowchartsGive your workflow a lift with hands-free diagr')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ai_ai_text_to_flowchart', () => {
test('ai_ai_text_to_flowchart: title matches GT', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ai flowchart');
});
test('ai_ai_text_to_flowchart: h1 "Free AI flowchart builder"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Free AI flowchart builder' || t.startsWith('Free AI flowchart builder'))).toBeTruthy();
});
test('ai_ai_text_to_flowchart: h2 "Vellora’s desktop MCP"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora’s desktop MCP' || t.startsWith('Vellora’s desktop MCP'))).toBeTruthy();
});
test('ai_ai_text_to_flowchart: h2 "A boundless canvas for every i"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A boundless canvas for every idea you have.' || t.startsWith('A boundless canvas for every idea you have.'))).toBeTruthy();
});
test('ai_ai_text_to_flowchart: h2 "Wireframes"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Wireframes' || t.startsWith('Wireframes'))).toBeTruthy();
});
test('ai_ai_text_to_flowchart: header link "Download"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('ai_ai_text_to_flowchart: nav link "Log in"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('ai_ai_text_to_flowchart: nav link "Sign up"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('ai_ai_text_to_flowchart: nav link "AI FlowchartsBoost your everyd"', async ({ page }) => {
await page.goto('/ai/ai-text-to-flowchart/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your everyday output with automatic gener' || t.startsWith('AI FlowchartsBoost your everyday output with automatic gener')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_2', () => {
test('blog_2: title matches GT', async ({ page }) => {
await page.goto('/blog/2/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('page 2');
});
test('blog_2: h1 "Archive"', async ({ page }) => {
await page.goto('/blog/2/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Archive' || t.startsWith('Archive'))).toBeTruthy();
});
test('blog_2: h2 "It’s time to work in a new way"', async ({ page }) => {
await page.goto('/blog/2/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'It’s time to work in a new way.' || t.startsWith('It’s time to work in a new way.'))).toBeTruthy();
});
test('blog_2: header link "Download"', async ({ page }) => {
await page.goto('/blog/2/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_2: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/2/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_2: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/2/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_2: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/blog/2/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automatic gene' || t.startsWith('AI FlowchartsBoost how much you get done with automatic gene')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_3', () => {
test('blog_3: title matches GT', async ({ page }) => {
await page.goto('/blog/3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('page 3');
});
test('blog_3: h1 "Archive"', async ({ page }) => {
await page.goto('/blog/3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Archive' || t.startsWith('Archive'))).toBeTruthy();
});
test('blog_3: h2 "Time to reimagine how you work"', async ({ page }) => {
await page.goto('/blog/3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Time to reimagine how you work.' || t.startsWith('Time to reimagine how you work.'))).toBeTruthy();
});
test('blog_3: header link "Download"', async ({ page }) => {
await page.goto('/blog/3/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_3: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_3: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_3: nav link "AI FlowchartsBoost your output"', async ({ page }) => {
await page.goto('/blog/3/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your output with automatically generated ' || t.startsWith('AI FlowchartsBoost your output with automatically generated ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_5', () => {
test('blog_5: title matches GT', async ({ page }) => {
await page.goto('/blog/5/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('page 5');
});
test('blog_5: h1 "Archive"', async ({ page }) => {
await page.goto('/blog/5/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Archive' || t.startsWith('Archive'))).toBeTruthy();
});
test('blog_5: h2 "Ready to rethink how you work?"', async ({ page }) => {
await page.goto('/blog/5/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to rethink how you work?' || t.startsWith('Ready to rethink how you work?'))).toBeTruthy();
});
test('blog_5: header link "Download"', async ({ page }) => {
await page.goto('/blog/5/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_5: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/5/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_5: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/5/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_5: nav link "AI FlowchartsSpeed up your wor"', async ({ page }) => {
await page.goto('/blog/5/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsSpeed up your work with instant, automated crea' || t.startsWith('AI FlowchartsSpeed up your work with instant, automated crea')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_async_vs_real_time_work_survey', () => {
test('blog_async_vs_real_time_work_survey: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/async-vs-real-time-work-survey/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_async_vs_real_time_work_survey: title matches GT', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('async or real');
});
test('blog_async_vs_real_time_work_survey: h1 "Async or real-time: which work"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Async or real-time: which working style helps your team thrive?' || t.startsWith('Async or real-time: which working style helps your team thrive?'))).toBeTruthy();
});
test('blog_async_vs_real_time_work_survey: h1 "Why it\'s worth asking"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why it\'s worth asking' || t.startsWith('Why it\'s worth asking'))).toBeTruthy();
});
test('blog_async_vs_real_time_work_survey: h1 "Your take counts (and stays an"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Your take counts (and stays anonymous)' || t.startsWith('Your take counts (and stays anonymous)'))).toBeTruthy();
});
test('blog_async_vs_real_time_work_survey: h1 "Fill it out and help pass it a"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fill it out and help pass it along' || t.startsWith('Fill it out and help pass it along'))).toBeTruthy();
});
test('blog_async_vs_real_time_work_survey: header link "Download"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_async_vs_real_time_work_survey: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_async_vs_real_time_work_survey: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_async_vs_real_time_work_survey: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/blog/async-vs-real-time-work-survey/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automated buil' || t.startsWith('AI FlowchartsBoost how much you get done with automated buil')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_building_the_vellora_text_editor_part_2', () => {
test('blog_building_the_vellora_text_editor_part_2: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/building-the-vellora-text-editor-part-2/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_building_the_vellora_text_editor_part_2: title matches GT', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('building the vellora text editor');
});
test('blog_building_the_vellora_text_editor_part_2: h1 "Crafting the Vellora text edit"', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Crafting the Vellora text editor: part 2' || t.startsWith('Crafting the Vellora text editor: part 2'))).toBeTruthy();
});
test('blog_building_the_vellora_text_editor_part_2: h2 "The newest chapter — building "', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The newest chapter — building for global language support' || t.startsWith('The newest chapter — building for global language support'))).toBeTruthy();
});
test('blog_building_the_vellora_text_editor_part_2: h2 "Pausing to reflect on the whol"', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pausing to reflect on the whole thing' || t.startsWith('Pausing to reflect on the whole thing'))).toBeTruthy();
});
test('blog_building_the_vellora_text_editor_part_2: h2 "Try Vellora"', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try Vellora' || t.startsWith('Try Vellora'))).toBeTruthy();
});
test('blog_building_the_vellora_text_editor_part_2: header link "Download"', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_building_the_vellora_text_editor_part_2: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_building_the_vellora_text_editor_part_2: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_building_the_vellora_text_editor_part_2: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/blog/building-the-vellora-text-editor-part-2/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with fully automated creati' || t.startsWith('AI FlowchartsBoost your workflow with fully automated creati')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_business', () => {
test('blog_business: title matches GT', async ({ page }) => {
await page.goto('/blog/business/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('business posts');
});
test('blog_business: h1 "Business"', async ({ page }) => {
await page.goto('/blog/business/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Business' || t.startsWith('Business'))).toBeTruthy();
});
test('blog_business: h2 "Ready to think more visually?"', async ({ page }) => {
await page.goto('/blog/business/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to think more visually?' || t.startsWith('Ready to think more visually?'))).toBeTruthy();
});
test('blog_business: header link "Download"', async ({ page }) => {
await page.goto('/blog/business/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_business: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/business/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_business: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/business/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_business: nav link "AI FlowchartsBoost your moment"', async ({ page }) => {
await page.goto('/blog/business/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your momentum with fully automated diagra' || t.startsWith('AI FlowchartsBoost your momentum with fully automated diagra')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_choosing_depth_over_breadth', () => {
test('blog_choosing_depth_over_breadth: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/choosing-depth-over-breadth/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_choosing_depth_over_breadth: title matches GT', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('choosing focus over sprawl');
});
test('blog_choosing_depth_over_breadth: h1 "Choosing depth over breadth"', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Choosing depth over breadth' || t.startsWith('Choosing depth over breadth'))).toBeTruthy();
});
test('blog_choosing_depth_over_breadth: h2 "Try Vellora"', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try Vellora' || t.startsWith('Try Vellora'))).toBeTruthy();
});
test('blog_choosing_depth_over_breadth: h2 "A better way to work awaits."', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A better way to work awaits.' || t.startsWith('A better way to work awaits.'))).toBeTruthy();
});
test('blog_choosing_depth_over_breadth: h3 "Shipping fewer but better feat"', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shipping fewer but better features' || t.startsWith('Shipping fewer but better features'))).toBeTruthy();
});
test('blog_choosing_depth_over_breadth: header link "Download"', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_choosing_depth_over_breadth: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_choosing_depth_over_breadth: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_choosing_depth_over_breadth: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/blog/choosing-depth-over-breadth/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with instant, automated dia' || t.startsWith('AI FlowchartsBoost your workflow with instant, automated dia')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_design', () => {
test('blog_design: title matches GT', async ({ page }) => {
await page.goto('/blog/design/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('design posts');
});
test('blog_design: h1 "Design"', async ({ page }) => {
await page.goto('/blog/design/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Design' || t.startsWith('Design'))).toBeTruthy();
});
test('blog_design: h2 "Ready to rethink how you work?"', async ({ page }) => {
await page.goto('/blog/design/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to rethink how you work?' || t.startsWith('Ready to rethink how you work?'))).toBeTruthy();
});
test('blog_design: header link "Download"', async ({ page }) => {
await page.goto('/blog/design/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_design: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/design/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_design: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/design/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_design: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/blog/design/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you create with automatic genera' || t.startsWith('AI FlowchartsBoost how much you create with automatic genera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_going_0_to_1ish', () => {
test('blog_going_0_to_1ish: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/going-0-to-1ish/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_going_0_to_1ish: title matches GT', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('from zero to nearly one');
});
test('blog_going_0_to_1ish: h1 "Chasing 0 to 1-ish"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Chasing 0 to 1-ish' || t.startsWith('Chasing 0 to 1-ish'))).toBeTruthy();
});
test('blog_going_0_to_1ish: h2 "Where it began"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Where it began' || t.startsWith('Where it began'))).toBeTruthy();
});
test('blog_going_0_to_1ish: h2 "2023 and standing apart"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '2023 and standing apart' || t.startsWith('2023 and standing apart'))).toBeTruthy();
});
test('blog_going_0_to_1ish: h2 "The pivot"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The pivot' || t.startsWith('The pivot'))).toBeTruthy();
});
test('blog_going_0_to_1ish: header link "Download"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_going_0_to_1ish: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_going_0_to_1ish: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_going_0_to_1ish: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/blog/going-0-to-1ish/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with automatic diagram crea' || t.startsWith('AI FlowchartsBoost your workflow with automatic diagram crea')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_how_async_work_inspires_craftsmanship', () => {
test('blog_how_async_work_inspires_craftsmanship: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/how-async-work-inspires-craftsmanship/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_how_async_work_inspires_craftsmanship: title matches GT', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how async work sparks real craftsmanship');
});
test('blog_how_async_work_inspires_craftsmanship: h1 "Why remote-first teams do thei"', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why remote-first teams do their finest work' || t.startsWith('Why remote-first teams do their finest work'))).toBeTruthy();
});
test('blog_how_async_work_inspires_craftsmanship: h2 "Resources:"', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources:' || t.startsWith('Resources:'))).toBeTruthy();
});
test('blog_how_async_work_inspires_craftsmanship: h2 "Try Vellora"', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try Vellora' || t.startsWith('Try Vellora'))).toBeTruthy();
});
test('blog_how_async_work_inspires_craftsmanship: h2 "Rethink how your team creates."', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rethink how your team creates.' || t.startsWith('Rethink how your team creates.'))).toBeTruthy();
});
test('blog_how_async_work_inspires_craftsmanship: header link "Download"', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_how_async_work_inspires_craftsmanship: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_how_async_work_inspires_craftsmanship: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_how_async_work_inspires_craftsmanship: nav link "AI FlowchartsBoost your output"', async ({ page }) => {
await page.goto('/blog/how-async-work-inspires-craftsmanship/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your output with diagrams generated for y' || t.startsWith('AI FlowchartsBoost your output with diagrams generated for y')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_investing_in_a_sustainable_future', () => {
test('blog_investing_in_a_sustainable_future: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/investing-in-a-sustainable-future/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_investing_in_a_sustainable_future: title matches GT', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('building toward a sustainable future');
});
test('blog_investing_in_a_sustainable_future: h1 "Investing in a sustainable fut"', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Investing in a sustainable future' || t.startsWith('Investing in a sustainable future'))).toBeTruthy();
});
test('blog_investing_in_a_sustainable_future: h2 "References:"', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'References:' || t.startsWith('References:'))).toBeTruthy();
});
test('blog_investing_in_a_sustainable_future: h2 "Try Vellora"', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Try Vellora' || t.startsWith('Try Vellora'))).toBeTruthy();
});
test('blog_investing_in_a_sustainable_future: h2 "Reimagine how your team works."', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reimagine how your team works.' || t.startsWith('Reimagine how your team works.'))).toBeTruthy();
});
test('blog_investing_in_a_sustainable_future: header link "Download"', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_investing_in_a_sustainable_future: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_investing_in_a_sustainable_future: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_investing_in_a_sustainable_future: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/blog/investing-in-a-sustainable-future/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with instant, automated dia' || t.startsWith('AI FlowchartsBoost your workflow with instant, automated dia')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_product', () => {
test('blog_product: title matches GT', async ({ page }) => {
await page.goto('/blog/product/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('product posts');
});
test('blog_product: h1 "Product"', async ({ page }) => {
await page.goto('/blog/product/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Product' || t.startsWith('Product'))).toBeTruthy();
});
test('blog_product: h2 "It\'s time to think together."', async ({ page }) => {
await page.goto('/blog/product/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'It\'s time to think together.' || t.startsWith('It\'s time to think together.'))).toBeTruthy();
});
test('blog_product: header link "Download"', async ({ page }) => {
await page.goto('/blog/product/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_product: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_product: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_product: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/blog/product/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with instant automated gene' || t.startsWith('AI FlowchartsBoost your workflow with instant automated gene')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_state_of_async_2026', () => {
test('blog_state_of_async_2026: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/state-of-async-2026/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_state_of_async_2026: title matches GT', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('over 80% of teams ship faster when they ');
});
test('blog_state_of_async_2026: h1 "State of Async Work in 2026"', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'State of Async Work in 2026' || t.startsWith('State of Async Work in 2026'))).toBeTruthy();
});
test('blog_state_of_async_2026: h2 "Who took the survey?"', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Who took the survey?' || t.startsWith('Who took the survey?'))).toBeTruthy();
});
test('blog_state_of_async_2026: h2 "More async is the wish for 52."', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'More async is the wish for 52.8%, while only 8.3% want less' || t.startsWith('More async is the wish for 52.8%, while only 8.3% want less'))).toBeTruthy();
});
test('blog_state_of_async_2026: h2 "83% report async lifts their p"', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '83% report async lifts their productivity' || t.startsWith('83% report async lifts their productivity'))).toBeTruthy();
});
test('blog_state_of_async_2026: header link "Download"', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_state_of_async_2026: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_state_of_async_2026: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_state_of_async_2026: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/blog/state-of-async-2026/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automatic crea' || t.startsWith('AI FlowchartsBoost how much you get done with automatic crea')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_tabbed_folders_use_cases', () => {
test('blog_tabbed_folders_use_cases: page loads without error', async ({ page }) => {
const response = await page.goto('/blog/tabbed-folders-use-cases/');
expect(response?.status()).toBeLessThan(400);
await expect(page.locator('body')).toBeVisible();
});
test('blog_tabbed_folders_use_cases: title matches GT', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('tabbed folders');
});
test('blog_tabbed_folders_use_cases: h1 "Tabbed folders: a fresh approa"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tabbed folders: a fresh approach to organizing your work' || t.startsWith('Tabbed folders: a fresh approach to organizing your work'))).toBeTruthy();
});
test('blog_tabbed_folders_use_cases: h2 "How the Vellora team uses tabb"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How the Vellora team uses tabbed folders' || t.startsWith('How the Vellora team uses tabbed folders'))).toBeTruthy();
});
test('blog_tabbed_folders_use_cases: h2 "It\'s only the beginning"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'It\'s only the beginning' || t.startsWith('It\'s only the beginning'))).toBeTruthy();
});
test('blog_tabbed_folders_use_cases: h2 "Further reading:"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Further reading:' || t.startsWith('Further reading:'))).toBeTruthy();
});
test('blog_tabbed_folders_use_cases: header link "Download"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_tabbed_folders_use_cases: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_tabbed_folders_use_cases: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_tabbed_folders_use_cases: nav link "AI FlowchartsBoost how fast yo"', async ({ page }) => {
await page.goto('/blog/tabbed-folders-use-cases/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how fast you work with automated diagram ' || t.startsWith('AI FlowchartsBoost how fast you work with automated diagram ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_tech', () => {
test('blog_tech: title matches GT', async ({ page }) => {
await page.goto('/blog/tech/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('tech posts');
});
test('blog_tech: h1 "Tech"', async ({ page }) => {
await page.goto('/blog/tech/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tech' || t.startsWith('Tech'))).toBeTruthy();
});
test('blog_tech: h2 "Rethink the way your team buil"', async ({ page }) => {
await page.goto('/blog/tech/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rethink the way your team builds.' || t.startsWith('Rethink the way your team builds.'))).toBeTruthy();
});
test('blog_tech: header link "Download"', async ({ page }) => {
await page.goto('/blog/tech/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('blog_tech: nav link "Log in"', async ({ page }) => {
await page.goto('/blog/tech/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('blog_tech: nav link "Sign up"', async ({ page }) => {
await page.goto('/blog/tech/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('blog_tech: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/blog/tech/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with instant automated diag' || t.startsWith('AI FlowchartsBoost your workflow with instant automated diag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - company_careers', () => {
test('company_careers: title matches GT', async ({ page }) => {
await page.goto('/company/careers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('careers at vellora');
});
test('company_careers: h1 "Shape the future of focused wo"', async ({ page }) => {
await page.goto('/company/careers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shape the future of focused work with us' || t.startsWith('Shape the future of focused work with us'))).toBeTruthy();
});
test('company_careers: h2 "We champion focused and asynch"', async ({ page }) => {
await page.goto('/company/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We champion focused and asynchronous work' || t.startsWith('We champion focused and asynchronous work'))).toBeTruthy();
});
test('company_careers: h2 "Benefits worth having"', async ({ page }) => {
await page.goto('/company/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Benefits worth having' || t.startsWith('Benefits worth having'))).toBeTruthy();
});
test('company_careers: h2 "Open positions"', async ({ page }) => {
await page.goto('/company/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Open positions' || t.startsWith('Open positions'))).toBeTruthy();
});
test('company_careers: header link "Download"', async ({ page }) => {
await page.goto('/company/careers/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('company_careers: nav link "Log in"', async ({ page }) => {
await page.goto('/company/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('company_careers: nav link "Sign up"', async ({ page }) => {
await page.goto('/company/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('company_careers: nav link "AI Flow MapsSpeed up your work"', async ({ page }) => {
await page.goto('/company/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI Flow MapsSpeed up your work with automatic, AI-assisted c' || t.startsWith('AI Flow MapsSpeed up your work with automatic, AI-assisted c')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - company_contact_sales', () => {
test('company_contact_sales: title matches GT', async ({ page }) => {
await page.goto('/company/contact-sales/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('contact vellora sales');
});
test('company_contact_sales: h1 "Get in touch with sales"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get in touch with sales' || t.startsWith('Get in touch with sales'))).toBeTruthy();
});
test('company_contact_sales: h2 "Vellora fuels the planet\'s bes"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora fuels the planet\'s best teams, from scrappy startups to global enterprises.' || t.startsWith('Vellora fuels the planet\'s best teams, from scrappy startups to global enterprises.'))).toBeTruthy();
});
test('company_contact_sales: h2 "Ready to rethink how you work?"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ready to rethink how you work?' || t.startsWith('Ready to rethink how you work?'))).toBeTruthy();
});
test('company_contact_sales: h3 "Thank you!"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Thank you!' || t.startsWith('Thank you!'))).toBeTruthy();
});
test('company_contact_sales: header link "Download"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('company_contact_sales: nav link "Log in"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('company_contact_sales: nav link "Sign up"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('company_contact_sales: nav link "AI FlowchartsBoost your produc"', async ({ page }) => {
await page.goto('/company/contact-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your productivity with automated, effortl' || t.startsWith('AI FlowchartsBoost your productivity with automated, effortl')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - company_security', () => {
test('company_security: title matches GT', async ({ page }) => {
await page.goto('/company/security/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('security');
});
test('company_security: h1 "Security"', async ({ page }) => {
await page.goto('/company/security/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Security' || t.startsWith('Security'))).toBeTruthy();
});
test('company_security: h2 "Safe, secure sign-in"', async ({ page }) => {
await page.goto('/company/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Safe, secure sign-in' || t.startsWith('Safe, secure sign-in'))).toBeTruthy();
});
test('company_security: h2 "Physical safeguards"', async ({ page }) => {
await page.goto('/company/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Physical safeguards' || t.startsWith('Physical safeguards'))).toBeTruthy();
});
test('company_security: h2 "Data durability"', async ({ page }) => {
await page.goto('/company/security/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Data durability' || t.startsWith('Data durability'))).toBeTruthy();
});
test('company_security: header link "Download"', async ({ page }) => {
await page.goto('/company/security/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('company_security: nav link "Log in"', async ({ page }) => {
await page.goto('/company/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('company_security: nav link "Sign up"', async ({ page }) => {
await page.goto('/company/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('company_security: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/company/security/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with automated diagram gene' || t.startsWith('AI FlowchartsBoost your workflow with automated diagram gene')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_goodpatch', () => {
test('customers_goodpatch: title matches GT', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how northwind studio works together with');
});
test('customers_goodpatch: h1 "A canvas the whole team loves:"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A canvas the whole team loves: How Larkfield collaborates using Vellora' || t.startsWith('A canvas the whole team loves: How Larkfield collaborates using Vellora'))).toBeTruthy();
});
test('customers_goodpatch: h2 "Story summary"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Story summary' || t.startsWith('Story summary'))).toBeTruthy();
});
test('customers_goodpatch: h2 "Hunting for a tool the whole t"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hunting for a tool the whole team shares' || t.startsWith('Hunting for a tool the whole team shares'))).toBeTruthy();
});
test('customers_goodpatch: h2 "A smoother way to work"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A smoother way to work' || t.startsWith('A smoother way to work'))).toBeTruthy();
});
test('customers_goodpatch: header link "Download"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('customers_goodpatch: nav link "Log in"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('customers_goodpatch: nav link "Sign up"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('customers_goodpatch: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/customers/goodpatch/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automated buil' || t.startsWith('AI FlowchartsBoost how much you get done with automated buil')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward', () => {
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: title matches GT', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how brightforge uses vellora to keep pro');
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: h1 "How Brightforge uses Vellora t"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Brightforge uses Vellora to move product solutions forward' || t.startsWith('How Brightforge uses Vellora to move product solutions forward'))).toBeTruthy();
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: h2 "Story snapshot"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Story snapshot' || t.startsWith('Story snapshot'))).toBeTruthy();
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: h2 "Clear visuals are how teams al"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Clear visuals are how teams align' || t.startsWith('Clear visuals are how teams align'))).toBeTruthy();
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: h2 "Why Brightforge chose Vellora"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why Brightforge chose Vellora' || t.startsWith('Why Brightforge chose Vellora'))).toBeTruthy();
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: header link "Download"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: nav link "Log in"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: nav link "Sign up"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('customers_how_innovatemap_uses_vellora_to_move_product_solutions_forward: nav link "AI FlowchartsGive your product"', async ({ page }) => {
await page.goto('/customers/how-innovatemap-uses-vellora-to-move-product-solutions-forward/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsGive your productivity a lift with automated cr' || t.startsWith('AI FlowchartsGive your productivity a lift with automated cr')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_how_sharetribe_uses_vellora_for_product_shaping', () => {
test('customers_how_sharetribe_uses_vellora_for_product_shaping: title matches GT', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('nestbridge’s story');
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: h1 "Marketvine’s story: how a dist"', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marketvine’s story: how a distributed team found their home for product shaping' || t.startsWith('Marketvine’s story: how a distributed team found their home for product shaping'))).toBeTruthy();
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: h2 "Story summary"', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Story summary' || t.startsWith('Story summary'))).toBeTruthy();
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: h2 "One bright space for planning "', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'One bright space for planning and team updates' || t.startsWith('One bright space for planning and team updates'))).toBeTruthy();
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: h2 "Specs, diagrams, and the earli"', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Specs, diagrams, and the earliest sketches' || t.startsWith('Specs, diagrams, and the earliest sketches'))).toBeTruthy();
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: header link "Download"', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: nav link "Log in"', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: nav link "Sign up"', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('customers_how_sharetribe_uses_vellora_for_product_shaping: nav link "AI FlowchartsBoost your moment"', async ({ page }) => {
await page.goto('/customers/how-sharetribe-uses-vellora-for-product-shaping/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your momentum with automated diagram crea' || t.startsWith('AI FlowchartsBoost your momentum with automated diagram crea')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_claude', () => {
test('integrations_claude: title matches GT', async ({ page }) => {
await page.goto('/integrations/claude/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('lumen');
});
test('integrations_claude: h1 "Lumen"', async ({ page }) => {
await page.goto('/integrations/claude/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Lumen' || t.startsWith('Lumen'))).toBeTruthy();
});
test('integrations_claude: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/claude/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_claude: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/claude/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_claude: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/claude/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_claude: header link "Download"', async ({ page }) => {
await page.goto('/integrations/claude/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_claude: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/claude/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_claude: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/claude/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_claude: nav link "AI FlowchartsBoost your moment"', async ({ page }) => {
await page.goto('/integrations/claude/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your momentum with diagrams built for you' || t.startsWith('AI FlowchartsBoost your momentum with diagrams built for you')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_codex', () => {
test('integrations_codex: title matches GT', async ({ page }) => {
await page.goto('/integrations/codex/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('codavia');
});
test('integrations_codex: h1 "Codavia"', async ({ page }) => {
await page.goto('/integrations/codex/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Codavia' || t.startsWith('Codavia'))).toBeTruthy();
});
test('integrations_codex: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/codex/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_codex: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/codex/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_codex: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/codex/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_codex: header link "Download"', async ({ page }) => {
await page.goto('/integrations/codex/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_codex: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/codex/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_codex: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/codex/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_codex: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/integrations/codex/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with hands-off buil' || t.startsWith('AI FlowchartsBoost how much you get done with hands-off buil')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_github', () => {
test('integrations_github: title matches GT', async ({ page }) => {
await page.goto('/integrations/github/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('forgepoint');
});
test('integrations_github: h1 "Forgepoint"', async ({ page }) => {
await page.goto('/integrations/github/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Forgepoint' || t.startsWith('Forgepoint'))).toBeTruthy();
});
test('integrations_github: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/github/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_github: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/github/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_github: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/github/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_github: header link "Download"', async ({ page }) => {
await page.goto('/integrations/github/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_github: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/github/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_github: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/github/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_github: nav link "AI FlowchartsSpeed up your wor"', async ({ page }) => {
await page.goto('/integrations/github/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsSpeed up your work with charts that build thems' || t.startsWith('AI FlowchartsSpeed up your work with charts that build thems')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_google_docs', () => {
test('integrations_google_docs: title matches GT', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('docwave');
});
test('integrations_google_docs: h1 "Docwave"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Docwave' || t.startsWith('Docwave'))).toBeTruthy();
});
test('integrations_google_docs: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_google_docs: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_google_docs: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_google_docs: header link "Download"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_google_docs: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_google_docs: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_google_docs: nav link "AI FlowchartsBoost how much yo"', async ({ page }) => {
await page.goto('/integrations/google-docs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost how much you get done with automated buil' || t.startsWith('AI FlowchartsBoost how much you get done with automated buil')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_jira', () => {
test('integrations_jira: title matches GT', async ({ page }) => {
await page.goto('/integrations/jira/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('tasklane');
});
test('integrations_jira: h1 "Tasklane"', async ({ page }) => {
await page.goto('/integrations/jira/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tasklane' || t.startsWith('Tasklane'))).toBeTruthy();
});
test('integrations_jira: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/jira/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_jira: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/jira/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_jira: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/jira/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_jira: header link "Download"', async ({ page }) => {
await page.goto('/integrations/jira/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_jira: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/jira/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_jira: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/jira/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_jira: nav link "AI FlowchartsTurn a rough sket"', async ({ page }) => {
await page.goto('/integrations/jira/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsTurn a rough sketch into a diagram in one click' || t.startsWith('AI FlowchartsTurn a rough sketch into a diagram in one click')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_linear', () => {
test('integrations_linear: title matches GT', async ({ page }) => {
await page.goto('/integrations/linear/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('tracklane');
});
test('integrations_linear: h1 "Tracklane"', async ({ page }) => {
await page.goto('/integrations/linear/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tracklane' || t.startsWith('Tracklane'))).toBeTruthy();
});
test('integrations_linear: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/linear/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_linear: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/linear/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_linear: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/linear/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_linear: header link "Download"', async ({ page }) => {
await page.goto('/integrations/linear/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_linear: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/linear/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_linear: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/linear/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_linear: nav link "AI FlowchartsBoost your workfl"', async ({ page }) => {
await page.goto('/integrations/linear/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBoost your workflow with instant, automated cre' || t.startsWith('AI FlowchartsBoost your workflow with instant, automated cre')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_notion', () => {
test('integrations_notion: title matches GT', async ({ page }) => {
await page.goto('/integrations/notion/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('pagecraft');
});
test('integrations_notion: h1 "Pagecraft"', async ({ page }) => {
await page.goto('/integrations/notion/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pagecraft' || t.startsWith('Pagecraft'))).toBeTruthy();
});
test('integrations_notion: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/notion/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_notion: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/notion/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_notion: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/notion/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_notion: header link "Download"', async ({ page }) => {
await page.goto('/integrations/notion/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_notion: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/notion/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_notion: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/notion/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_notion: nav link "AI FlowchartsBuild faster than"', async ({ page }) => {
await page.goto('/integrations/notion/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsBuild faster than ever with AI that does the he' || t.startsWith('AI FlowchartsBuild faster than ever with AI that does the he')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - integrations_slack', () => {
test('integrations_slack: title matches GT', async ({ page }) => {
await page.goto('/integrations/slack/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('chatterly');
});
test('integrations_slack: h1 "Chatterly"', async ({ page }) => {
await page.goto('/integrations/slack/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Chatterly' || t.startsWith('Chatterly'))).toBeTruthy();
});
test('integrations_slack: h2 "Made by"', async ({ page }) => {
await page.goto('/integrations/slack/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Made by' || t.startsWith('Made by'))).toBeTruthy();
});
test('integrations_slack: h2 "Website"', async ({ page }) => {
await page.goto('/integrations/slack/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Website' || t.startsWith('Website'))).toBeTruthy();
});
test('integrations_slack: h2 "Resources"', async ({ page }) => {
await page.goto('/integrations/slack/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Resources' || t.startsWith('Resources'))).toBeTruthy();
});
test('integrations_slack: header link "Download"', async ({ page }) => {
await page.goto('/integrations/slack/');
const links = page.locator('header a, [role="banner"] a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Download' || t.startsWith('Download')), 'link text in header').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('whimsical-logos.zip')), 'href fragment present').toBeTruthy();
});
test('integrations_slack: nav link "Log in"', async ({ page }) => {
await page.goto('/integrations/slack/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Log in' || t.startsWith('Log in')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('login')), 'href fragment present').toBeTruthy();
});
test('integrations_slack: nav link "Sign up"', async ({ page }) => {
await page.goto('/integrations/slack/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up' || t.startsWith('Sign up')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('signup')), 'href fragment present').toBeTruthy();
});
test('integrations_slack: nav link "AI FlowchartsTurn a quick prom"', async ({ page }) => {
await page.goto('/integrations/slack/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI FlowchartsTurn a quick prompt into a finished chart in se' || t.startsWith('AI FlowchartsTurn a quick prompt into a finished chart in se')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('ai-text-to-flowchart')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - learn_boards', () => {
test('learn_boards: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora boards');
});
test('learn_boards: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards: h1 "Vellora boards"', async ({ page }) => {
await page.goto('/learn/boards/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora boards' || t.startsWith('Vellora boards'))).toBeTruthy();
});
});
test.describe('Functional - learn_contact_us', () => {
test('learn_contact_us: title matches GT', async ({ page }) => {
await page.goto('/learn/contact-us/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('contact us');
});
test('learn_contact_us: h1 "Guides"', async ({ page }) => {
await page.goto('/learn/contact-us/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Guides' || t.startsWith('Guides'))).toBeTruthy();
});
test('learn_contact_us: h1 "Contact us"', async ({ page }) => {
await page.goto('/learn/contact-us/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Contact us' || t.startsWith('Contact us'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs', () => {
test('learn_faqs: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('faqs');
});
test('learn_faqs: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs: h1 "FAQs"', async ({ page }) => {
await page.goto('/learn/faqs/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'FAQs' || t.startsWith('FAQs'))).toBeTruthy();
});
});
test.describe('Functional - learn_get_started', () => {
test('learn_get_started: title matches GT', async ({ page }) => {
await page.goto('/learn/get-started/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('getting started');
});
test('learn_get_started: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/get-started/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_get_started: h1 "Getting started"', async ({ page }) => {
await page.goto('/learn/get-started/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Getting started' || t.startsWith('Getting started'))).toBeTruthy();
});
});
test.describe('Functional - learn_get_started_command_menu', () => {
test('learn_get_started_command_menu: title matches GT', async ({ page }) => {
await page.goto('/learn/get-started/command-menu/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('using the command menu');
});
test('learn_get_started_command_menu: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/get-started/command-menu/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_get_started_command_menu: h1 "Master the command menu"', async ({ page }) => {
await page.goto('/learn/get-started/command-menu/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Master the command menu' || t.startsWith('Master the command menu'))).toBeTruthy();
});
test('learn_get_started_command_menu: h2 "Launch the command menuCopied!"', async ({ page }) => {
await page.goto('/learn/get-started/command-menu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch the command menuCopied!Copy link to section' || t.startsWith('Launch the command menuCopied!Copy link to section'))).toBeTruthy();
});
test('learn_get_started_command_menu: h2 "Recap"', async ({ page }) => {
await page.goto('/learn/get-started/command-menu/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Recap' || t.startsWith('Recap'))).toBeTruthy();
});
});
test.describe('Functional - learn_get_started_flowcharts', () => {
test('learn_get_started_flowcharts: title matches GT', async ({ page }) => {
await page.goto('/learn/get-started/flowcharts/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('getting started with flowcharts');
});
test('learn_get_started_flowcharts: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/get-started/flowcharts/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_get_started_flowcharts: h1 "Flowcharts: a quick-start guid"', async ({ page }) => {
await page.goto('/learn/get-started/flowcharts/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Flowcharts: a quick-start guide' || t.startsWith('Flowcharts: a quick-start guide'))).toBeTruthy();
});
test('learn_get_started_flowcharts: h2 "Building a flowchartCopied!Cop"', async ({ page }) => {
await page.goto('/learn/get-started/flowcharts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Building a flowchartCopied!Copy link to section' || t.startsWith('Building a flowchartCopied!Copy link to section'))).toBeTruthy();
});
test('learn_get_started_flowcharts: h2 "Handy flowchart extrasCopied!L"', async ({ page }) => {
await page.goto('/learn/get-started/flowcharts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Handy flowchart extrasCopied!Link to this heading' || t.startsWith('Handy flowchart extrasCopied!Link to this heading'))).toBeTruthy();
});
});
test.describe('Functional - learn_get_started_mind_maps', () => {
test('learn_get_started_mind_maps: title matches GT', async ({ page }) => {
await page.goto('/learn/get-started/mind-maps/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('getting started with mind maps');
});
test('learn_get_started_mind_maps: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/get-started/mind-maps/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_get_started_mind_maps: h1 "Getting started with mind maps"', async ({ page }) => {
await page.goto('/learn/get-started/mind-maps/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Getting started with mind maps' || t.startsWith('Getting started with mind maps'))).toBeTruthy();
});
test('learn_get_started_mind_maps: h2 "Creating a mind mapCopied!Link"', async ({ page }) => {
await page.goto('/learn/get-started/mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Creating a mind mapCopied!Link to this section' || t.startsWith('Creating a mind mapCopied!Link to this section'))).toBeTruthy();
});
test('learn_get_started_mind_maps: h2 "Make the mind map your ownCopi"', async ({ page }) => {
await page.goto('/learn/get-started/mind-maps/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make the mind map your ownCopied!Link to this section' || t.startsWith('Make the mind map your ownCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_get_started_what_is_vellora', () => {
test('learn_get_started_what_is_vellora: title matches GT', async ({ page }) => {
await page.goto('/learn/get-started/what-is-vellora/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('what is vellora?');
});
test('learn_get_started_what_is_vellora: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/get-started/what-is-vellora/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_get_started_what_is_vellora: h1 "What is Vellora?"', async ({ page }) => {
await page.goto('/learn/get-started/what-is-vellora/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What is Vellora?' || t.startsWith('What is Vellora?'))).toBeTruthy();
});
test('learn_get_started_what_is_vellora: h2 "Related guides"', async ({ page }) => {
await page.goto('/learn/get-started/what-is-vellora/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related guides' || t.startsWith('Related guides'))).toBeTruthy();
});
test('learn_get_started_what_is_vellora: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/get-started/what-is-vellora/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_get_started_wireframes', () => {
test('learn_get_started_wireframes: title matches GT', async ({ page }) => {
await page.goto('/learn/get-started/wireframes/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('getting started with wireframes');
});
test('learn_get_started_wireframes: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/get-started/wireframes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_get_started_wireframes: h1 "Getting set up with wireframes"', async ({ page }) => {
await page.goto('/learn/get-started/wireframes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Getting set up with wireframes' || t.startsWith('Getting set up with wireframes'))).toBeTruthy();
});
test('learn_get_started_wireframes: h2 "Switching in and out of wirefr"', async ({ page }) => {
await page.goto('/learn/get-started/wireframes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Switching in and out of wireframe modeCopied!Copy link to section' || t.startsWith('Switching in and out of wireframe modeCopied!Copy link to section'))).toBeTruthy();
});
test('learn_get_started_wireframes: h2 "More to explore"', async ({ page }) => {
await page.goto('/learn/get-started/wireframes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'More to explore' || t.startsWith('More to explore'))).toBeTruthy();
});
});
test.describe('Functional - learn_integrations', () => {
test('learn_integrations: title matches GT', async ({ page }) => {
await page.goto('/learn/integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('integrations');
});
test('learn_integrations: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_integrations: h1 "Integrations"', async ({ page }) => {
await page.goto('/learn/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Integrations' || t.startsWith('Integrations'))).toBeTruthy();
});
});
test.describe('Functional - learn_integrations_canva', () => {
test('learn_integrations_canva: title matches GT', async ({ page }) => {
await page.goto('/learn/integrations/canva/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('embedding files in canvara');
});
test('learn_integrations_canva: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/integrations/canva/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_integrations_canva: h1 "Embedding files in Canvara"', async ({ page }) => {
await page.goto('/learn/integrations/canva/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Embedding files in Canvara' || t.startsWith('Embedding files in Canvara'))).toBeTruthy();
});
test('learn_integrations_canva: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/integrations/canva/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_integrations_confluence', () => {
test('learn_integrations_confluence: title matches GT', async ({ page }) => {
await page.goto('/learn/integrations/confluence/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('creating tasklane & pagewell smart links');
});
test('learn_integrations_confluence: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/integrations/confluence/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_integrations_confluence: h1 "Creating Volt & Verso Smart Li"', async ({ page }) => {
await page.goto('/learn/integrations/confluence/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Creating Volt & Verso Smart Links for your Vellora Files' || t.startsWith('Creating Volt & Verso Smart Links for your Vellora Files'))).toBeTruthy();
});
test('learn_integrations_confluence: h2 "VoltCopied!Copy link to sectio"', async ({ page }) => {
await page.goto('/learn/integrations/confluence/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'VoltCopied!Copy link to section' || t.startsWith('VoltCopied!Copy link to section'))).toBeTruthy();
});
test('learn_integrations_confluence: h2 "VersoCopied!Link to this secti"', async ({ page }) => {
await page.goto('/learn/integrations/confluence/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'VersoCopied!Link to this section' || t.startsWith('VersoCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_integrations_desktop_mcp', () => {
test('learn_integrations_desktop_mcp: title matches GT', async ({ page }) => {
await page.goto('/learn/integrations/desktop-mcp/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('vellora desktop mcp (beta)');
});
test('learn_integrations_desktop_mcp: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/integrations/desktop-mcp/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_integrations_desktop_mcp: h1 "Vellora Desktop MCP (beta)"', async ({ page }) => {
await page.goto('/learn/integrations/desktop-mcp/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vellora Desktop MCP (beta)' || t.startsWith('Vellora Desktop MCP (beta)'))).toBeTruthy();
});
test('learn_integrations_desktop_mcp: h2 "Step 1: Launch the Vellora des"', async ({ page }) => {
await page.goto('/learn/integrations/desktop-mcp/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Step 1: Launch the Vellora desktop appCopied!Copy link to section' || t.startsWith('Step 1: Launch the Vellora desktop appCopied!Copy link to section'))).toBeTruthy();
});
test('learn_integrations_desktop_mcp: h2 "Step 2: Set up your MCP client"', async ({ page }) => {
await page.goto('/learn/integrations/desktop-mcp/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Step 2: Set up your MCP clientCopied!Copy link to section' || t.startsWith('Step 2: Set up your MCP clientCopied!Copy link to section'))).toBeTruthy();
});
});
test.describe('Functional - learn_integrations_guru', () => {
test('learn_integrations_guru: title matches GT', async ({ page }) => {
await page.goto('/learn/integrations/guru/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('embedding files in knowvia');
});
test('learn_integrations_guru: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/integrations/guru/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_integrations_guru: h1 "Embedding a file in Knowla"', async ({ page }) => {
await page.goto('/learn/integrations/guru/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Embedding a file in Knowla' || t.startsWith('Embedding a file in Knowla'))).toBeTruthy();
});
test('learn_integrations_guru: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/integrations/guru/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_integrations_zendesk', () => {
test('learn_integrations_zendesk: title matches GT', async ({ page }) => {
await page.goto('/learn/integrations/zendesk/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('embedding files in helpnest');
});
test('learn_integrations_zendesk: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/integrations/zendesk/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_integrations_zendesk: h1 "Embedding files in Helpnest"', async ({ page }) => {
await page.goto('/learn/integrations/zendesk/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Embedding files in Helpnest' || t.startsWith('Embedding files in Helpnest'))).toBeTruthy();
});
test('learn_integrations_zendesk: h2 "Authored by:"', async ({ page }) => {
await page.goto('/learn/integrations/zendesk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Authored by:' || t.startsWith('Authored by:'))).toBeTruthy();
});
test('learn_integrations_zendesk: h2 "Overview"', async ({ page }) => {
await page.goto('/learn/integrations/zendesk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Overview' || t.startsWith('Overview'))).toBeTruthy();
});
});
test.describe('Functional - learn_workspaces_create_new', () => {
test('learn_workspaces_create_new: title matches GT', async ({ page }) => {
await page.goto('/learn/workspaces/create-new/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to create a new workspace');
});
test('learn_workspaces_create_new: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/workspaces/create-new/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_workspaces_create_new: h1 "How to create a new workspace"', async ({ page }) => {
await page.goto('/learn/workspaces/create-new/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How to create a new workspace' || t.startsWith('How to create a new workspace'))).toBeTruthy();
});
test('learn_workspaces_create_new: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/workspaces/create-new/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_billing', () => {
test('learn_billing_billing: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/billing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how billing works in workspaces');
});
test('learn_billing_billing: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/billing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_billing: h1 "Understanding workspace billin"', async ({ page }) => {
await page.goto('/learn/billing/billing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Understanding workspace billing' || t.startsWith('Understanding workspace billing'))).toBeTruthy();
});
test('learn_billing_billing: h2 "How is billing handled in a wo"', async ({ page }) => {
await page.goto('/learn/billing/billing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How is billing handled in a workspace?Copied!Copy link to section' || t.startsWith('How is billing handled in a workspace?Copied!Copy link to section'))).toBeTruthy();
});
test('learn_billing_billing: h2 "What happens when I add an edi"', async ({ page }) => {
await page.goto('/learn/billing/billing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What happens when I add an editor?Copied!Link to this section' || t.startsWith('What happens when I add an editor?Copied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_cancel', () => {
test('learn_billing_cancel: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/cancel/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to cancel your subscription');
});
test('learn_billing_cancel: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/cancel/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_cancel: h1 "Ending your Vellora subscripti"', async ({ page }) => {
await page.goto('/learn/billing/cancel/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ending your Vellora subscription' || t.startsWith('Ending your Vellora subscription'))).toBeTruthy();
});
test('learn_billing_cancel: h2 "Authored by:"', async ({ page }) => {
await page.goto('/learn/billing/cancel/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Authored by:' || t.startsWith('Authored by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_credit_card', () => {
test('learn_billing_credit_card: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/credit-card/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('changing the credit card details on your');
});
test('learn_billing_credit_card: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/credit-card/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_credit_card: h1 "Editing the credit card on fil"', async ({ page }) => {
await page.goto('/learn/billing/credit-card/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Editing the credit card on file for your account' || t.startsWith('Editing the credit card on file for your account'))).toBeTruthy();
});
test('learn_billing_credit_card: h2 "Related guides"', async ({ page }) => {
await page.goto('/learn/billing/credit-card/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related guides' || t.startsWith('Related guides'))).toBeTruthy();
});
test('learn_billing_credit_card: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/billing/credit-card/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_find_invoices', () => {
test('learn_billing_find_invoices: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/find-invoices/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('locating your invoices');
});
test('learn_billing_find_invoices: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/find-invoices/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_find_invoices: h1 "Finding your invoices"', async ({ page }) => {
await page.goto('/learn/billing/find-invoices/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Finding your invoices' || t.startsWith('Finding your invoices'))).toBeTruthy();
});
test('learn_billing_find_invoices: h2 "Authored by:"', async ({ page }) => {
await page.goto('/learn/billing/find-invoices/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Authored by:' || t.startsWith('Authored by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_pricing', () => {
test('learn_billing_pricing: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/pricing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('pricing and discounts');
});
test('learn_billing_pricing: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/pricing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_pricing: h1 "Plans and discounts"', async ({ page }) => {
await page.goto('/learn/billing/pricing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Plans and discounts' || t.startsWith('Plans and discounts'))).toBeTruthy();
});
test('learn_billing_pricing: h2 "SubscriptionCopied!Link to thi"', async ({ page }) => {
await page.goto('/learn/billing/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'SubscriptionCopied!Link to this section' || t.startsWith('SubscriptionCopied!Link to this section'))).toBeTruthy();
});
test('learn_billing_pricing: h2 "DiscountsCopied!Link to this s"', async ({ page }) => {
await page.goto('/learn/billing/pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'DiscountsCopied!Link to this section' || t.startsWith('DiscountsCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_tax', () => {
test('learn_billing_tax: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/tax/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sales tax and vat');
});
test('learn_billing_tax: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/tax/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_tax: h1 "Sales tax and VAT"', async ({ page }) => {
await page.goto('/learn/billing/tax/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sales tax and VAT' || t.startsWith('Sales tax and VAT'))).toBeTruthy();
});
test('learn_billing_tax: h2 "US sales taxCopied!Link to thi"', async ({ page }) => {
await page.goto('/learn/billing/tax/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'US sales taxCopied!Link to this section' || t.startsWith('US sales taxCopied!Link to this section'))).toBeTruthy();
});
test('learn_billing_tax: h2 "Value-added tax (VAT)Copied!Li"', async ({ page }) => {
await page.goto('/learn/billing/tax/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Value-added tax (VAT)Copied!Link to this section' || t.startsWith('Value-added tax (VAT)Copied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_update_info', () => {
test('learn_billing_update_info: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/update-info/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('change your payment details');
});
test('learn_billing_update_info: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/update-info/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_update_info: h1 "Changing your billing informat"', async ({ page }) => {
await page.goto('/learn/billing/update-info/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Changing your billing information' || t.startsWith('Changing your billing information'))).toBeTruthy();
});
test('learn_billing_update_info: h2 "Author:"', async ({ page }) => {
await page.goto('/learn/billing/update-info/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Author:' || t.startsWith('Author:'))).toBeTruthy();
});
});
test.describe('Functional - learn_billing_your_invoice', () => {
test('learn_billing_your_invoice: title matches GT', async ({ page }) => {
await page.goto('/learn/billing/your-invoice/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('understanding your vellora invoice');
});
test('learn_billing_your_invoice: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/billing/your-invoice/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_billing_your_invoice: h1 "Understanding your Vellora inv"', async ({ page }) => {
await page.goto('/learn/billing/your-invoice/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Understanding your Vellora invoice' || t.startsWith('Understanding your Vellora invoice'))).toBeTruthy();
});
test('learn_billing_your_invoice: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/billing/your-invoice/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_connectors', () => {
test('learn_boards_connectors: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/connectors/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('working with connectors');
});
test('learn_boards_connectors: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/connectors/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_connectors: h1 "Getting to know connectors"', async ({ page }) => {
await page.goto('/learn/boards/connectors/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Getting to know connectors' || t.startsWith('Getting to know connectors'))).toBeTruthy();
});
test('learn_boards_connectors: h2 "Choosing endpointsCopied!Copy "', async ({ page }) => {
await page.goto('/learn/boards/connectors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Choosing endpointsCopied!Copy link to section' || t.startsWith('Choosing endpointsCopied!Copy link to section'))).toBeTruthy();
});
test('learn_boards_connectors: h2 "Attaching to shapesCopied!Link"', async ({ page }) => {
await page.goto('/learn/boards/connectors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Attaching to shapesCopied!Link to this section' || t.startsWith('Attaching to shapesCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_grid', () => {
test('learn_boards_grid: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/grid/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('using the grid and smart snapping');
});
test('learn_boards_grid: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/grid/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_grid: h1 "Using the grid and automatic a"', async ({ page }) => {
await page.goto('/learn/boards/grid/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Using the grid and automatic alignment' || t.startsWith('Using the grid and automatic alignment'))).toBeTruthy();
});
test('learn_boards_grid: h2 "How items snapCopied!Copy link"', async ({ page }) => {
await page.goto('/learn/boards/grid/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How items snapCopied!Copy link to section' || t.startsWith('How items snapCopied!Copy link to section'))).toBeTruthy();
});
test('learn_boards_grid: h2 "Auto-aligningCopied!Link to th"', async ({ page }) => {
await page.goto('/learn/boards/grid/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Auto-aligningCopied!Link to this section' || t.startsWith('Auto-aligningCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_links', () => {
test('learn_boards_links: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/links/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('adding and displaying links in vellora f');
});
test('learn_boards_links: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/links/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_links: h1 "Adding and displaying links in"', async ({ page }) => {
await page.goto('/learn/boards/links/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Adding and displaying links in Vellora files' || t.startsWith('Adding and displaying links in Vellora files'))).toBeTruthy();
});
test('learn_boards_links: h2 "Adding links to boardsCopied!L"', async ({ page }) => {
await page.goto('/learn/boards/links/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Adding links to boardsCopied!Link to this heading' || t.startsWith('Adding links to boardsCopied!Link to this heading'))).toBeTruthy();
});
test('learn_boards_links: h2 "Related articles"', async ({ page }) => {
await page.goto('/learn/boards/links/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related articles' || t.startsWith('Related articles'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_paste_as', () => {
test('learn_boards_paste_as: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/paste-as/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('paste text as objects');
});
test('learn_boards_paste_as: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/paste-as/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_paste_as: h1 "Text-to-object pasting options"', async ({ page }) => {
await page.goto('/learn/boards/paste-as/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Text-to-object pasting options' || t.startsWith('Text-to-object pasting options'))).toBeTruthy();
});
test('learn_boards_paste_as: h2 "How the “Paste as” menu worksC"', async ({ page }) => {
await page.goto('/learn/boards/paste-as/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How the “Paste as” menu worksCopied!Link to this section' || t.startsWith('How the “Paste as” menu worksCopied!Link to this section'))).toBeTruthy();
});
test('learn_boards_paste_as: h2 "Paste options you can useCopie"', async ({ page }) => {
await page.goto('/learn/boards/paste-as/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Paste options you can useCopied!Link to this section' || t.startsWith('Paste options you can useCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_performance', () => {
test('learn_boards_performance: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/performance/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('optimizing performance on larger boards');
});
test('learn_boards_performance: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/performance/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_performance: h1 "Improving performance on large"', async ({ page }) => {
await page.goto('/learn/boards/performance/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Improving performance on larger boards' || t.startsWith('Improving performance on larger boards'))).toBeTruthy();
});
test('learn_boards_performance: h2 "How many items a board holdsCo"', async ({ page }) => {
await page.goto('/learn/boards/performance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How many items a board holdsCopied!Copy link to section' || t.startsWith('How many items a board holdsCopied!Copy link to section'))).toBeTruthy();
});
test('learn_boards_performance: h2 "The browser you useCopied!Copy"', async ({ page }) => {
await page.goto('/learn/boards/performance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The browser you useCopied!Copy link to section' || t.startsWith('The browser you useCopied!Copy link to section'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_sections', () => {
test('learn_boards_sections: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/sections/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('structuring your canvas with sections');
});
test('learn_boards_sections: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/sections/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_sections: h1 "Organizing content with sectio"', async ({ page }) => {
await page.goto('/learn/boards/sections/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Organizing content with sections in Vellora' || t.startsWith('Organizing content with sections in Vellora'))).toBeTruthy();
});
test('learn_boards_sections: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/boards/sections/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
test('learn_boards_sections: h2 "Summary"', async ({ page }) => {
await page.goto('/learn/boards/sections/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Summary' || t.startsWith('Summary'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_sections_and_objects', () => {
test('learn_boards_sections_and_objects: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/sections-and-objects/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('linking to sections and objects');
});
test('learn_boards_sections_and_objects: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/sections-and-objects/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_sections_and_objects: h1 "Linking to objects and section"', async ({ page }) => {
await page.goto('/learn/boards/sections-and-objects/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Linking to objects and sections' || t.startsWith('Linking to objects and sections'))).toBeTruthy();
});
test('learn_boards_sections_and_objects: h2 "Sharing a link to a single obj"', async ({ page }) => {
await page.goto('/learn/boards/sections-and-objects/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sharing a link to a single objectCopied!Copy link to section' || t.startsWith('Sharing a link to a single objectCopied!Copy link to section'))).toBeTruthy();
});
test('learn_boards_sections_and_objects: h2 "Sharing a link to a single sec"', async ({ page }) => {
await page.goto('/learn/boards/sections-and-objects/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sharing a link to a single sectionCopied!Copy link to section' || t.startsWith('Sharing a link to a single sectionCopied!Copy link to section'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_spellcheck', () => {
test('learn_boards_spellcheck: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/spellcheck/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('using spellcheck');
});
test('learn_boards_spellcheck: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/spellcheck/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_spellcheck: h1 "Run spellcheck"', async ({ page }) => {
await page.goto('/learn/boards/spellcheck/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Run spellcheck' || t.startsWith('Run spellcheck'))).toBeTruthy();
});
test('learn_boards_spellcheck: h2 "Authored by:"', async ({ page }) => {
await page.goto('/learn/boards/spellcheck/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Authored by:' || t.startsWith('Authored by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_sticky_notes', () => {
test('learn_boards_sticky_notes: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/sticky-notes/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('using sticky notes on boards');
});
test('learn_boards_sticky_notes: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/sticky-notes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_sticky_notes: h1 "Using sticky notes on boards"', async ({ page }) => {
await page.goto('/learn/boards/sticky-notes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Using sticky notes on boards' || t.startsWith('Using sticky notes on boards'))).toBeTruthy();
});
test('learn_boards_sticky_notes: h2 "Authored by:"', async ({ page }) => {
await page.goto('/learn/boards/sticky-notes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Authored by:' || t.startsWith('Authored by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_thumbnails', () => {
test('learn_boards_thumbnails: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/thumbnails/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('setting custom thumbnails');
});
test('learn_boards_thumbnails: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/thumbnails/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_thumbnails: h1 "Choosing a board thumbnail"', async ({ page }) => {
await page.goto('/learn/boards/thumbnails/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Choosing a board thumbnail' || t.startsWith('Choosing a board thumbnail'))).toBeTruthy();
});
test('learn_boards_thumbnails: h2 "Related articles"', async ({ page }) => {
await page.goto('/learn/boards/thumbnails/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related articles' || t.startsWith('Related articles'))).toBeTruthy();
});
test('learn_boards_thumbnails: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/boards/thumbnails/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_tidy_boards', () => {
test('learn_boards_tidy_boards: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/tidy-boards/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('neatly arranging boards using alignment,');
});
test('learn_boards_tidy_boards: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/tidy-boards/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_tidy_boards: h1 "Keeping your boards neat with "', async ({ page }) => {
await page.goto('/learn/boards/tidy-boards/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keeping your boards neat with align, distribute, and auto-layout' || t.startsWith('Keeping your boards neat with align, distribute, and auto-layout'))).toBeTruthy();
});
test('learn_boards_tidy_boards: h2 "Aligning your objectsCopied!Li"', async ({ page }) => {
await page.goto('/learn/boards/tidy-boards/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Aligning your objectsCopied!Link to this heading' || t.startsWith('Aligning your objectsCopied!Link to this heading'))).toBeTruthy();
});
test('learn_boards_tidy_boards: h2 "Spacing out a selectionCopied!"', async ({ page }) => {
await page.goto('/learn/boards/tidy-boards/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Spacing out a selectionCopied!Copy link to section' || t.startsWith('Spacing out a selectionCopied!Copy link to section'))).toBeTruthy();
});
});
test.describe('Functional - learn_boards_timer', () => {
test('learn_boards_timer: title matches GT', async ({ page }) => {
await page.goto('/learn/boards/timer/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('using the timer in boards');
});
test('learn_boards_timer: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/boards/timer/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_boards_timer: h1 "Working with the board timer"', async ({ page }) => {
await page.goto('/learn/boards/timer/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Working with the board timer' || t.startsWith('Working with the board timer'))).toBeTruthy();
});
test('learn_boards_timer: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/boards/timer/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_cloud_icons', () => {
test('learn_faqs_cloud_icons: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/cloud-icons/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('does vellora include cloud architecture ');
});
test('learn_faqs_cloud_icons: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/cloud-icons/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_cloud_icons: h1 "Does Vellora have cloud archit"', async ({ page }) => {
await page.goto('/learn/faqs/cloud-icons/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Does Vellora have cloud architecture icons?' || t.startsWith('Does Vellora have cloud architecture icons?'))).toBeTruthy();
});
test('learn_faqs_cloud_icons: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/faqs/cloud-icons/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
test('learn_faqs_cloud_icons: h2 "Summary"', async ({ page }) => {
await page.goto('/learn/faqs/cloud-icons/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Summary' || t.startsWith('Summary'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_collaboration', () => {
test('learn_faqs_collaboration: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/collaboration/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('working together in real time');
});
test('learn_faqs_collaboration: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/collaboration/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_collaboration: h1 "Live collaboration with your t"', async ({ page }) => {
await page.goto('/learn/faqs/collaboration/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Live collaboration with your teammates' || t.startsWith('Live collaboration with your teammates'))).toBeTruthy();
});
test('learn_faqs_collaboration: h2 "Check who\'s viewing the fileCo"', async ({ page }) => {
await page.goto('/learn/faqs/collaboration/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Check who\'s viewing the fileCopied!Link to this section' || t.startsWith('Check who\'s viewing the fileCopied!Link to this section'))).toBeTruthy();
});
test('learn_faqs_collaboration: h2 "See who is editing the fileCop"', async ({ page }) => {
await page.goto('/learn/faqs/collaboration/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See who is editing the fileCopied!Link to this section' || t.startsWith('See who is editing the fileCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_colors_toned_down', () => {
test('learn_faqs_colors_toned_down: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/colors-toned-down/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('why are some elements shown with muted c');
});
test('learn_faqs_colors_toned_down: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/colors-toned-down/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_colors_toned_down: h1 "Why do some elements look a li"', async ({ page }) => {
await page.goto('/learn/faqs/colors-toned-down/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why do some elements look a little muted?' || t.startsWith('Why do some elements look a little muted?'))).toBeTruthy();
});
test('learn_faqs_colors_toned_down: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/faqs/colors-toned-down/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_dark_mode', () => {
test('learn_faqs_dark_mode: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/dark-mode/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('does vellora have a dark mode?');
});
test('learn_faqs_dark_mode: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/dark-mode/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_dark_mode: h1 "Does Vellora have a dark mode?"', async ({ page }) => {
await page.goto('/learn/faqs/dark-mode/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Does Vellora have a dark mode?' || t.startsWith('Does Vellora have a dark mode?'))).toBeTruthy();
});
test('learn_faqs_dark_mode: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/faqs/dark-mode/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
test('learn_faqs_dark_mode: h2 "Overview"', async ({ page }) => {
await page.goto('/learn/faqs/dark-mode/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Overview' || t.startsWith('Overview'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_feedback', () => {
test('learn_faqs_feedback: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/feedback/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sharing ideas, feedback, and requests');
});
test('learn_faqs_feedback: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/feedback/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_feedback: h1 "Sending feedback and feature r"', async ({ page }) => {
await page.goto('/learn/faqs/feedback/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sending feedback and feature requests' || t.startsWith('Sending feedback and feature requests'))).toBeTruthy();
});
test('learn_faqs_feedback: h2 "Ways to share feedbackCopied!C"', async ({ page }) => {
await page.goto('/learn/faqs/feedback/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ways to share feedbackCopied!Copy link to section' || t.startsWith('Ways to share feedbackCopied!Copy link to section'))).toBeTruthy();
});
test('learn_faqs_feedback: h2 "Where your feedback goes nextC"', async ({ page }) => {
await page.goto('/learn/faqs/feedback/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Where your feedback goes nextCopied!Copy link to this part' || t.startsWith('Where your feedback goes nextCopied!Copy link to this part'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_filter_objects', () => {
test('learn_faqs_filter_objects: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/filter-objects/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to filter selected objects');
});
test('learn_faqs_filter_objects: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/filter-objects/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_filter_objects: h1 "How to filter what you\'ve sele"', async ({ page }) => {
await page.goto('/learn/faqs/filter-objects/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How to filter what you\'ve selected' || t.startsWith('How to filter what you\'ve selected'))).toBeTruthy();
});
test('learn_faqs_filter_objects: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/faqs/filter-objects/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_free_viewers', () => {
test('learn_faqs_free_viewers: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/free-viewers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('free viewers leaving comments in workspa');
});
test('learn_faqs_free_viewers: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/free-viewers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_free_viewers: h1 "Free viewer comments within wo"', async ({ page }) => {
await page.goto('/learn/faqs/free-viewers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Free viewer comments within workspaces' || t.startsWith('Free viewer comments within workspaces'))).toBeTruthy();
});
test('learn_faqs_free_viewers: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/faqs/free-viewers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
test('learn_faqs_free_viewers: h4 "TipCopied!Link to this section"', async ({ page }) => {
await page.goto('/learn/faqs/free-viewers/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'TipCopied!Link to this section' || t.startsWith('TipCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_hide_cursors', () => {
test('learn_faqs_hide_cursors: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/hide-cursors/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('hiding cursors while collaborating');
});
test('learn_faqs_hide_cursors: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/hide-cursors/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_hide_cursors: h1 "Hiding cursors during collabor"', async ({ page }) => {
await page.goto('/learn/faqs/hide-cursors/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hiding cursors during collaboration' || t.startsWith('Hiding cursors during collaboration'))).toBeTruthy();
});
test('learn_faqs_hide_cursors: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/faqs/hide-cursors/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_icons', () => {
test('learn_faqs_icons: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/icons/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('styling icons for files and folders');
});
test('learn_faqs_icons: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/icons/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_icons: h1 "Personalizing file and folder "', async ({ page }) => {
await page.goto('/learn/faqs/icons/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personalizing file and folder icons' || t.startsWith('Personalizing file and folder icons'))).toBeTruthy();
});
test('learn_faqs_icons: h2 "Related guides"', async ({ page }) => {
await page.goto('/learn/faqs/icons/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related guides' || t.startsWith('Related guides'))).toBeTruthy();
});
test('learn_faqs_icons: h2 "Written by:"', async ({ page }) => {
await page.goto('/learn/faqs/icons/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Written by:' || t.startsWith('Written by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_ipad', () => {
test('learn_faqs_ipad: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/ipad/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('does vellora work on your tablet?');
});
test('learn_faqs_ipad: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/ipad/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_ipad: h1 "Can you use Vellora on an iPad"', async ({ page }) => {
await page.goto('/learn/faqs/ipad/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Can you use Vellora on an iPad?' || t.startsWith('Can you use Vellora on an iPad?'))).toBeTruthy();
});
test('learn_faqs_ipad: h2 "Related guides"', async ({ page }) => {
await page.goto('/learn/faqs/ipad/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Related guides' || t.startsWith('Related guides'))).toBeTruthy();
});
test('learn_faqs_ipad: h2 "Authored by:"', async ({ page }) => {
await page.goto('/learn/faqs/ipad/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Authored by:' || t.startsWith('Authored by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_lines', () => {
test('learn_faqs_lines: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/lines/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how to draw a line');
});
test('learn_faqs_lines: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/lines/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_lines: h1 "How to draw a line"', async ({ page }) => {
await page.goto('/learn/faqs/lines/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How to draw a line' || t.startsWith('How to draw a line'))).toBeTruthy();
});
test('learn_faqs_lines: h2 "Drawing a line using a connect"', async ({ page }) => {
await page.goto('/learn/faqs/lines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Drawing a line using a connectorCopied!Link to this section' || t.startsWith('Drawing a line using a connectorCopied!Link to this section'))).toBeTruthy();
});
test('learn_faqs_lines: h2 "Working with the line elementC"', async ({ page }) => {
await page.goto('/learn/faqs/lines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Working with the line elementCopied!Link to this section' || t.startsWith('Working with the line elementCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_markdown_support', () => {
test('learn_faqs_markdown_support: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/markdown-support/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('markdown support in vellora');
});
test('learn_faqs_markdown_support: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/markdown-support/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_markdown_support: h1 "Markdown support in Vellora"', async ({ page }) => {
await page.goto('/learn/faqs/markdown-support/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Markdown support in Vellora' || t.startsWith('Markdown support in Vellora'))).toBeTruthy();
});
test('learn_faqs_markdown_support: h2 "Copy-paste behaviorCopied!Link"', async ({ page }) => {
await page.goto('/learn/faqs/markdown-support/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Copy-paste behaviorCopied!Link to this section' || t.startsWith('Copy-paste behaviorCopied!Link to this section'))).toBeTruthy();
});
test('learn_faqs_markdown_support: h2 "Importing markdown filesCopied"', async ({ page }) => {
await page.goto('/learn/faqs/markdown-support/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Importing markdown filesCopied!Link to this section' || t.startsWith('Importing markdown filesCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_mobile', () => {
test('learn_faqs_mobile: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/mobile/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('using vellora on mobile');
});
test('learn_faqs_mobile: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/mobile/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_mobile: h1 "Using Vellora on mobile"', async ({ page }) => {
await page.goto('/learn/faqs/mobile/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Using Vellora on mobile' || t.startsWith('Using Vellora on mobile'))).toBeTruthy();
});
test('learn_faqs_mobile: h2 "Logging inCopied!Link to this "', async ({ page }) => {
await page.goto('/learn/faqs/mobile/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Logging inCopied!Link to this section' || t.startsWith('Logging inCopied!Link to this section'))).toBeTruthy();
});
test('learn_faqs_mobile: h2 "CommentingCopied!Link to this "', async ({ page }) => {
await page.goto('/learn/faqs/mobile/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CommentingCopied!Link to this section' || t.startsWith('CommentingCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_moving_files', () => {
test('learn_faqs_moving_files: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/moving-files/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('moving and copying files');
});
test('learn_faqs_moving_files: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/moving-files/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_moving_files: h1 "Moving and copying files"', async ({ page }) => {
await page.goto('/learn/faqs/moving-files/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Moving and copying files' || t.startsWith('Moving and copying files'))).toBeTruthy();
});
test('learn_faqs_moving_files: h2 "How to move or copy files and "', async ({ page }) => {
await page.goto('/learn/faqs/moving-files/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How to move or copy files and foldersCopied!Link to this section' || t.startsWith('How to move or copy files and foldersCopied!Link to this section'))).toBeTruthy();
});
test('learn_faqs_moving_files: h2 "Moving or copying files into a"', async ({ page }) => {
await page.goto('/learn/faqs/moving-files/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Moving or copying files into a different Vellora workspaceCopied!Link to this section' || t.startsWith('Moving or copying files into a different Vellora workspaceCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_overlays', () => {
test('learn_faqs_overlays: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/overlays/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how overlays work in wireframe mode');
});
test('learn_faqs_overlays: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/overlays/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_overlays: h1 "Working with overlays in Wiref"', async ({ page }) => {
await page.goto('/learn/faqs/overlays/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Working with overlays in Wireframe mode' || t.startsWith('Working with overlays in Wireframe mode'))).toBeTruthy();
});
test('learn_faqs_overlays: h2 "Author:"', async ({ page }) => {
await page.goto('/learn/faqs/overlays/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Author:' || t.startsWith('Author:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_reporting_bugs', () => {
test('learn_faqs_reporting_bugs: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/reporting-bugs/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('troubleshooting problems and reporting b');
});
test('learn_faqs_reporting_bugs: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/reporting-bugs/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_reporting_bugs: h1 "Solving problems and reporting"', async ({ page }) => {
await page.goto('/learn/faqs/reporting-bugs/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Solving problems and reporting bugs' || t.startsWith('Solving problems and reporting bugs'))).toBeTruthy();
});
test('learn_faqs_reporting_bugs: h2 "Everyday troubleshootingCopied"', async ({ page }) => {
await page.goto('/learn/faqs/reporting-bugs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Everyday troubleshootingCopied!Copy link to section' || t.startsWith('Everyday troubleshootingCopied!Copy link to section'))).toBeTruthy();
});
test('learn_faqs_reporting_bugs: h2 "Items won\'t budge on a board?C"', async ({ page }) => {
await page.goto('/learn/faqs/reporting-bugs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Items won\'t budge on a board?Copied!Link to this section' || t.startsWith('Items won\'t budge on a board?Copied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_reporting_content', () => {
test('learn_faqs_reporting_content: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/reporting-content/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('reporting content in vellora');
});
test('learn_faqs_reporting_content: h1 "Guide"', async ({ page }) => {
await page.goto('/learn/faqs/reporting-content/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Guide' || t.startsWith('Guide'))).toBeTruthy();
});
test('learn_faqs_reporting_content: h1 "Reporting content in Vellora"', async ({ page }) => {
await page.goto('/learn/faqs/reporting-content/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reporting content in Vellora' || t.startsWith('Reporting content in Vellora'))).toBeTruthy();
});
test('learn_faqs_reporting_content: h2 "Authored by:"', async ({ page }) => {
await page.goto('/learn/faqs/reporting-content/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Authored by:' || t.startsWith('Authored by:'))).toBeTruthy();
});
});
test.describe('Functional - learn_faqs_search', () => {
test('learn_faqs_search: title matches GT', async ({ page }) => {
await page.goto('/learn/faqs/search/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how search works inside your vellora wor');
});
test('learn_faqs_search: h1 "Learn"', async ({ page }) => {
await page.goto('/learn/faqs/search/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Learn' || t.startsWith('Learn'))).toBeTruthy();
});
test('learn_faqs_search: h1 "Searching in your Vellora work"', async ({ page }) => {
await page.goto('/learn/faqs/search/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Searching in your Vellora workspace' || t.startsWith('Searching in your Vellora workspace'))).toBeTruthy();
});
test('learn_faqs_search: h2 "Here (Command/Ctrl +F)Copied!L"', async ({ page }) => {
await page.goto('/learn/faqs/search/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Here (Command/Ctrl +F)Copied!Link to this section' || t.startsWith('Here (Command/Ctrl +F)Copied!Link to this section'))).toBeTruthy();
});
test('learn_faqs_search: h2 "FilesCopied!Link to this secti"', async ({ page }) => {
await page.goto('/learn/faqs/search/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'FilesCopied!Link to this section' || t.startsWith('FilesCopied!Link to this section'))).toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to ai_ai_text_to_flowchart via "AI FlowchartsBoost how fast yo"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="ai-text-to-flowchart"]').first();
expect(await link.count(), 'nav link to ai_ai_text_to_flowchart exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('ai-text-to-flowchart');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Free AI flowchart builder');
});
test('navigate to ai_ai_mind_maps via "AI Mind MapsBoost how fast you"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="ai-mind-maps"]').first();
expect(await link.count(), 'nav link to ai_ai_mind_maps exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('ai-mind-maps');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Free AI mind map creator');
});
test('navigate to home via "BoardsA boundless canvas for d"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="home"]').first();
expect(await link.count(), 'nav link to home exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('home');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Where bright ideas come alive');
});
});
|