Datasets:
File size: 246,677 Bytes
5115c57 | 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 | 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('cascora');
});
test('homepage: h2 "Create and scale context-aware"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Create and scale context-aware AI agents, and ship GTM workflows with ease.' || t.startsWith('Create and scale context-aware AI agents, and ship GTM workflows with ease.'))).toBeTruthy();
});
test('homepage: h2 "Unite enrichments, intent sign"', async ({ page }) => {
await page.goto('/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unite enrichments, intent signals, and CRM data, decide which accounts to chase, and trigger action' || t.startsWith('Unite enrichments, intent signals, and CRM data, decide which accounts to chase, and trigger action'))).toBeTruthy();
});
test('homepage: nav link "PricingPricing"', 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 === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "Get a demo"', 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 === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "CoragentsResearch target accou"', 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 === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('homepage: nav link "WaterfallBlend multiple data p"', 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 === 'WaterfallBlend multiple data providers to reach the best cov' || t.startsWith('WaterfallBlend multiple data providers to reach the best cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - about', () => {
test('about: title matches GT', async ({ page }) => {
await page.goto('/about/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('about');
});
test('about: h1 "Hi, we\'re Cascora"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Hi, we\'re Cascora' || t.startsWith('Hi, we\'re Cascora'))).toBeTruthy();
});
test('about: h2 "Cascora makes powerful tools t"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora makes powerful tools to help people grow their businesses.' || t.startsWith('Cascora makes powerful tools to help people grow their businesses.'))).toBeTruthy();
});
test('about: h2 "We help teams build the strong"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We help teams build the strongest data foundation possible to reach their ideal customers.' || t.startsWith('We help teams build the strongest data foundation possible to reach their ideal customers.'))).toBeTruthy();
});
test('about: h2 "Our people"', async ({ page }) => {
await page.goto('/about/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our people' || t.startsWith('Our people'))).toBeTruthy();
});
test('about: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('about: nav link "Get a demo"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('about: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('about: nav link "WaterfallChain multiple data v"', async ({ page }) => {
await page.goto('/about/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain multiple data vendors together for full cover' || t.startsWith('WaterfallChain multiple data vendors together for full cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ads', () => {
test('ads: title matches GT', async ({ page }) => {
await page.goto('/ads/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('create ad audiences from crm records and');
});
test('ads: h1 "Concentrate ad spend on your t"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Concentrate ad spend on your top CRM accounts' || t.startsWith('Concentrate ad spend on your top CRM accounts'))).toBeTruthy();
});
test('ads: h2 "Activate your audiences across"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Activate your audiences across Linkora, Reachly and Searchgrid' || t.startsWith('Activate your audiences across Linkora, Reachly and Searchgrid'))).toBeTruthy();
});
test('ads: h2 "Boost match rates on Reachly"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Boost match rates on Reachly' || t.startsWith('Boost match rates on Reachly'))).toBeTruthy();
});
test('ads: h2 "Make ads a dependable engine f"', async ({ page }) => {
await page.goto('/ads/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make ads a dependable engine for pipeline' || t.startsWith('Make ads a dependable engine for pipeline'))).toBeTruthy();
});
test('ads: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('ads: nav link "Get a demo"', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('ads: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('ads: nav link "WaterfallCombine several data "', async ({ page }) => {
await page.goto('/ads/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallCombine several data providers for the widest cover' || t.startsWith('WaterfallCombine several data providers for the widest cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - ai_formula', () => {
test('ai_formula: title matches GT', async ({ page }) => {
await page.goto('/ai-formula/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('run any workflow dynamically using condi');
});
test('ai_formula: h1 "Trigger any workflow condition"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trigger any workflow conditionally with AI formulas' || t.startsWith('Trigger any workflow conditionally with AI formulas'))).toBeTruthy();
});
test('ai_formula: h2 "Trusted by 500,000 leading GTM"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trusted by 500,000 leading GTM teams of every size' || t.startsWith('Trusted by 500,000 leading GTM teams of every size'))).toBeTruthy();
});
test('ai_formula: h2 "Orchestrate every workflow wit"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Orchestrate every workflow with the freedom of doing it your way' || t.startsWith('Orchestrate every workflow with the freedom of doing it your way'))).toBeTruthy();
});
test('ai_formula: h2 "Capabilities"', async ({ page }) => {
await page.goto('/ai-formula/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capabilities' || t.startsWith('Capabilities'))).toBeTruthy();
});
test('ai_formula: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('ai_formula: nav link "Get a demo"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('ai_formula: nav link "CascentsInvestigate accounts a"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsInvestigate accounts and prospects using AI' || t.startsWith('CascentsInvestigate accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('ai_formula: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/ai-formula/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for full cove' || t.startsWith('WaterfallLayer several data providers together for full cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - audiences', () => {
test('audiences: title matches GT', async ({ page }) => {
await page.goto('/audiences/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('audiences, centralize your gtm data');
});
test('audiences: h1 "Unify all your GTM data"', async ({ page }) => {
await page.goto('/audiences/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unify all your GTM data' || t.startsWith('Unify all your GTM data'))).toBeTruthy();
});
test('audiences: h2 "Vantra"', async ({ page }) => {
await page.goto('/audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Vantra' || t.startsWith('Vantra'))).toBeTruthy();
});
test('audiences: h2 "Marcus Feld"', async ({ page }) => {
await page.goto('/audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marcus Feld' || t.startsWith('Marcus Feld'))).toBeTruthy();
});
test('audiences: h2 "Core features"', async ({ page }) => {
await page.goto('/audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core features' || t.startsWith('Core features'))).toBeTruthy();
});
test('audiences: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('audiences: nav link "Get a demo"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('audiences: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects with AI' || t.startsWith('CoragentsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('audiences: nav link "WaterfallChain multiple data p"', async ({ page }) => {
await page.goto('/audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain multiple data providers together for the best' || t.startsWith('WaterfallChain multiple data providers together for the best')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), '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('the cascora gtm blog');
});
test('blog: h1 "Go-to-market with Cascora"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Go-to-market with Cascora' || t.startsWith('Go-to-market with Cascora'))).toBeTruthy();
});
test('blog: h2 "Best of the Signal"', 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 === 'Best of the Signal' || t.startsWith('Best of the Signal'))).toBeTruthy();
});
test('blog: h2 "Industry Insights"', 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 === 'Industry Insights' || t.startsWith('Industry Insights'))).toBeTruthy();
});
test('blog: h2 "Case Studies"', 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 === 'Case Studies' || t.startsWith('Case Studies'))).toBeTruthy();
});
test('blog: nav link "PricingPricing"', 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 === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "Get a demo"', 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 === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "CoragentsResearch target accou"', 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 === 'CoragentsResearch target accounts and buyers with AI' || t.startsWith('CoragentsResearch target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('blog: nav link "WaterfallLayer multiple data v"', 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 === 'WaterfallLayer multiple data vendors for the highest coverag' || t.startsWith('WaterfallLayer multiple data vendors for the highest coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - careers', () => {
test('careers: title matches GT', async ({ page }) => {
await page.goto('/careers/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('join the cascora crew');
});
test('careers: h1 "Join the Cascora crew"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora crew' || t.startsWith('Join the Cascora crew'))).toBeTruthy();
});
test('careers: h2 "Any of these catch your eye?"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Any of these catch your eye?' || t.startsWith('Any of these catch your eye?'))).toBeTruthy();
});
test('careers: h2 "Marketing"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Marketing' || t.startsWith('Marketing'))).toBeTruthy();
});
test('careers: h2 "What drives us forward"', async ({ page }) => {
await page.goto('/careers/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What drives us forward' || t.startsWith('What drives us forward'))).toBeTruthy();
});
test('careers: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Get a demo"', async ({ page }) => {
await page.goto('/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Log in"', async ({ page }) => {
await page.goto('/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('demo')), 'href fragment present').toBeTruthy();
});
test('careers: nav link "Explore target accounts and pe"', async ({ page }) => {
await page.goto('/careers/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Explore target accounts and people using AIWaterfall' || t.startsWith('Explore target accounts and people using AIWaterfall')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - changelog', () => {
test('changelog: title matches GT', async ({ page }) => {
await page.goto('/changelog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('what\'s new at cascora');
});
test('changelog: h1 "What\'s new"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What\'s new' || t.startsWith('What\'s new'))).toBeTruthy();
});
test('changelog: h2 "Featured highlights"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Featured highlights' || t.startsWith('Featured highlights'))).toBeTruthy();
});
test('changelog: h2 "Functions"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Functions' || t.startsWith('Functions'))).toBeTruthy();
});
test('changelog: h2 "Corva"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Corva' || t.startsWith('Corva'))).toBeTruthy();
});
test('changelog: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('changelog: nav link "Get a demo"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('changelog: nav link "CoragentsEnrich accounts and c"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich accounts and contacts using AI agents' || t.startsWith('CoragentsEnrich accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('changelog: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/changelog/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for full covera' || t.startsWith('WaterfallChain several data vendors together for full covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_cup', () => {
test('cascora_cup: title matches GT', async ({ page }) => {
await page.goto('/cascora-cup/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora cup 26');
});
test('cascora_cup: h1 "Be first to hear about Cascora"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Be first to hear about Cascora Cup' || t.startsWith('Be first to hear about Cascora Cup'))).toBeTruthy();
});
test('cascora_cup: h2 "An electric atmosphere"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'An electric atmosphere' || t.startsWith('An electric atmosphere'))).toBeTruthy();
});
test('cascora_cup: h2 "BOLD GTM PLAYS"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'BOLD GTM PLAYS' || t.startsWith('BOLD GTM PLAYS'))).toBeTruthy();
});
test('cascora_cup: h2 "onstage and streamed live"', async ({ page }) => {
await page.goto('/cascora-cup/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'onstage and streamed live' || t.startsWith('onstage and streamed live'))).toBeTruthy();
});
});
test.describe('Functional - cascora_for_gtm_ops', () => {
test('cascora_for_gtm_ops: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for gtm ops teams');
});
test('cascora_for_gtm_ops: h1 "Create the data foundation tha"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Create the data foundation that makes any GTM idea real' || t.startsWith('Create the data foundation that makes any GTM idea real'))).toBeTruthy();
});
test('cascora_for_gtm_ops: h2 "Trusted by the world’s leading"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trusted by the world’s leading GTM Ops and RevOps teams' || t.startsWith('Trusted by the world’s leading GTM Ops and RevOps teams'))).toBeTruthy();
});
test('cascora_for_gtm_ops: h2 "Pull data from 150+ sources to"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pull data from 150+ sources together across every system' || t.startsWith('Pull data from 150+ sources together across every system'))).toBeTruthy();
});
test('cascora_for_gtm_ops: h2 "Fill rates and accuracy no one"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Fill rates and accuracy no one can match' || t.startsWith('Fill rates and accuracy no one can match'))).toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "ScoutbotsResearch target accou"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutbotsResearch target accounts and contacts using AI' || t.startsWith('ScoutbotsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_gtm_ops: nav link "WaterfallBlend several data ve"', async ({ page }) => {
await page.goto('/cascora-for-gtm-ops/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data vendors to maximize match covera' || t.startsWith('WaterfallBlend several data vendors to maximize match covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_marketing', () => {
test('cascora_for_marketing: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for marketing teams');
});
test('cascora_for_marketing: h1 "Turn detailed prospect data in"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Turn detailed prospect data into campaigns that perform better' || t.startsWith('Turn detailed prospect data into campaigns that perform better'))).toBeTruthy();
});
test('cascora_for_marketing: h2 "Trusted by the best Marketing "', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trusted by the best Marketing teams worldwide' || t.startsWith('Trusted by the best Marketing teams worldwide'))).toBeTruthy();
});
test('cascora_for_marketing: h2 "Bring 1:1 personalization to s"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring 1:1 personalization to scale in every channel' || t.startsWith('Bring 1:1 personalization to scale in every channel'))).toBeTruthy();
});
test('cascora_for_marketing: h2 "Answer qualified inbounds in a"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Answer qualified inbounds in an instant' || t.startsWith('Answer qualified inbounds in an instant'))).toBeTruthy();
});
test('cascora_for_marketing: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_marketing: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_marketing: nav link "ScoutbotsResearch target accou"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutbotsResearch target accounts and buyers with AI' || t.startsWith('ScoutbotsResearch target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_marketing: nav link "WaterfallBlend several data ve"', async ({ page }) => {
await page.goto('/cascora-for-marketing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data vendors for the widest coverage' || t.startsWith('WaterfallBlend several data vendors for the widest coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_private_equity', () => {
test('cascora_for_private_equity: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for private equity');
});
test('cascora_for_private_equity: h1 "Value Creation Teams in Privat"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Value Creation Teams in Private Equity' || t.startsWith('Value Creation Teams in Private Equity'))).toBeTruthy();
});
test('cascora_for_private_equity: h2 "The Cascora Portfolio EBITDA G"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Cascora Portfolio EBITDA Growth Engine' || t.startsWith('The Cascora Portfolio EBITDA Growth Engine'))).toBeTruthy();
});
test('cascora_for_private_equity: h2 "Show EBITDA impact inside 100 "', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Show EBITDA impact inside 100 days' || t.startsWith('Show EBITDA impact inside 100 days'))).toBeTruthy();
});
test('cascora_for_private_equity: h2 "Roll out with vetted implement"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Roll out with vetted implementation partners' || t.startsWith('Roll out with vetted implementation partners'))).toBeTruthy();
});
test('cascora_for_private_equity: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_private_equity: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_private_equity: nav link "CoragentsResearch prospective "', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch prospective firms and contacts using AI' || t.startsWith('CoragentsResearch prospective firms and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_private_equity: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/cascora-for-private-equity/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for maximum cov' || t.startsWith('WaterfallChain several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_sales', () => {
test('cascora_for_sales: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for sales teams');
});
test('cascora_for_sales: h1 "Make each sales outreach swift"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make each sales outreach swift and truly personal' || t.startsWith('Make each sales outreach swift and truly personal'))).toBeTruthy();
});
test('cascora_for_sales: h2 "Relied on by the planet\'s best"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Relied on by the planet\'s best sales teams' || t.startsWith('Relied on by the planet\'s best sales teams'))).toBeTruthy();
});
test('cascora_for_sales: h2 "Deliver prospect data your sel"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deliver prospect data your sellers can genuinely trust and act on' || t.startsWith('Deliver prospect data your sellers can genuinely trust and act on'))).toBeTruthy();
});
test('cascora_for_sales: h2 "Personalize every outbound tou"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personalize every outbound touch' || t.startsWith('Personalize every outbound touch'))).toBeTruthy();
});
test('cascora_for_sales: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_sales: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_sales: nav link "CascentsResearch accounts and "', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch accounts and contacts using AI agents' || t.startsWith('CascentsResearch accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_sales: nav link "WaterfallLayer several enrichm"', async ({ page }) => {
await page.goto('/cascora-for-sales/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several enrichment sources to maximize match ' || t.startsWith('WaterfallLayer several enrichment sources to maximize match ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascora_for_startups', () => {
test('cascora_for_startups: title matches GT', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('validate your icp, hit pmf faster');
});
test('cascora_for_startups: h2 "Cascora lets team members sell"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora lets team members sell shares at a \$5b valuation.' || t.startsWith('Cascora lets team members sell shares at a \$5b valuation.'))).toBeTruthy();
});
test('cascora_for_startups: h2 "Driving the growth engines of "', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Driving the growth engines of the fastest-scaling startups on earth' || t.startsWith('Driving the growth engines of the fastest-scaling startups on earth'))).toBeTruthy();
});
test('cascora_for_startups: h2 "See what converts and what doe"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See what converts and what doesn’t' || t.startsWith('See what converts and what doesn’t'))).toBeTruthy();
});
test('cascora_for_startups: h2 "Ignite is Cascora\'s virtual GT"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Ignite is Cascora\'s virtual GTM acceleration program for the fastest-growing, venture-backed startup' || t.startsWith('Ignite is Cascora\'s virtual GTM acceleration program for the fastest-growing, venture-backed startup'))).toBeTruthy();
});
test('cascora_for_startups: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascora_for_startups: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascora_for_startups: nav link "CascentsResearch accounts and "', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch accounts and contacts with built-in AI' || t.startsWith('CascentsResearch accounts and contacts with built-in AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascora_for_startups: nav link "WaterfallChain several data pr"', async ({ page }) => {
await page.goto('/cascora-for-startups/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data providers for the best coverage' || t.startsWith('WaterfallChain several data providers for the best coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - cascoragent', () => {
test('cascoragent: title matches GT', async ({ page }) => {
await page.goto('/cascoragent/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascents');
});
test('cascoragent: h1 "Grow your market advantage wit"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Grow your market advantage with AI agents for GTM' || t.startsWith('Grow your market advantage with AI agents for GTM'))).toBeTruthy();
});
test('cascoragent: h2 "Nathan Rourke"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nathan Rourke' || t.startsWith('Nathan Rourke'))).toBeTruthy();
});
test('cascoragent: h2 "Built where your entire GTM co"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Built where your entire GTM context lives' || t.startsWith('Built where your entire GTM context lives'))).toBeTruthy();
});
test('cascoragent: h2 "The data other providers can\'t"', async ({ page }) => {
await page.goto('/cascoragent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The data other providers can\'t find, but Cascents can' || t.startsWith('The data other providers can\'t find, but Cascents can'))).toBeTruthy();
});
test('cascoragent: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('cascoragent: nav link "Get a demo"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('cascoragent: nav link "CascentsInvestigate key accoun"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsInvestigate key accounts and prospects with AI' || t.startsWith('CascentsInvestigate key accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('cascoragent: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/cascoragent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for wider cover' || t.startsWith('WaterfallLayer several data vendors together for wider cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), '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('customer stories');
});
test('customers: h1 "How top teams find GTM alpha w"', 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 === 'How top teams find GTM alpha with Cascora' || t.startsWith('How top teams find GTM alpha with Cascora'))).toBeTruthy();
});
test('customers: h2 "You\'re in great company"', 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 === 'You\'re in great company' || t.startsWith('You\'re in great company'))).toBeTruthy();
});
test('customers: h2 "How teams like yours use Casco"', 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 === 'How teams like yours use Cascora' || t.startsWith('How teams like yours use Cascora'))).toBeTruthy();
});
test('customers: h2 "Loved by 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 === 'Loved by teams' || t.startsWith('Loved by teams'))).toBeTruthy();
});
test('customers: nav link "PricingPricing"', 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 === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "Get a demo"', 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 === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "ScoutbotsResearch target accou"', 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 === 'ScoutbotsResearch target accounts and prospects with AI' || t.startsWith('ScoutbotsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers: nav link "WaterfallBlend several data pr"', 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 === 'WaterfallBlend several data providers to maximize match cove' || t.startsWith('WaterfallBlend several data providers to maximize match cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - demo', () => {
test('demo: title matches GT', async ({ page }) => {
await page.goto('/demo/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('talk to a cascora gtm engineer');
});
test('demo: h1 "See Cascora live"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See Cascora live' || t.startsWith('See Cascora live'))).toBeTruthy();
});
test('demo: h1 "How may we help? (Optional)"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How may we help? (Optional)' || t.startsWith('How may we help? (Optional)'))).toBeTruthy();
});
test('demo: h3 "Nuvex"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nuvex' || t.startsWith('Nuvex'))).toBeTruthy();
});
test('demo: h3 "Corely"', async ({ page }) => {
await page.goto('/demo/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Corely' || t.startsWith('Corely'))).toBeTruthy();
});
test('demo: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('demo: nav link "Get a demo"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('demo: nav link "AI AgentsEnrich target account"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI AgentsEnrich target accounts and contacts using AI' || t.startsWith('AI AgentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('demo: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/demo/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors to maximize match covera' || t.startsWith('WaterfallLayer several data vendors to maximize match covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - enterprise', () => {
test('enterprise: title matches GT', async ({ page }) => {
await page.goto('/enterprise/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for enterprise teams');
});
test('enterprise: h1 "Unify and act on your data for"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Unify and act on your data for any GTM workflow' || t.startsWith('Unify and act on your data for any GTM workflow'))).toBeTruthy();
});
test('enterprise: h2 "Distinct, comprehensive data c"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Distinct, comprehensive data coverage tuned to your ICP' || t.startsWith('Distinct, comprehensive data coverage tuned to your ICP'))).toBeTruthy();
});
test('enterprise: h2 "Launch any GTM workflow quickl"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch any GTM workflow quickly' || t.startsWith('Launch any GTM workflow quickly'))).toBeTruthy();
});
test('enterprise: h2 "Cut vendor sprawl and overhead"', async ({ page }) => {
await page.goto('/enterprise/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cut vendor sprawl and overhead' || t.startsWith('Cut vendor sprawl and overhead'))).toBeTruthy();
});
test('enterprise: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('enterprise: nav link "Get a demo"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('enterprise: nav link "CoragentsResearch accounts and"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch accounts and contacts using AI agents' || t.startsWith('CoragentsResearch accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('enterprise: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/enterprise/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for maximum c' || t.startsWith('WaterfallLayer several data providers together for maximum 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('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - experts', () => {
test('experts: title matches GT', async ({ page }) => {
await page.goto('/experts/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora solutions partner directory');
});
test('experts: h1 "Scale faster with Cascora cert"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scale faster with Cascora certified partners' || t.startsWith('Scale faster with Cascora certified partners'))).toBeTruthy();
});
test('experts: h2 "Make your growth ideas real st"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Make your growth ideas real starting today' || t.startsWith('Make your growth ideas real starting today'))).toBeTruthy();
});
test('experts: h2 "Launch to market with data oth"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch to market with data others can\'t reach—and act on it' || t.startsWith('Launch to market with data others can\'t reach—and act on it'))).toBeTruthy();
});
test('experts: h3 "Solutions"', async ({ page }) => {
await page.goto('/experts/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Solutions' || t.startsWith('Solutions'))).toBeTruthy();
});
test('experts: nav link "Pricing Pricing"', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pricing Pricing' || t.startsWith('Pricing Pricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('experts: nav link "Get a demo"', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('experts: nav link "Cascents Profile accounts and "', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascents Profile accounts and prospects with AI agents' || t.startsWith('Cascents Profile accounts and prospects with AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('experts: nav link "Waterfall Chain many data vend"', async ({ page }) => {
await page.goto('/experts/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Waterfall Chain many data vendors together for the widest co' || t.startsWith('Waterfall Chain many data vendors together for the widest co')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - functions', () => {
test('functions: title matches GT', async ({ page }) => {
await page.goto('/functions/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('functions, design a workflow one time an');
});
test('functions: h1 "Design your workflows once—run"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Design your workflows once—run them everywhere' || t.startsWith('Design your workflows once—run them everywhere'))).toBeTruthy();
});
test('functions: h2 "Theo Marchetti"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Theo Marchetti' || t.startsWith('Theo Marchetti'))).toBeTruthy();
});
test('functions: h2 "Centrally managed workflows"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Centrally managed workflows' || t.startsWith('Centrally managed workflows'))).toBeTruthy();
});
test('functions: h2 "Capabilities"', async ({ page }) => {
await page.goto('/functions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Capabilities' || t.startsWith('Capabilities'))).toBeTruthy();
});
test('functions: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('functions: nav link "Get a demo"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('functions: nav link "CoragentsStudy target accounts"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsStudy target accounts and people using AI' || t.startsWith('CoragentsStudy target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('functions: nav link "WaterfallMerge many data provi"', async ({ page }) => {
await page.goto('/functions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallMerge many data providers to reach the widest cover' || t.startsWith('WaterfallMerge many data providers to reach the widest cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), '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('integrations');
});
test('integrations: h1 "Dive into our expanding integr"', 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 === 'Dive into our expanding integration catalog' || t.startsWith('Dive into our expanding integration catalog'))).toBeTruthy();
});
test('integrations: h2 "Every integration provider"', 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 === 'Every integration provider' || t.startsWith('Every integration provider'))).toBeTruthy();
});
test('integrations: h2 "Bring your revenue vision to l"', 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 === 'Bring your revenue vision to life today' || t.startsWith('Bring your revenue vision to life today'))).toBeTruthy();
});
test('integrations: h2 "Reach your market with data yo"', 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 === 'Reach your market with data you own—and the power to use it' || t.startsWith('Reach your market with data you own—and the power to use it'))).toBeTruthy();
});
test('integrations: nav link "PricingPricing"', 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 === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "Get a demo"', 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 === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "CascentsEnrich target accounts"', 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 === 'CascentsEnrich target accounts and contacts using AI' || t.startsWith('CascentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('integrations: nav link "LayeringBlend multiple data pr"', 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 === 'LayeringBlend multiple data providers to maximize your cover' || t.startsWith('LayeringBlend multiple data providers to maximize your cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - job_board', () => {
test('job_board: title matches GT', async ({ page }) => {
await page.goto('/job-board/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('gtm job board');
});
test('job_board: h1 "Top GTM roles for Cascora pros"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Top GTM roles for Cascora pros' || t.startsWith('Top GTM roles for Cascora pros'))).toBeTruthy();
});
test('job_board: h2 "GTM Engineer"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'GTM Engineer' || t.startsWith('GTM Engineer'))).toBeTruthy();
});
test('job_board: h2 "Manager, GTM Engineering"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Manager, GTM Engineering' || t.startsWith('Manager, GTM Engineering'))).toBeTruthy();
});
test('job_board: h2 "RevOps Manager"', async ({ page }) => {
await page.goto('/job-board/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'RevOps Manager' || t.startsWith('RevOps Manager'))).toBeTruthy();
});
test('job_board: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('job_board: nav link "Get a demo"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('job_board: nav link "CoragentsInvestigate target ac"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsInvestigate target accounts and people with AI' || t.startsWith('CoragentsInvestigate target accounts and people with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('job_board: nav link "WaterfallBlend several data pr"', async ({ page }) => {
await page.goto('/job-board/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data providers for the best coverage' || t.startsWith('WaterfallBlend several data providers for the best coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - jobs', () => {
test('jobs: title matches GT', async ({ page }) => {
await page.goto('/jobs/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('roles at cascora');
});
test('jobs: h1 "Careers at Cascora"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Careers at Cascora' || t.startsWith('Careers at Cascora'))).toBeTruthy();
});
test('jobs: h2 "Engineering"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Engineering' || t.startsWith('Engineering'))).toBeTruthy();
});
test('jobs: h2 "Go-to-Market"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Go-to-Market' || t.startsWith('Go-to-Market'))).toBeTruthy();
});
test('jobs: h2 "Design & Product"', async ({ page }) => {
await page.goto('/jobs/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Design & Product' || t.startsWith('Design & Product'))).toBeTruthy();
});
test('jobs: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('jobs: nav link "Get a demo"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('jobs: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and buyers using AI' || t.startsWith('CascentsResearch target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('jobs: nav link "WaterfallLayer multiple data v"', async ({ page }) => {
await page.goto('/jobs/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data vendors to maximize match cover' || t.startsWith('WaterfallLayer multiple data vendors to maximize match cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - livestreams', () => {
test('livestreams: title matches GT', async ({ page }) => {
await page.goto('/livestreams/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('gtm livestreams');
});
test('livestreams: h1 "Live GTM streams"', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Live GTM streams' || t.startsWith('Live GTM streams'))).toBeTruthy();
});
test('livestreams: h2 "Accelerate data enrichment"', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Accelerate data enrichment' || t.startsWith('Accelerate data enrichment'))).toBeTruthy();
});
test('livestreams: h2 "Bring your growth experiments "', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth experiments to life today' || t.startsWith('Bring your growth experiments to life today'))).toBeTruthy();
});
test('livestreams: h2 "Go to market with data no one "', async ({ page }) => {
await page.goto('/livestreams/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Go to market with data no one else has—and the power to use it' || t.startsWith('Go to market with data no one else has—and the power to use it'))).toBeTruthy();
});
test('livestreams: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('livestreams: nav link "Get a demo"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('livestreams: nav link "CoragentsEnrich target account"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich target accounts and contacts using AI' || t.startsWith('CoragentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('livestreams: nav link "CascadeChain multiple data ven"', async ({ page }) => {
await page.goto('/livestreams/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeChain multiple data vendors together for full coverag' || t.startsWith('CascadeChain multiple data vendors together for full coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), '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('cascora mcp prospect target accounts ins');
});
test('mcp: h1 "Work your target accounts in C"', 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 === 'Work your target accounts in ChatMate and Verse' || t.startsWith('Work your target accounts in ChatMate and Verse'))).toBeTruthy();
});
test('mcp: h2 "Give reps Cascora access via M"', 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 === 'Give reps Cascora access via MCP' || t.startsWith('Give reps Cascora access via MCP'))).toBeTruthy();
});
test('mcp: h2 "Nadia Kerr"', 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 === 'Nadia Kerr' || t.startsWith('Nadia Kerr'))).toBeTruthy();
});
test('mcp: h2 "Give every rep your ops team\'s"', 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 === 'Give every rep your ops team\'s most powerful workflows' || t.startsWith('Give every rep your ops team\'s most powerful workflows'))).toBeTruthy();
});
test('mcp: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('mcp: nav link "Get a demo"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('mcp: nav link "CoremindsInvestigate target co"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoremindsInvestigate target companies and people with AI' || t.startsWith('CoremindsInvestigate target companies and people with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('mcp: nav link "WaterfallStack multiple data v"', async ({ page }) => {
await page.goto('/mcp/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallStack multiple data vendors to maximize match cover' || t.startsWith('WaterfallStack multiple data vendors to maximize match cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners', () => {
test('partners: title matches GT', async ({ page }) => {
await page.goto('/partners/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('partner programs');
});
test('partners: h1 "Become a Cascora Partner"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Become a Cascora Partner' || t.startsWith('Become a Cascora Partner'))).toBeTruthy();
});
test('partners: h2 "Cascora helps companies expand"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora helps companies expand by supporting and championing partners through programs engineered to' || t.startsWith('Cascora helps companies expand by supporting and championing partners through programs engineered to'))).toBeTruthy();
});
test('partners: h2 "Find the partner track that fi"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find the partner track that fits you best' || t.startsWith('Find the partner track that fits you best'))).toBeTruthy();
});
test('partners: h2 "What our partners say"', async ({ page }) => {
await page.goto('/partners/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What our partners say' || t.startsWith('What our partners say'))).toBeTruthy();
});
test('partners: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and prospects using AI' || t.startsWith('CascentsResearch target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/partners/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for maximum cov' || t.startsWith('WaterfallLayer several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - press', () => {
test('press: title matches GT', async ({ page }) => {
await page.goto('/press/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('brand guidelines & logo asset downloads,');
});
test('press: h1 "Cascora Newsroom"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora Newsroom' || t.startsWith('Cascora Newsroom'))).toBeTruthy();
});
test('press: h2 "In the headlines"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'In the headlines' || t.startsWith('In the headlines'))).toBeTruthy();
});
test('press: h2 "We exist to help people grow t"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We exist to help people grow their businesses' || t.startsWith('We exist to help people grow their businesses'))).toBeTruthy();
});
test('press: h2 "Media kit"', async ({ page }) => {
await page.goto('/press/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Media kit' || t.startsWith('Media kit'))).toBeTruthy();
});
test('press: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('press: nav link "Get a demo"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('press: nav link "CoragentsUncover target accoun"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover target accounts and prospects using AI' || t.startsWith('CoragentsUncover target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('press: nav link "WaterfallBlend several data ve"', async ({ page }) => {
await page.goto('/press/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data vendors together for the widest ' || t.startsWith('WaterfallBlend several data vendors together for the widest ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), '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('compare plans, features & costs');
});
test('pricing: h1 "Pricing built to fit your team"', 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 built to fit your team' || t.startsWith('Pricing built to fit your team'))).toBeTruthy();
});
test('pricing: h2 "Plans"', 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 === 'Plans' || t.startsWith('Plans'))).toBeTruthy();
});
test('pricing: h2 "Our users"', 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 === 'Our users' || t.startsWith('Our users'))).toBeTruthy();
});
test('pricing: h2 "Built on enterprise-grade secu"', 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 === 'Built on enterprise-grade security and scale' || t.startsWith('Built on enterprise-grade security and scale'))).toBeTruthy();
});
test('pricing: nav link "PricingPricing"', 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 === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "Get a demo"', 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 === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "AI AgentsResearch your target "', 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 AgentsResearch your target accounts and buyers with AI' || t.startsWith('AI AgentsResearch your target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('pricing: nav link "WaterfallLayer many data vendo"', 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 === 'WaterfallLayer many data vendors together for the widest rea' || t.startsWith('WaterfallLayer many data vendors together for the widest rea')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - sculptor', () => {
test('sculptor: title matches GT', async ({ page }) => {
await page.goto('/sculptor/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('composer');
});
test('sculptor: h1 "Meet Sculptor"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet Sculptor' || t.startsWith('Meet Sculptor'))).toBeTruthy();
});
test('sculptor: h2 "Who\'s your ideal buyer? Just a"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Who\'s your ideal buyer? Just ask Sculptor.' || t.startsWith('Who\'s your ideal buyer? Just ask Sculptor.'))).toBeTruthy();
});
test('sculptor: h2 "What it can do"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What it can do' || t.startsWith('What it can do'))).toBeTruthy();
});
test('sculptor: h2 "Launch GTM campaigns rooted in"', async ({ page }) => {
await page.goto('/sculptor/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch GTM campaigns rooted in your context' || t.startsWith('Launch GTM campaigns rooted in your context'))).toBeTruthy();
});
test('sculptor: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('sculptor: nav link "Get a demo"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('sculptor: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and buyers using AI' || t.startsWith('CoragentsResearch target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('sculptor: nav link "WaterfallLayer multiple data p"', async ({ page }) => {
await page.goto('/sculptor/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data providers for full coverage' || t.startsWith('WaterfallLayer multiple data providers for full coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - sdr', () => {
test('sdr: title matches GT', async ({ page }) => {
await page.goto('/sdr/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora for sdrs');
});
test('sdr: h1 "Run prospecting and enrichment"', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Run prospecting and enrichment on autopilot—right inside Corvex' || t.startsWith('Run prospecting and enrichment on autopilot—right inside Corvex'))).toBeTruthy();
});
test('sdr: h2 "Powering more than 300,000 lea"', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powering more than 300,000 leading GTM teams of every size' || t.startsWith('Powering more than 300,000 leading GTM teams of every size'))).toBeTruthy();
});
test('sdr: h2 "See the Corvex CRM package in "', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See the Corvex CRM package in action' || t.startsWith('See the Corvex CRM package in action'))).toBeTruthy();
});
test('sdr: h2 "1-click in Corvex to enrich co"', async ({ page }) => {
await page.goto('/sdr/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '1-click in Corvex to enrich contacts with ANY research you can imagine' || t.startsWith('1-click in Corvex to enrich contacts with ANY research you can imagine'))).toBeTruthy();
});
test('sdr: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('sdr: nav link "Get a demo"', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('sdr: nav link "CascentsResearch accounts and "', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch accounts and contacts using AI agents' || t.startsWith('CascentsResearch accounts and contacts using AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('sdr: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/sdr/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors to maximize match covera' || t.startsWith('WaterfallLayer several data vendors to maximize match covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - sequencer', () => {
test('sequencer: title matches GT', async ({ page }) => {
await page.goto('/sequencer/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sequencer');
});
test('sequencer: h1 "Turn prospects into pipeline w"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Turn prospects into pipeline with deeply tailored outbound' || t.startsWith('Turn prospects into pipeline with deeply tailored outbound'))).toBeTruthy();
});
test('sequencer: h2 "The native campaign engine ins"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The native campaign engine inside Cascora' || t.startsWith('The native campaign engine inside Cascora'))).toBeTruthy();
});
test('sequencer: h2 "Sequencer turns outbound conve"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sequencer turns outbound conversion into a science' || t.startsWith('Sequencer turns outbound conversion into a science'))).toBeTruthy();
});
test('sequencer: h2 "What you get"', async ({ page }) => {
await page.goto('/sequencer/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What you get' || t.startsWith('What you get'))).toBeTruthy();
});
test('sequencer: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('sequencer: nav link "Get a demo"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('sequencer: nav link "CascentsEnrich accounts and co"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsEnrich accounts and contacts automatically with AI' || t.startsWith('CascentsEnrich accounts and contacts automatically with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('sequencer: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/sequencer/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for maximum cov' || t.startsWith('WaterfallLayer several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - signals', () => {
test('signals: title matches GT', async ({ page }) => {
await page.goto('/signals/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('custom signals');
});
test('signals: h1 "Surface the buying signals you"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Surface the buying signals your rivals haven\'t found yet' || t.startsWith('Surface the buying signals your rivals haven\'t found yet'))).toBeTruthy();
});
test('signals: h2 "Convert site visitors into rev"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Convert site visitors into revenue' || t.startsWith('Convert site visitors into revenue'))).toBeTruthy();
});
test('signals: h2 "Signals in practice"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Signals in practice' || t.startsWith('Signals in practice'))).toBeTruthy();
});
test('signals: h2 "Build a custom, multi-signal a"', async ({ page }) => {
await page.goto('/signals/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build a custom, multi-signal approach to capture what matters most to you' || t.startsWith('Build a custom, multi-signal approach to capture what matters most to you'))).toBeTruthy();
});
test('signals: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('signals: nav link "Get a demo"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('signals: nav link "CoragentsUncover insights on t"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover insights on target accounts with AI' || t.startsWith('CoragentsUncover insights on target accounts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('signals: nav link "WaterfallBlend multiple data v"', async ({ page }) => {
await page.goto('/signals/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend multiple data vendors for the highest coverag' || t.startsWith('WaterfallBlend multiple data vendors for the highest coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - slack_community', () => {
test('slack_community: title matches GT', async ({ page }) => {
await page.goto('/slack-community/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('join the cascora community');
});
test('slack_community: h1 "Join the Cascora community"', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora community' || t.startsWith('Join the Cascora community'))).toBeTruthy();
});
test('slack_community: h2 "Bring your pipeline ambitions "', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your pipeline ambitions to life now' || t.startsWith('Bring your pipeline ambitions to life now'))).toBeTruthy();
});
test('slack_community: h2 "Launch campaigns with rare dat"', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch campaigns with rare data—and the power to act on it' || t.startsWith('Launch campaigns with rare data—and the power to act on it'))).toBeTruthy();
});
test('slack_community: h3 "Workflows"', async ({ page }) => {
await page.goto('/slack-community/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Workflows' || t.startsWith('Workflows'))).toBeTruthy();
});
test('slack_community: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('slack_community: nav link "Get a demo"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('slack_community: nav link "AI AgentsEnrich target account"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI AgentsEnrich target accounts and contacts using AI' || t.startsWith('AI AgentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('slack_community: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/slack-community/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for maximum c' || t.startsWith('WaterfallLayer several data providers together for maximum 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('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - talent', () => {
test('talent: title matches GT', async ({ page }) => {
await page.goto('/talent/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('talent hub');
});
test('talent: h1 "Expert hub"', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Expert hub' || t.startsWith('Expert hub'))).toBeTruthy();
});
test('talent: h2 "Talent"', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Talent' || t.startsWith('Talent'))).toBeTruthy();
});
test('talent: h2 "The next wave of companies is "', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The next wave of companies is powered by GTM engineers' || t.startsWith('The next wave of companies is powered by GTM engineers'))).toBeTruthy();
});
test('talent: h2 "FAQ"', async ({ page }) => {
await page.goto('/talent/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'FAQ' || t.startsWith('FAQ'))).toBeTruthy();
});
test('talent: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('talent: nav link "Get a demo"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('talent: nav link "CoragentsInvestigate target ac"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsInvestigate target accounts and contacts with AI' || t.startsWith('CoragentsInvestigate target accounts and contacts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('talent: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/talent/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers together for maximum cove' || t.startsWith('WaterfallBlend many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - templates', () => {
test('templates: title matches GT', async ({ page }) => {
await page.goto('/templates/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('launch outbound campaigns faster with ou');
});
test('templates: h1 "Browse free Cascora templates"', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Browse free Cascora templates' || t.startsWith('Browse free Cascora templates'))).toBeTruthy();
});
test('templates: h2 "Every template"', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Every template' || t.startsWith('Every template'))).toBeTruthy();
});
test('templates: h2 "Bring your growth playbook to "', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth playbook to life today' || t.startsWith('Bring your growth playbook to life today'))).toBeTruthy();
});
test('templates: h2 "Reach market with distinctive "', async ({ page }) => {
await page.goto('/templates/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reach market with distinctive data—and the power to use it' || t.startsWith('Reach market with distinctive data—and the power to use it'))).toBeTruthy();
});
test('templates: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('templates: nav link "Get a demo"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('templates: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects using AI' || t.startsWith('CoragentsResearch target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('templates: nav link "WaterfallBlend several data pr"', async ({ page }) => {
await page.goto('/templates/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend several data providers together for maximum c' || t.startsWith('WaterfallBlend several data providers together for maximum 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('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - waterfall_enrichment', () => {
test('waterfall_enrichment: title matches GT', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cascora waterfall');
});
test('waterfall_enrichment: h1 "Why rely on one contact databa"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why rely on one contact database when you can use them all?' || t.startsWith('Why rely on one contact database when you can use them all?'))).toBeTruthy();
});
test('waterfall_enrichment: h2 "The way waterfall enrichment w"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The way waterfall enrichment works' || t.startsWith('The way waterfall enrichment works'))).toBeTruthy();
});
test('waterfall_enrichment: h2 "Locate work emails"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Locate work emails' || t.startsWith('Locate work emails'))).toBeTruthy();
});
test('waterfall_enrichment: h2 "Locate personal emails"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Locate personal emails' || t.startsWith('Locate personal emails'))).toBeTruthy();
});
test('waterfall_enrichment: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('waterfall_enrichment: nav link "Get a demo"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('waterfall_enrichment: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and buyers with AI agents' || t.startsWith('CoragentsResearch target accounts and buyers with AI agents')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('waterfall_enrichment: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/waterfall-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for full covera' || t.startsWith('WaterfallChain several data vendors together for full covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - blog_sandra_uche', () => {
test('blog_sandra_uche: title matches GT', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('in kenya, she built a career where doubt');
});
test('blog_sandra_uche: h1 "In a coastal town, she built a"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'In a coastal town, she built a life where fear wouldn\'t lead' || t.startsWith('In a coastal town, she built a life where fear wouldn\'t lead'))).toBeTruthy();
});
test('blog_sandra_uche: h2 "That is when she made her vow:"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'That is when she made her vow: no matter where life took her, money would never again decide somethi' || t.startsWith('That is when she made her vow: no matter where life took her, money would never again decide somethi'))).toBeTruthy();
});
test('blog_sandra_uche: h2 "In Lagos, Cascora\'s community "', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'In Lagos, Cascora\'s community of users was starting to form.' || t.startsWith('In Lagos, Cascora\'s community of users was starting to form.'))).toBeTruthy();
});
test('blog_sandra_uche: h2 "Further Reading"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
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_sandra_uche: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('blog_sandra_uche: nav link "Get a demo"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('blog_sandra_uche: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects with AI' || t.startsWith('CoragentsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('blog_sandra_uche: nav link "WaterfallLayer multiple data p"', async ({ page }) => {
await page.goto('/blog/sandra-uche/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data providers for the fullest cover' || t.startsWith('WaterfallLayer multiple data providers for the fullest cover')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_figma', () => {
test('customers_figma: title matches GT', async ({ page }) => {
await page.goto('/customers/figma/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how vireo built a living data foundation');
});
test('customers_figma: h1 "How Vireo built a unified data"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Vireo built a unified data core to power every GTM motion at scale' || t.startsWith('How Vireo built a unified data core to power every GTM motion at scale'))).toBeTruthy();
});
test('customers_figma: h2 "See more customer wins"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more customer wins' || t.startsWith('See more customer wins'))).toBeTruthy();
});
test('customers_figma: h2 "Simplify every enrichment"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Simplify every enrichment' || t.startsWith('Simplify every enrichment'))).toBeTruthy();
});
test('customers_figma: h2 "Bring your growth plans to lif"', async ({ page }) => {
await page.goto('/customers/figma/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth plans to life right now' || t.startsWith('Bring your growth plans to life right now'))).toBeTruthy();
});
test('customers_figma: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_figma: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_figma: nav link "CascentsUncover target account"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsUncover target accounts and buyers with AI' || t.startsWith('CascentsUncover target accounts and buyers with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_figma: nav link "WaterfallLayer many data vendo"', async ({ page }) => {
await page.goto('/customers/figma/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer many data vendors together for maximum covera' || t.startsWith('WaterfallLayer many data vendors together for maximum covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_intercom', () => {
test('customers_intercom: title matches GT', async ({ page }) => {
await page.goto('/customers/intercom/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how beaconly used cascora to build trust');
});
test('customers_intercom: h1 "How Beaconly used Cascora to b"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Beaconly used Cascora to build trust in GTM data and accelerate outbound execution' || t.startsWith('How Beaconly used Cascora to build trust in GTM data and accelerate outbound execution'))).toBeTruthy();
});
test('customers_intercom: h2 "How Beaconly\'s work with Casco"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Beaconly\'s work with Cascora built trust with sales' || t.startsWith('How Beaconly\'s work with Cascora built trust with sales'))).toBeTruthy();
});
test('customers_intercom: h2 "The end result"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The end result' || t.startsWith('The end result'))).toBeTruthy();
});
test('customers_intercom: h2 "Browse more customers"', async ({ page }) => {
await page.goto('/customers/intercom/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Browse more customers' || t.startsWith('Browse more customers'))).toBeTruthy();
});
test('customers_intercom: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_intercom: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_intercom: nav link "CoragentsEnrich accounts and c"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich accounts and contacts automatically with AI' || t.startsWith('CoragentsEnrich accounts and contacts automatically with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_intercom: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/customers/intercom/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for maximum cov' || t.startsWith('WaterfallLayer several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_mistral_ai', () => {
test('customers_mistral_ai: title matches GT', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how lumaris ai built a global gtm engine');
});
test('customers_mistral_ai: h1 "How Lumaris AI built a global "', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Lumaris AI built a global GTM engine with Cascora' || t.startsWith('How Lumaris AI built a global GTM engine with Cascora'))).toBeTruthy();
});
test('customers_mistral_ai: h2 "Cascora has helped us bring ou"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '"Cascora has helped us bring our GTM organization to world-class maturity and deliver meaningful val' || t.startsWith('"Cascora has helped us bring our GTM organization to world-class maturity and deliver meaningful val'))).toBeTruthy();
});
test('customers_mistral_ai: h2 "Browse more customers"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Browse more customers' || t.startsWith('Browse more customers'))).toBeTruthy();
});
test('customers_mistral_ai: h2 "Automate your data enrichment"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automate your data enrichment' || t.startsWith('Automate your data enrichment'))).toBeTruthy();
});
test('customers_mistral_ai: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_mistral_ai: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_mistral_ai: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and contacts using AI' || t.startsWith('CoragentsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_mistral_ai: nav link "CascadeLayer several data vend"', async ({ page }) => {
await page.goto('/customers/mistral-ai/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeLayer several data vendors together for the widest re' || t.startsWith('CascadeLayer several data vendors together for the widest re')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_sana', () => {
test('customers_sana: title matches GT', async ({ page }) => {
await page.goto('/customers/sana/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how vela gives 140 sales reps stronger b');
});
test('customers_sana: h1 "How Vela arms 140 sales reps w"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Vela arms 140 sales reps with stronger books of business' || t.startsWith('How Vela arms 140 sales reps with stronger books of business'))).toBeTruthy();
});
test('customers_sana: h2 "See more customer stories"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See more customer stories' || t.startsWith('See more customer stories'))).toBeTruthy();
});
test('customers_sana: h2 "Streamline data enrichment"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamline data enrichment' || t.startsWith('Streamline data enrichment'))).toBeTruthy();
});
test('customers_sana: h2 "Bring your go-to-market vision"', async ({ page }) => {
await page.goto('/customers/sana/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your go-to-market vision to life today' || t.startsWith('Bring your go-to-market vision to life today'))).toBeTruthy();
});
test('customers_sana: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_sana: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_sana: nav link "CoragentsEnrich target account"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich target accounts and contacts using AI' || t.startsWith('CoragentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_sana: nav link "MultipassBlend several data ve"', async ({ page }) => {
await page.goto('/customers/sana/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'MultipassBlend several data vendors to maximize match rates' || t.startsWith('MultipassBlend several data vendors to maximize match rates')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - customers_verkada', () => {
test('customers_verkada: title matches GT', async ({ page }) => {
await page.goto('/customers/verkada/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how vantera\'s growth team uses cascora t');
});
test('customers_verkada: h1 "How Vantera’s growth team uses"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Vantera’s growth team uses Cascora to launch targeted ABM campaigns across Linkbase, email, and' || t.startsWith('How Vantera’s growth team uses Cascora to launch targeted ABM campaigns across Linkbase, email, and'))).toBeTruthy();
});
test('customers_verkada: h2 "“Cascora has helped us dramati"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '“Cascora has helped us dramatically automate and streamline the data enrichment process across our w' || t.startsWith('“Cascora has helped us dramatically automate and streamline the data enrichment process across our w'))).toBeTruthy();
});
test('customers_verkada: h2 "Find prospects\' Linkbase profi"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Find prospects\' Linkbase profiles to sharpen ad campaign targeting' || t.startsWith('Find prospects\' Linkbase profiles to sharpen ad campaign targeting'))).toBeTruthy();
});
test('customers_verkada: h2 "Scrape local business websites"', async ({ page }) => {
await page.goto('/customers/verkada/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scrape local business websites to reach niche industries in ad campaigns' || t.startsWith('Scrape local business websites to reach niche industries in ad campaigns'))).toBeTruthy();
});
test('customers_verkada: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('customers_verkada: nav link "Get a demo"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('customers_verkada: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and prospects using AI' || t.startsWith('CoragentsResearch target accounts and prospects using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('customers_verkada: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/customers/verkada/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers together for maximum cove' || t.startsWith('WaterfallBlend many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - livestreams_how_cascora_uses_cascora_ads_audiences', () => {
test('livestreams_how_cascora_uses_cascora_ads_audiences: title matches GT', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('livestream');
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h1 "How Cascora Uses Cascora: Paid"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Cascora Uses Cascora: Paid Social Ads on Autopilot' || t.startsWith('How Cascora Uses Cascora: Paid Social Ads on Autopilot'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h2 "Bring your growth experiments "', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring your growth experiments to life today' || t.startsWith('Bring your growth experiments to life today'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h2 "Reach the market with rare dat"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reach the market with rare data—and the power to act on it' || t.startsWith('Reach the market with rare data—and the power to act on it'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: h3 "Use cases"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Use cases' || t.startsWith('Use cases'))).toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "Get a demo"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "CoragentsEnrich target account"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich target accounts and contacts using AI' || t.startsWith('CoragentsEnrich target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('livestreams_how_cascora_uses_cascora_ads_audiences: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/livestreams/how-cascora-uses-cascora-ads-audiences/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for maximum cov' || t.startsWith('WaterfallChain several data vendors together for maximum cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_creators', () => {
test('partners_creators: title matches GT', async ({ page }) => {
await page.goto('/partners/creators/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('creators program');
});
test('partners_creators: h1 "Join other top users creating "', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join other top users creating standout Cascora content' || t.startsWith('Join other top users creating standout Cascora content'))).toBeTruthy();
});
test('partners_creators: h2 "Join the Cascora ecosystem and"', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora ecosystem and unlock new benefits' || t.startsWith('Join the Cascora ecosystem and unlock new benefits'))).toBeTruthy();
});
test('partners_creators: h2 "Meeting new creators has never"', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meeting new creators has never been simpler' || t.startsWith('Meeting new creators has never been simpler'))).toBeTruthy();
});
test('partners_creators: h2 "What our partners say"', async ({ page }) => {
await page.goto('/partners/creators/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What our partners say' || t.startsWith('What our partners say'))).toBeTruthy();
});
test('partners_creators: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_creators: nav link "Book a demo"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a demo' || t.startsWith('Book a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_creators: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and contacts using AI' || t.startsWith('CoragentsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_creators: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/partners/creators/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for the best co' || t.startsWith('WaterfallLayer several data vendors together for the best co')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_integrations', () => {
test('partners_integrations: title matches GT', async ({ page }) => {
await page.goto('/partners/integrations/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('integration partners');
});
test('partners_integrations: h1 "Become a Cascora integrations "', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Become a Cascora integrations partner' || t.startsWith('Become a Cascora integrations partner'))).toBeTruthy();
});
test('partners_integrations: h2 "Join the Cascora ecosystem and"', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the Cascora ecosystem and unlock fresh benefits' || t.startsWith('Join the Cascora ecosystem and unlock fresh benefits'))).toBeTruthy();
});
test('partners_integrations: h2 "Launch in just 3 simple steps"', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Launch in just 3 simple steps' || t.startsWith('Launch in just 3 simple steps'))).toBeTruthy();
});
test('partners_integrations: h2 "Core benefits"', async ({ page }) => {
await page.goto('/partners/integrations/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core benefits' || t.startsWith('Core benefits'))).toBeTruthy();
});
test('partners_integrations: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_integrations: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_integrations: nav link "CascentsDiscover target accoun"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsDiscover target accounts and contacts using AI' || t.startsWith('CascentsDiscover target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_integrations: nav link "CascadeChain multiple data pro"', async ({ page }) => {
await page.goto('/partners/integrations/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeChain multiple data providers to maximize your covera' || t.startsWith('CascadeChain multiple data providers to maximize your covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_solutions', () => {
test('partners_solutions: title matches GT', async ({ page }) => {
await page.goto('/partners/solutions/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('solutions partner program');
});
test('partners_solutions: h1 "Solutions on the Leading Edge"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Solutions on the Leading Edge' || t.startsWith('Solutions on the Leading Edge'))).toBeTruthy();
});
test('partners_solutions: h1 "Pick your partner track"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Pick your partner track' || t.startsWith('Pick your partner track'))).toBeTruthy();
});
test('partners_solutions: h2 "Why build with Cascora"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why build with Cascora' || t.startsWith('Why build with Cascora'))).toBeTruthy();
});
test('partners_solutions: h2 "Crafter"', async ({ page }) => {
await page.goto('/partners/solutions/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Crafter' || t.startsWith('Crafter'))).toBeTruthy();
});
test('partners_solutions: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_solutions: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_solutions: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and people using AI' || t.startsWith('CoragentsResearch target accounts and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_solutions: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/partners/solutions/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers together for maximum cove' || t.startsWith('WaterfallBlend many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - partners_startup_partner_program', () => {
test('partners_startup_partner_program: title matches GT', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('startup partner program');
});
test('partners_startup_partner_program: h1 "Founder partner program"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Founder partner program' || t.startsWith('Founder partner program'))).toBeTruthy();
});
test('partners_startup_partner_program: h2 "Cascora for Startups"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora for Startups' || t.startsWith('Cascora for Startups'))).toBeTruthy();
});
test('partners_startup_partner_program: h2 "Perks designed to help your st"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Perks designed to help your startups scale their GTM' || t.startsWith('Perks designed to help your startups scale their GTM'))).toBeTruthy();
});
test('partners_startup_partner_program: h2 "Apply to join our close-knit n"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Apply to join our close-knit network of startup program partners' || t.startsWith('Apply to join our close-knit network of startup program partners'))).toBeTruthy();
});
test('partners_startup_partner_program: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('partners_startup_partner_program: nav link "Get a demo"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('partners_startup_partner_program: nav link "CoragentsFind and enrich accou"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsFind and enrich accounts and people with AI' || t.startsWith('CoragentsFind and enrich accounts and people with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('partners_startup_partner_program: nav link "WaterfallLayer multiple data v"', async ({ page }) => {
await page.goto('/partners/startup-partner-program/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data vendors for the widest coverage' || t.startsWith('WaterfallLayer multiple data vendors for the widest coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_abm', () => {
test('use_cases_abm: title matches GT', async ({ page }) => {
await page.goto('/use-cases/abm/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('abm');
});
test('use_cases_abm: h1 "Cover all your ABM accounts"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cover all your ABM accounts' || t.startsWith('Cover all your ABM accounts'))).toBeTruthy();
});
test('use_cases_abm: h2 "Strong ABM runs on strong data"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Strong ABM runs on strong data' || t.startsWith('Strong ABM runs on strong data'))).toBeTruthy();
});
test('use_cases_abm: h2 "Sentira"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sentira' || t.startsWith('Sentira'))).toBeTruthy();
});
test('use_cases_abm: h2 "Replenix"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Replenix' || t.startsWith('Replenix'))).toBeTruthy();
});
test('use_cases_abm: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_abm: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_abm: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and contacts with AI' || t.startsWith('CascentsResearch target accounts and contacts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_abm: nav link "CascadeBlend several data prov"', async ({ page }) => {
await page.goto('/use-cases/abm/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadeBlend several data providers together for the best co' || t.startsWith('CascadeBlend several data providers together for the best co')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_account_research', () => {
test('use_cases_account_research: title matches GT', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('automated account research that powers s');
});
test('use_cases_account_research: h1 "Automate account research end "', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automate account research end to end' || t.startsWith('Automate account research end to end'))).toBeTruthy();
});
test('use_cases_account_research: h2 "Uncover precisely what your re"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover precisely what your reps need to know' || t.startsWith('Uncover precisely what your reps need to know'))).toBeTruthy();
});
test('use_cases_account_research: h2 "Cascora in ChatMate — run acco"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cascora in ChatMate — run account research in plain language' || t.startsWith('Cascora in ChatMate — run account research in plain language'))).toBeTruthy();
});
test('use_cases_account_research: h2 "Enrich with 150+ data sources "', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enrich with 150+ data sources & AI' || t.startsWith('Enrich with 150+ data sources & AI'))).toBeTruthy();
});
test('use_cases_account_research: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_account_research: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_account_research: nav link "CoragentsEnrich the companies "', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsEnrich the companies and people you target with AI' || t.startsWith('CoragentsEnrich the companies and people you target with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_account_research: nav link "WaterfallLayer several data ve"', async ({ page }) => {
await page.goto('/use-cases/account-research/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data vendors together for the widest ' || t.startsWith('WaterfallLayer several data vendors together for the widest ')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_crm_enrichment', () => {
test('use_cases_crm_enrichment: title matches GT', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('crm enrichment');
});
test('use_cases_crm_enrichment: h1 "Keep your CRM spotless with th"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Keep your CRM spotless with the most accurate data available' || t.startsWith('Keep your CRM spotless with the most accurate data available'))).toBeTruthy();
});
test('use_cases_crm_enrichment: h2 "The widest data coverage in GT"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The widest data coverage in GTM' || t.startsWith('The widest data coverage in GTM'))).toBeTruthy();
});
test('use_cases_crm_enrichment: h2 "Nyvex"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nyvex' || t.startsWith('Nyvex'))).toBeTruthy();
});
test('use_cases_crm_enrichment: h2 "Verralane"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Verralane' || t.startsWith('Verralane'))).toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and prospects with AI' || t.startsWith('CascentsResearch target accounts and prospects with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_crm_enrichment: nav link "WaterfallBlend multiple data p"', async ({ page }) => {
await page.goto('/use-cases/crm-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend multiple data providers to reach the best cov' || t.startsWith('WaterfallBlend multiple data providers to reach the best cov')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_inbound_enrichment', () => {
test('use_cases_inbound_enrichment: title matches GT', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('inbound enrichment');
});
test('use_cases_inbound_enrichment: h1 "Enrich each inbound lead and a"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enrich each inbound lead and act on it in real time' || t.startsWith('Enrich each inbound lead and act on it in real time'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: h2 "Deep buyer context from 150+ d"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Deep buyer context from 150+ data sources' || t.startsWith('Deep buyer context from 150+ data sources'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: h2 "Northwind"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Northwind' || t.startsWith('Northwind'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: h2 "Uncover rare data with AI"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover rare data with AI' || t.startsWith('Uncover rare data with AI'))).toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "CoragentsUncover key accounts "', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover key accounts and buyers with AI research' || t.startsWith('CoragentsUncover key accounts and buyers with AI research')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_inbound_enrichment: nav link "WaterfallChain several data ve"', async ({ page }) => {
await page.goto('/use-cases/inbound-enrichment/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallChain several data vendors together for full covera' || t.startsWith('WaterfallChain several data vendors together for full covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_outbound', () => {
test('use_cases_outbound: title matches GT', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ai outbound');
});
test('use_cases_outbound: h1 "AI outbound that scales your t"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI outbound that scales your top rep’s personal touch' || t.startsWith('AI outbound that scales your top rep’s personal touch'))).toBeTruthy();
});
test('use_cases_outbound: h2 "A full-cycle outbound engine"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A full-cycle outbound engine' || t.startsWith('A full-cycle outbound engine'))).toBeTruthy();
});
test('use_cases_outbound: h2 "Parcelo"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Parcelo' || t.startsWith('Parcelo'))).toBeTruthy();
});
test('use_cases_outbound: h2 "Meridian"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meridian' || t.startsWith('Meridian'))).toBeTruthy();
});
test('use_cases_outbound: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_outbound: nav link "Book a demo"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a demo' || t.startsWith('Book a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_outbound: nav link "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsResearch target accounts and buyers using AI' || t.startsWith('CoragentsResearch target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_outbound: nav link "WaterfallLayer many data provi"', async ({ page }) => {
await page.goto('/use-cases/outbound/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer many data providers together for maximum cove' || t.startsWith('WaterfallLayer many data providers together for maximum cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_plg_assist', () => {
test('use_cases_plg_assist: title matches GT', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('turn plg signups into enterprise revenue');
});
test('use_cases_plg_assist: h1 "Grow PLG signups into enterpri"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Grow PLG signups into enterprise pipeline' || t.startsWith('Grow PLG signups into enterprise pipeline'))).toBeTruthy();
});
test('use_cases_plg_assist: h2 "Tie PLG users to their company"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tie PLG users to their company' || t.startsWith('Tie PLG users to their company'))).toBeTruthy();
});
test('use_cases_plg_assist: h2 "Rank the users most ready to c"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rank the users most ready to convert' || t.startsWith('Rank the users most ready to convert'))).toBeTruthy();
});
test('use_cases_plg_assist: h2 "Send your top accounts straigh"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Send your top accounts straight to reps' || t.startsWith('Send your top accounts straight to reps'))).toBeTruthy();
});
test('use_cases_plg_assist: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_plg_assist: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_plg_assist: nav link "ScoutletsUncover target accoun"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutletsUncover target accounts and buyers using AI' || t.startsWith('ScoutletsUncover target accounts and buyers using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_plg_assist: nav link "WaterfallLayer many data vendo"', async ({ page }) => {
await page.goto('/use-cases/plg-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer many data vendors together for maximum covera' || t.startsWith('WaterfallLayer many data vendors together for maximum covera')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_rep_assist', () => {
test('use_cases_rep_assist: title matches GT', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rep boost bundle');
});
test('use_cases_rep_assist: h1 "Give sales reps their selling "', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Give sales reps their selling hours back again' || t.startsWith('Give sales reps their selling hours back again'))).toBeTruthy();
});
test('use_cases_rep_assist: h2 "Get intent alerts and digests"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get intent alerts and digests' || t.startsWith('Get intent alerts and digests'))).toBeTruthy();
});
test('use_cases_rep_assist: h2 "Prepare pre-meeting notes"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prepare pre-meeting notes' || t.startsWith('Prepare pre-meeting notes'))).toBeTruthy();
});
test('use_cases_rep_assist: h2 "Personalize pitches"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Personalize pitches' || t.startsWith('Personalize pitches'))).toBeTruthy();
});
test('use_cases_rep_assist: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_assist: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_assist: nav link "CascentsResearch target accoun"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch target accounts and contacts using AI' || t.startsWith('CascentsResearch target accounts and contacts using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_assist: nav link "CascadesBlend many data provid"', async ({ page }) => {
await page.goto('/use-cases/rep-assist/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascadesBlend many data providers to reach the best coverage' || t.startsWith('CascadesBlend many data providers to reach the best coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_rep_prospecting', () => {
test('use_cases_rep_prospecting: title matches GT', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rep prospecting');
});
test('use_cases_rep_prospecting: h1 "Arm every rep with reliable co"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Arm every rep with reliable contact data for prospects across the web' || t.startsWith('Arm every rep with reliable contact data for prospects across the web'))).toBeTruthy();
});
test('use_cases_rep_prospecting: h2 "Prospecting built around your "', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Prospecting built around your sales motion' || t.startsWith('Prospecting built around your sales motion'))).toBeTruthy();
});
test('use_cases_rep_prospecting: h2 "How Linguava scaled Cascora pr"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Linguava scaled Cascora prospecting to 120 sales reps with Syncbar' || t.startsWith('How Linguava scaled Cascora prospecting to 120 sales reps with Syncbar'))).toBeTruthy();
});
test('use_cases_rep_prospecting: h2 "Discover prospects anywhere on"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Discover prospects anywhere on the web' || t.startsWith('Discover prospects anywhere on the web'))).toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "Book a demo"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Book a demo' || t.startsWith('Book a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "ScoutbotsResearch target accou"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'ScoutbotsResearch target accounts and contacts with AI' || t.startsWith('ScoutbotsResearch target accounts and contacts with AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_rep_prospecting: nav link "WaterfallBlend many data provi"', async ({ page }) => {
await page.goto('/use-cases/rep-prospecting/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data providers to reach the best coverag' || t.startsWith('WaterfallBlend many data providers to reach the best coverag')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_reverse_etl', () => {
test('use_cases_reverse_etl: title matches GT', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('reverse etl');
});
test('use_cases_reverse_etl: h1 "Rep support"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rep support' || t.startsWith('Rep support'))).toBeTruthy();
});
test('use_cases_reverse_etl: h2 "CRM enhancement"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CRM enhancement' || t.startsWith('CRM enhancement'))).toBeTruthy();
});
test('use_cases_reverse_etl: h2 "Core use cases"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Core use cases' || t.startsWith('Core use cases'))).toBeTruthy();
});
test('use_cases_reverse_etl: h2 "Orbita replaced \$500k in consu"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Orbita replaced \$500k in consultants with Cascora' || t.startsWith('Orbita replaced \$500k in consultants with Cascora'))).toBeTruthy();
});
test('use_cases_reverse_etl: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_reverse_etl: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_reverse_etl: nav link "CoragentsUncover accounts and "', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CoragentsUncover accounts and buyers using AI research' || t.startsWith('CoragentsUncover accounts and buyers using AI research')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_reverse_etl: nav link "WaterfallBlend many data vendo"', async ({ page }) => {
await page.goto('/use-cases/reverse-etl/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallBlend many data vendors together for full coverage' || t.startsWith('WaterfallBlend many data vendors together for full coverage')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_tam_sourcing', () => {
test('use_cases_tam_sourcing: title matches GT', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('tam sourcing');
});
test('use_cases_tam_sourcing: h1 "Bring every account in your TA"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Bring every account in your TAM into one view' || t.startsWith('Bring every account in your TAM into one view'))).toBeTruthy();
});
test('use_cases_tam_sourcing: h2 "Slot into your list-building w"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Slot into your list-building workflow and see stronger outcomes' || t.startsWith('Slot into your list-building workflow and see stronger outcomes'))).toBeTruthy();
});
test('use_cases_tam_sourcing: h2 "Discover enterprise and SMB le"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Discover enterprise and SMB leads across Cascora\'s database and many data sources. Apply advanced IC' || t.startsWith('Discover enterprise and SMB leads across Cascora\'s database and many data sources. Apply advanced IC'))).toBeTruthy();
});
test('use_cases_tam_sourcing: h2 "Perklyft"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Perklyft' || t.startsWith('Perklyft'))).toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "AI AgentsDiscover target compa"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'AI AgentsDiscover target companies and people using AI' || t.startsWith('AI AgentsDiscover target companies and people using AI')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_tam_sourcing: nav link "WaterfallLayer multiple data p"', async ({ page }) => {
await page.goto('/use-cases/tam-sourcing/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer multiple data providers to maximize your cove' || t.startsWith('WaterfallLayer multiple data providers to maximize your cove')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - use_cases_territory_planning', () => {
test('use_cases_territory_planning: title matches GT', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('territory planning');
});
test('use_cases_territory_planning: h1 "Build territories you can defe"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build territories you can defend, powered by complete data' || t.startsWith('Build territories you can defend, powered by complete data'))).toBeTruthy();
});
test('use_cases_territory_planning: h2 "Scoring logic you can see, bac"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Scoring logic you can see, backed by data' || t.startsWith('Scoring logic you can see, backed by data'))).toBeTruthy();
});
test('use_cases_territory_planning: h2 "Say goodbye to black-box scori"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Say goodbye to black-box scoring' || t.startsWith('Say goodbye to black-box scoring'))).toBeTruthy();
});
test('use_cases_territory_planning: h2 "Uncover every new account in y"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Uncover every new account in your TAM and skip duplicates' || t.startsWith('Uncover every new account in your TAM and skip duplicates'))).toBeTruthy();
});
test('use_cases_territory_planning: nav link "PricingPricing"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'PricingPricing' || t.startsWith('PricingPricing')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('pricing')), 'href fragment present').toBeTruthy();
});
test('use_cases_territory_planning: nav link "Get a demo"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get a demo' || t.startsWith('Get a demo')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('demo')), 'href fragment present').toBeTruthy();
});
test('use_cases_territory_planning: nav link "CascentsResearch the accounts "', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'CascentsResearch the accounts and people you target with pre' || t.startsWith('CascentsResearch the accounts and people you target with pre')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('cascoragent')), 'href fragment present').toBeTruthy();
});
test('use_cases_territory_planning: nav link "WaterfallLayer several data pr"', async ({ page }) => {
await page.goto('/use-cases/territory-planning/');
const links = page.locator('nav a');
const texts = (await links.allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'WaterfallLayer several data providers together for the wides' || t.startsWith('WaterfallLayer several data providers together for the wides')), 'link text in nav').toBeTruthy();
const hrefs = await links.evaluateAll(els => els.map(e => (e.getAttribute('href') || '').toLowerCase()));
expect(hrefs.some(h => h.includes('waterfall-enrichment')), 'href fragment present').toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to pricing via "PricingPricing"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="pricing"]').first();
expect(await link.count(), 'nav link to pricing exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('pricing');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Pricing built to fit your team');
});
test('navigate to demo via "Get a demo"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="demo"]').first();
expect(await link.count(), 'nav link to demo exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('demo');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('See Cascora live');
});
test('navigate to cascoragent via "CoragentsResearch target accou"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="cascoragent"]').first();
expect(await link.count(), 'nav link to cascoragent exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('cascoragent');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Grow your market advantage with AI agents for GTM');
});
});
|