Datasets:
File size: 184,959 Bytes
84176cc | 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 | 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('klavrium');
});
});
test.describe('Functional - blog', () => {
test('blog: title matches GT', async ({ page }) => {
await page.goto('/blog/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium blog');
});
test('blog: h1 "Cache tuning for modules"', 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 === 'Cache tuning for modules' || t.startsWith('Cache tuning for modules'))).toBeTruthy();
});
test('blog: h2 "Join our community"', 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 === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog: h2 "Get email updates and be the f"', 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 === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog: h3 "Klavrium 0.19: faster runs, fr"', async ({ page }) => {
await page.goto('/blog/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.19: faster runs, fresh APIs, ship an agent!' || t.startsWith('Klavrium 0.19: faster runs, fresh APIs, ship an agent!'))).toBeTruthy();
});
});
test.describe('Functional - brand', () => {
test('brand: title matches GT', async ({ page }) => {
await page.goto('/brand/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('brand');
});
test('brand: h1 "Brand Guidelines"', async ({ page }) => {
await page.goto('/brand/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Brand Guidelines' || t.startsWith('Brand Guidelines'))).toBeTruthy();
});
test('brand: h2 "Our logo"', async ({ page }) => {
await page.goto('/brand/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our logo' || t.startsWith('Our logo'))).toBeTruthy();
});
test('brand: h2 "Join the community"', async ({ page }) => {
await page.goto('/brand/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('brand: h2 "Subscribe for product updates "', async ({ page }) => {
await page.goto('/brand/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for product updates and hear it here first.' || t.startsWith('Subscribe for product updates and hear it here first.'))).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('changelog');
});
test('changelog: h3 "Modules v2"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Modules v2' || t.startsWith('Modules v2'))).toBeTruthy();
});
test('changelog: h3 "Cloud Checks"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cloud Checks' || t.startsWith('Cloud Checks'))).toBeTruthy();
});
test('changelog: h3 "Faster klavrium connect"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Faster klavrium connect' || t.startsWith('Faster klavrium connect'))).toBeTruthy();
});
test('changelog: h3 "A lockfile for your CI"', async ({ page }) => {
await page.goto('/changelog/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A lockfile for your CI' || t.startsWith('A lockfile for your CI'))).toBeTruthy();
});
});
test.describe('Functional - cloud', () => {
test('cloud: title matches GT', async ({ page }) => {
await page.goto('/cloud/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium cloud');
});
test('cloud: h2 "A test broke. Where did the wo"', async ({ page }) => {
await page.goto('/cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A test broke. Where did the workflow fail?' || t.startsWith('A test broke. Where did the workflow fail?'))).toBeTruthy();
});
test('cloud: h2 "Operational Insights"', async ({ page }) => {
await page.goto('/cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Operational Insights' || t.startsWith('Operational Insights'))).toBeTruthy();
});
test('cloud: h2 "Clear pricing that scales as y"', async ({ page }) => {
await page.goto('/cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Clear pricing that scales as you grow' || t.startsWith('Clear pricing that scales as you grow'))).toBeTruthy();
});
});
test.describe('Functional - community', () => {
test('community: title matches GT', async ({ page }) => {
await page.goto('/community/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('community');
});
test('community: h1 "Explore Our Community"', async ({ page }) => {
await page.goto('/community/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Explore Our Community' || t.startsWith('Explore Our Community'))).toBeTruthy();
});
test('community: h2 "Get email updates, be the firs"', async ({ page }) => {
await page.goto('/community/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates, be the first to know' || t.startsWith('Get email updates, be the first to know'))).toBeTruthy();
});
test('community: h2 "Community Programs"', async ({ page }) => {
await page.goto('/community/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Community Programs' || t.startsWith('Community Programs'))).toBeTruthy();
});
test('community: h2 "Get Involved"', async ({ page }) => {
await page.goto('/community/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get Involved' || t.startsWith('Get Involved'))).toBeTruthy();
});
});
test.describe('Functional - community_sdk', () => {
test('community_sdk: title matches GT', async ({ page }) => {
await page.goto('/community-sdk/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('community sdks');
});
test('community_sdk: h1 "Klavrium Community SDKs"', async ({ page }) => {
await page.goto('/community-sdk/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Community SDKs' || t.startsWith('Klavrium Community SDKs'))).toBeTruthy();
});
test('community_sdk: h2 "Choose your Klavrium SDK"', async ({ page }) => {
await page.goto('/community-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Choose your Klavrium SDK' || t.startsWith('Choose your Klavrium SDK'))).toBeTruthy();
});
test('community_sdk: h2 "Klavrium SDK Levels"', async ({ page }) => {
await page.goto('/community-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium SDK Levels' || t.startsWith('Klavrium SDK Levels'))).toBeTruthy();
});
test('community_sdk: h2 "Klavrium Community SDK Maintai"', async ({ page }) => {
await page.goto('/community-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Community SDK Maintainers' || t.startsWith('Klavrium Community SDK Maintainers'))).toBeTruthy();
});
});
test.describe('Functional - klavrium_love', () => {
test('klavrium_love: title matches GT', async ({ page }) => {
await page.goto('/klavrium-love/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium love');
});
test('klavrium_love: h2 "Join the community"', async ({ page }) => {
await page.goto('/klavrium-love/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('klavrium_love: h2 "Subscribe for updates and be t"', async ({ page }) => {
await page.goto('/klavrium-love/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and be the first to know.' || t.startsWith('Subscribe for updates and be the first to know.'))).toBeTruthy();
});
});
test.describe('Functional - deep_dives', () => {
test('deep_dives: title matches GT', async ({ page }) => {
await page.goto('/deep-dives/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('engineering deep dives');
});
test('deep_dives: h1 "Upcoming Webinars"', async ({ page }) => {
await page.goto('/deep-dives/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Upcoming Webinars' || t.startsWith('Upcoming Webinars'))).toBeTruthy();
});
test('deep_dives: h2 "Past Webinars"', async ({ page }) => {
await page.goto('/deep-dives/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Past Webinars' || t.startsWith('Past Webinars'))).toBeTruthy();
});
test('deep_dives: h2 "Join the community"', async ({ page }) => {
await page.goto('/deep-dives/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('deep_dives: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/deep-dives/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
});
test.describe('Functional - event', () => {
test('event: title matches GT', async ({ page }) => {
await page.goto('/event/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('events');
});
test('event: h1 "Klavrium Events"', async ({ page }) => {
await page.goto('/event/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Events' || t.startsWith('Klavrium Events'))).toBeTruthy();
});
test('event: h2 "Upcoming Events"', async ({ page }) => {
await page.goto('/event/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Upcoming Events' || t.startsWith('Upcoming Events'))).toBeTruthy();
});
test('event: h2 "Join the community"', async ({ page }) => {
await page.goto('/event/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('event: h2 "Subscribe for updates and hear"', async ({ page }) => {
await page.goto('/event/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and hear the news.' || t.startsWith('Subscribe for updates and hear the news.'))).toBeTruthy();
});
});
test.describe('Functional - legal_pages_privacy_policy', () => {
test('legal_pages_privacy_policy: title matches GT', async ({ page }) => {
await page.goto('/legal_pages/privacy-policy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('privacy policy');
});
test('legal_pages_privacy_policy: h2 "Location-Specific Disclosures"', async ({ page }) => {
await page.goto('/legal_pages/privacy-policy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Location-Specific Disclosures' || t.startsWith('Location-Specific Disclosures'))).toBeTruthy();
});
test('legal_pages_privacy_policy: h2 "How We Define Personal."', async ({ page }) => {
await page.goto('/legal_pages/privacy-policy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How We Define Personal.' || t.startsWith('How We Define Personal.'))).toBeTruthy();
});
test('legal_pages_privacy_policy: h2 "How We Collect Personal Inform"', async ({ page }) => {
await page.goto('/legal_pages/privacy-policy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How We Collect Personal Information' || t.startsWith('How We Collect Personal Information'))).toBeTruthy();
});
});
test.describe('Functional - legal_pages_terms_of_service', () => {
test('legal_pages_terms_of_service: title matches GT', async ({ page }) => {
await page.goto('/legal_pages/terms-of-service/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('terms of service');
});
test('legal_pages_terms_of_service: h2 "1. Changes to these Terms."', async ({ page }) => {
await page.goto('/legal_pages/terms-of-service/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '1. Changes to these Terms.' || t.startsWith('1. Changes to these Terms.'))).toBeTruthy();
});
test('legal_pages_terms_of_service: h2 "2. Accounts"', async ({ page }) => {
await page.goto('/legal_pages/terms-of-service/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '2. Accounts' || t.startsWith('2. Accounts'))).toBeTruthy();
});
test('legal_pages_terms_of_service: h2 "3. Provision of the Services"', async ({ page }) => {
await page.goto('/legal_pages/terms-of-service/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '3. Provision of the Services' || t.startsWith('3. Provision of the Services'))).toBeTruthy();
});
});
test.describe('Functional - legal_pages_trademark_guidelines', () => {
test('legal_pages_trademark_guidelines: title matches GT', async ({ page }) => {
await page.goto('/legal_pages/trademark-guidelines/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('trademark guidelines');
});
test('legal_pages_trademark_guidelines: h2 "Trademark FAQs"', async ({ page }) => {
await page.goto('/legal_pages/trademark-guidelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Trademark FAQs' || t.startsWith('Trademark FAQs'))).toBeTruthy();
});
test('legal_pages_trademark_guidelines: h2 "Klavrium Trademark Policy"', async ({ page }) => {
await page.goto('/legal_pages/trademark-guidelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Trademark Policy' || t.startsWith('Klavrium Trademark Policy'))).toBeTruthy();
});
test('legal_pages_trademark_guidelines: h3 "May I use the Klavrium logo or"', async ({ page }) => {
await page.goto('/legal_pages/trademark-guidelines/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'May I use the Klavrium logo or other assets from this website on my own site or assets?' || t.startsWith('May I use the Klavrium logo or other assets from this website on my own site or assets?'))).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('partners');
});
test('partners: h1 "Klavrium Partners"', 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 === 'Klavrium Partners' || t.startsWith('Klavrium Partners'))).toBeTruthy();
});
test('partners: h2 "Consulting Partners"', 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 === 'Consulting Partners' || t.startsWith('Consulting Partners'))).toBeTruthy();
});
test('partners: h2 "Technology Partners"', 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 === 'Technology Partners' || t.startsWith('Technology Partners'))).toBeTruthy();
});
test('partners: h2 "Klavrium Technology Partner"', 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 === 'Klavrium Technology Partner' || t.startsWith('Klavrium Technology Partner'))).toBeTruthy();
});
});
test.describe('Functional - blog_10k_github_stars', () => {
test('blog_10k_github_stars: title matches GT', async ({ page }) => {
await page.goto('/blog/10k-github-stars/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('our first 10k source stars');
});
test('blog_10k_github_stars: h1 "Our First 10K Source Stars"', async ({ page }) => {
await page.goto('/blog/10k-github-stars/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our First 10K Source Stars' || t.startsWith('Our First 10K Source Stars'))).toBeTruthy();
});
test('blog_10k_github_stars: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/10k-github-stars/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_10k_github_stars: h2 "Subscribe for updates and be t"', async ({ page }) => {
await page.goto('/blog/10k-github-stars/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and be the first to know.' || t.startsWith('Subscribe for updates and be the first to know.'))).toBeTruthy();
});
});
test.describe('Functional - blog_2024_klavrium_commanders', () => {
test('blog_2024_klavrium_commanders: title matches GT', async ({ page }) => {
await page.goto('/blog/2024-klavrium-commanders/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('meet the 2024 klavrium commanders');
});
test('blog_2024_klavrium_commanders: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/2024-klavrium-commanders/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_2024_klavrium_commanders: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/2024-klavrium-commanders/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and stay ahead' || t.startsWith('Sign up for email updates and stay ahead'))).toBeTruthy();
});
test('blog_2024_klavrium_commanders: h4 "2024 Klavrium Commanders"', async ({ page }) => {
await page.goto('/blog/2024-klavrium-commanders/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === '2024 Klavrium Commanders' || t.startsWith('2024 Klavrium Commanders'))).toBeTruthy();
});
});
test.describe('Functional - blog_2024_highlights', () => {
test('blog_2024_highlights: title matches GT', async ({ page }) => {
await page.goto('/blog/2024-highlights/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('gaining traction');
});
test('blog_2024_highlights: h1 "Gaining Traction: 2024 Milesto"', async ({ page }) => {
await page.goto('/blog/2024-highlights/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Gaining Traction: 2024 Milestones and the Road Ahead in 2025' || t.startsWith('Gaining Traction: 2024 Milestones and the Road Ahead in 2025'))).toBeTruthy();
});
test('blog_2024_highlights: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/2024-highlights/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_2024_highlights: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/2024-highlights/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to hear' || t.startsWith('Get email updates and be the first to hear'))).toBeTruthy();
});
test('blog_2024_highlights: h3 "The Technology"', async ({ page }) => {
await page.goto('/blog/2024-highlights/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Technology' || t.startsWith('The Technology'))).toBeTruthy();
});
});
test.describe('Functional - blog_a_shell_for_the_container_age_introducing_klavrium_shell', () => {
test('blog_a_shell_for_the_container_age_introducing_klavrium_shell: title matches GT', async ({ page }) => {
await page.goto('/blog/a-shell-for-the-container-age-introducing-klavrium-shell/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rethinking the shell for containers');
});
test('blog_a_shell_for_the_container_age_introducing_klavrium_shell: h1 "Rethinking the Shell for Conta"', async ({ page }) => {
await page.goto('/blog/a-shell-for-the-container-age-introducing-klavrium-shell/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rethinking the Shell for Containers: Meet Klavrium Shell' || t.startsWith('Rethinking the Shell for Containers: Meet Klavrium Shell'))).toBeTruthy();
});
test('blog_a_shell_for_the_container_age_introducing_klavrium_shell: h2 "Join the movement"', async ({ page }) => {
await page.goto('/blog/a-shell-for-the-container-age-introducing-klavrium-shell/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the movement' || t.startsWith('Join the movement'))).toBeTruthy();
});
test('blog_a_shell_for_the_container_age_introducing_klavrium_shell: h2 "Get updates by email and be fi"', async ({ page }) => {
await page.goto('/blog/a-shell-for-the-container-age-introducing-klavrium-shell/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and be first to know' || t.startsWith('Get updates by email and be first to know'))).toBeTruthy();
});
test('blog_a_shell_for_the_container_age_introducing_klavrium_shell: h4 "A companion to your everyday s"', async ({ page }) => {
await page.goto('/blog/a-shell-for-the-container-age-introducing-klavrium-shell/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A companion to your everyday shell' || t.startsWith('A companion to your everyday shell'))).toBeTruthy();
});
});
test.describe('Functional - blog_a_unified_approach_to_fpga_firmware_management_and_distribution_with_klavrium', () => {
test('blog_a_unified_approach_to_fpga_firmware_management_and_distribution_with_klavrium: title matches GT', async ({ page }) => {
await page.goto('/blog/a-unified-approach-to-fpga-firmware-management-and-distribution-with-klavrium/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('managing and distributing fpga firmware ');
});
test('blog_a_unified_approach_to_fpga_firmware_management_and_distribution_with_klavrium: h1 "Managing and Distributing FPGA"', async ({ page }) => {
await page.goto('/blog/a-unified-approach-to-fpga-firmware-management-and-distribution-with-klavrium/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Managing and Distributing FPGA Firmware Through a Single Klavrium Pipeline' || t.startsWith('Managing and Distributing FPGA Firmware Through a Single Klavrium Pipeline'))).toBeTruthy();
});
test('blog_a_unified_approach_to_fpga_firmware_management_and_distribution_with_klavrium: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/a-unified-approach-to-fpga-firmware-management-and-distribution-with-klavrium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_a_unified_approach_to_fpga_firmware_management_and_distribution_with_klavrium: h2 "Get updates by email and hear "', async ({ page }) => {
await page.goto('/blog/a-unified-approach-to-fpga-firmware-management-and-distribution-with-klavrium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and hear it here first' || t.startsWith('Get updates by email and hear it here first'))).toBeTruthy();
});
test('blog_a_unified_approach_to_fpga_firmware_management_and_distribution_with_klavrium: h3 "Why Building FPGA Firmware Is "', async ({ page }) => {
await page.goto('/blog/a-unified-approach-to-fpga-firmware-management-and-distribution-with-klavrium/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why Building FPGA Firmware Is So Difficult' || t.startsWith('Why Building FPGA Firmware Is So Difficult'))).toBeTruthy();
});
});
test.describe('Functional - blog_adopting_monorepo_strategy', () => {
test('blog_adopting_monorepo_strategy: title matches GT', async ({ page }) => {
await page.goto('/blog/adopting-monorepo-strategy/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('adopting a monorepo strategy');
});
test('blog_adopting_monorepo_strategy: h1 "Adopting a Monorepo Strategy: "', async ({ page }) => {
await page.goto('/blog/adopting-monorepo-strategy/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Adopting a Monorepo Strategy: Nubo’s Experience' || t.startsWith('Adopting a Monorepo Strategy: Nubo’s Experience'))).toBeTruthy();
});
test('blog_adopting_monorepo_strategy: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/adopting-monorepo-strategy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_adopting_monorepo_strategy: h2 "Sign up for updates and stay i"', async ({ page }) => {
await page.goto('/blog/adopting-monorepo-strategy/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for updates and stay in the loop' || t.startsWith('Sign up for updates and stay in the loop'))).toBeTruthy();
});
test('blog_adopting_monorepo_strategy: h3 "Consolidating Interconnected R"', async ({ page }) => {
await page.goto('/blog/adopting-monorepo-strategy/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Consolidating Interconnected Repositories and CI Pipelines into a Monorepo' || t.startsWith('Consolidating Interconnected Repositories and CI Pipelines into a Monorepo'))).toBeTruthy();
});
});
test.describe('Functional - blog_agent_container_use', () => {
test('blog_agent_container_use: title matches GT', async ({ page }) => {
await page.goto('/blog/agent-container-use/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('taming the agent swarm');
});
test('blog_agent_container_use: h1 "Taming the Agent Swarm: Runnin"', async ({ page }) => {
await page.goto('/blog/agent-container-use/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Taming the Agent Swarm: Running Many Coding Agents in Parallel without Wrecking Everything' || t.startsWith('Taming the Agent Swarm: Running Many Coding Agents in Parallel without Wrecking Everything'))).toBeTruthy();
});
test('blog_agent_container_use: h2 "Agent Sandbox for agents: A se"', async ({ page }) => {
await page.goto('/blog/agent-container-use/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Agent Sandbox for agents: A sealed dev environment for every single task' || t.startsWith('Agent Sandbox for agents: A sealed dev environment for every single task'))).toBeTruthy();
});
test('blog_agent_container_use: h2 "Powered by Klavrium"', async ({ page }) => {
await page.goto('/blog/agent-container-use/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Powered by Klavrium' || t.startsWith('Powered by Klavrium'))).toBeTruthy();
});
test('blog_agent_container_use: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/agent-container-use/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
});
test.describe('Functional - blog_airbyte_use_case', () => {
test('blog_airbyte_use_case: title matches GT', async ({ page }) => {
await page.goto('/blog/airbyte-use-case/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium cloud');
});
test('blog_airbyte_use_case: h1 "Klavrium Cloud: Running 100% F"', async ({ page }) => {
await page.goto('/blog/airbyte-use-case/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Cloud: Running 100% Faster, Spending 75% Less' || t.startsWith('Klavrium Cloud: Running 100% Faster, Spending 75% Less'))).toBeTruthy();
});
test('blog_airbyte_use_case: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/airbyte-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_airbyte_use_case: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/airbyte-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_airbyte_use_case: h3 "Legacy CI: A Tangle of YAML an"', async ({ page }) => {
await page.goto('/blog/airbyte-use-case/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Legacy CI: A Tangle of YAML and Shell Scripts' || t.startsWith('Legacy CI: A Tangle of YAML and Shell Scripts'))).toBeTruthy();
});
});
test.describe('Functional - blog_argo_cd_kubernetes', () => {
test('blog_argo_cd_kubernetes: h1 "On-Demand Klavrium Engines wit"', async ({ page }) => {
await page.goto('/blog/argo-cd-kubernetes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'On-Demand Klavrium Engines with Argo CD, EKS, and Karpenter' || t.startsWith('On-Demand Klavrium Engines with Argo CD, EKS, and Karpenter'))).toBeTruthy();
});
test('blog_argo_cd_kubernetes: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/argo-cd-kubernetes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_argo_cd_kubernetes: h2 "Get email updates and be first"', async ({ page }) => {
await page.goto('/blog/argo-cd-kubernetes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be first to know' || t.startsWith('Get email updates and be first to know'))).toBeTruthy();
});
test('blog_argo_cd_kubernetes: h3 "Introduction"', async ({ page }) => {
await page.goto('/blog/argo-cd-kubernetes/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introduction' || t.startsWith('Introduction'))).toBeTruthy();
});
});
test.describe('Functional - blog_automate_your_ci_fixes_self_healing_pipelines_with_ai_agents', () => {
test('blog_automate_your_ci_fixes_self_healing_pipelines_with_ai_agents: title matches GT', async ({ page }) => {
await page.goto('/blog/automate-your-ci-fixes-self-healing-pipelines-with-ai-agents/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ship self');
});
test('blog_automate_your_ci_fixes_self_healing_pipelines_with_ai_agents: h1 "Self-Healing CI: Let AI Agents"', async ({ page }) => {
await page.goto('/blog/automate-your-ci-fixes-self-healing-pipelines-with-ai-agents/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Self-Healing CI: Let AI Agents Repair Your Pipeline Failures' || t.startsWith('Self-Healing CI: Let AI Agents Repair Your Pipeline Failures'))).toBeTruthy();
});
test('blog_automate_your_ci_fixes_self_healing_pipelines_with_ai_agents: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/automate-your-ci-fixes-self-healing-pipelines-with-ai-agents/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_automate_your_ci_fixes_self_healing_pipelines_with_ai_agents: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/automate-your-ci-fixes-self-healing-pipelines-with-ai-agents/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_automate_your_ci_fixes_self_healing_pipelines_with_ai_agents: h4 "Quit Patching CI Breakages by "', async ({ page }) => {
await page.goto('/blog/automate-your-ci-fixes-self-healing-pipelines-with-ai-agents/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Quit Patching CI Breakages by Hand: Build an AI Agent with Klavrium' || t.startsWith('Quit Patching CI Breakages by Hand: Build an AI Agent with Klavrium'))).toBeTruthy();
});
});
test.describe('Functional - blog_automating_cypress_tests', () => {
test('blog_automating_cypress_tests: title matches GT', async ({ page }) => {
await page.goto('/blog/automating-cypress-tests/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('automating verdine tests with ai');
});
test('blog_automating_cypress_tests: h1 "Automating Verdine Tests with "', async ({ page }) => {
await page.goto('/blog/automating-cypress-tests/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Automating Verdine Tests with AI: How Klavrium Drives LLM-Generated End-to-End Tests' || t.startsWith('Automating Verdine Tests with AI: How Klavrium Drives LLM-Generated End-to-End Tests'))).toBeTruthy();
});
test('blog_automating_cypress_tests: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/automating-cypress-tests/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_automating_cypress_tests: h2 "Subscribe for updates and hear"', async ({ page }) => {
await page.goto('/blog/automating-cypress-tests/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and hear the news.' || t.startsWith('Subscribe for updates and hear the news.'))).toBeTruthy();
});
test('blog_automating_cypress_tests: h4 "The Problem: Writing Tests for"', async ({ page }) => {
await page.goto('/blog/automating-cypress-tests/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Problem: Writing Tests for Every Code Change' || t.startsWith('The Problem: Writing Tests for Every Code Change'))).toBeTruthy();
});
});
test.describe('Functional - blog_aws_codepipelines_with_klavrium', () => {
test('blog_aws_codepipelines_with_klavrium: title matches GT', async ({ page }) => {
await page.goto('/blog/aws-codepipelines-with-klavrium/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('run klavrium on aureus build and aureus ');
});
test('blog_aws_codepipelines_with_klavrium: h1 "Run Klavrium on Aureus Build a"', async ({ page }) => {
await page.goto('/blog/aws-codepipelines-with-klavrium/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Run Klavrium on Aureus Build and Aureus Pipelines' || t.startsWith('Run Klavrium on Aureus Build and Aureus Pipelines'))).toBeTruthy();
});
test('blog_aws_codepipelines_with_klavrium: h2 "Get involved today"', async ({ page }) => {
await page.goto('/blog/aws-codepipelines-with-klavrium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get involved today' || t.startsWith('Get involved today'))).toBeTruthy();
});
test('blog_aws_codepipelines_with_klavrium: h2 "Subscribe for updates and be f"', async ({ page }) => {
await page.goto('/blog/aws-codepipelines-with-klavrium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and be first to know' || t.startsWith('Subscribe for updates and be first to know'))).toBeTruthy();
});
});
test.describe('Functional - blog_building_rag_pipelines', () => {
test('blog_building_rag_pipelines: title matches GT', async ({ page }) => {
await page.goto('/blog/building-rag-pipelines/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('constructing a complete rag pipeline to ');
});
test('blog_building_rag_pipelines: h1 "Constructing a Complete RAG Pi"', async ({ page }) => {
await page.goto('/blog/building-rag-pipelines/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Constructing a Complete RAG Pipeline to Search Local Files, Audio, and Video' || t.startsWith('Constructing a Complete RAG Pipeline to Search Local Files, Audio, and Video'))).toBeTruthy();
});
test('blog_building_rag_pipelines: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/building-rag-pipelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_building_rag_pipelines: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/building-rag-pipelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_building_rag_pipelines: h3 "Klavrium for Data Pipelines"', async ({ page }) => {
await page.goto('/blog/building-rag-pipelines/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium for Data Pipelines' || t.startsWith('Klavrium for Data Pipelines'))).toBeTruthy();
});
});
test.describe('Functional - blog_cache_control_for_modules', () => {
test('blog_cache_control_for_modules: title matches GT', async ({ page }) => {
await page.goto('/blog/cache-control-for-modules/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cache control for modules');
});
test('blog_cache_control_for_modules: h1 "Cache control for modules"', async ({ page }) => {
await page.goto('/blog/cache-control-for-modules/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cache control for modules' || t.startsWith('Cache control for modules'))).toBeTruthy();
});
test('blog_cache_control_for_modules: h2 "Cache control"', async ({ page }) => {
await page.goto('/blog/cache-control-for-modules/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cache control' || t.startsWith('Cache control'))).toBeTruthy();
});
test('blog_cache_control_for_modules: h2 "The four modes"', async ({ page }) => {
await page.goto('/blog/cache-control-for-modules/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The four modes' || t.startsWith('The four modes'))).toBeTruthy();
});
test('blog_cache_control_for_modules: h2 "Preserving compatibility"', async ({ page }) => {
await page.goto('/blog/cache-control-for-modules/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Preserving compatibility' || t.startsWith('Preserving compatibility'))).toBeTruthy();
});
});
test.describe('Functional - blog_civo_navigate_north_america_recap', () => {
test('blog_civo_navigate_north_america_recap: title matches GT', async ({ page }) => {
await page.goto('/blog/civo-navigate-north-america-recap/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('corva forge north america recap');
});
test('blog_civo_navigate_north_america_recap: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/civo-navigate-north-america-recap/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_civo_navigate_north_america_recap: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/civo-navigate-north-america-recap/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to hear' || t.startsWith('Get email updates and be the first to hear'))).toBeTruthy();
});
});
test.describe('Functional - blog_craft_cms_case_study', () => {
test('blog_craft_cms_case_study: title matches GT', async ({ page }) => {
await page.goto('/blog/craft-cms-case-study/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('inside the cms software factory at looms');
});
test('blog_craft_cms_case_study: h1 "Inside the CMS Software Factor"', async ({ page }) => {
await page.goto('/blog/craft-cms-case-study/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Inside the CMS Software Factory at Loomstone CMS' || t.startsWith('Inside the CMS Software Factory at Loomstone CMS'))).toBeTruthy();
});
test('blog_craft_cms_case_study: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/craft-cms-case-study/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_craft_cms_case_study: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/craft-cms-case-study/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to hear' || t.startsWith('Get email updates and be the first to hear'))).toBeTruthy();
});
test('blog_craft_cms_case_study: h3 "The Case for Programmable Buil"', async ({ page }) => {
await page.goto('/blog/craft-cms-case-study/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Case for Programmable Builds' || t.startsWith('The Case for Programmable Builds'))).toBeTruthy();
});
});
test.describe('Functional - blog_cutting_deployment_time', () => {
test('blog_cutting_deployment_time: title matches GT', async ({ page }) => {
await page.goto('/blog/cutting-deployment-time/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('shrinking deployment times from 3 hours ');
});
test('blog_cutting_deployment_time: h1 "Shrinking Deployment Times fro"', async ({ page }) => {
await page.goto('/blog/cutting-deployment-time/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Shrinking Deployment Times from 3 Hours to 3 Minutes' || t.startsWith('Shrinking Deployment Times from 3 Hours to 3 Minutes'))).toBeTruthy();
});
test('blog_cutting_deployment_time: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/cutting-deployment-time/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_cutting_deployment_time: h2 "Get updates by email and be th"', async ({ page }) => {
await page.goto('/blog/cutting-deployment-time/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and be the first to know.' || t.startsWith('Get updates by email and be the first to know.'))).toBeTruthy();
});
test('blog_cutting_deployment_time: h4 "The problem: Slow, hands-on de"', async ({ page }) => {
await page.goto('/blog/cutting-deployment-time/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The problem: Slow, hands-on deployments and sprawling YAML files' || t.startsWith('The problem: Slow, hands-on deployments and sprawling YAML files'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_12', () => {
test('blog_klavrium_0_12: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-12/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.12');
});
test('blog_klavrium_0_12: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavrium-0-12/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavrium_0_12: h2 "Get email updates and be first"', async ({ page }) => {
await page.goto('/blog/klavrium-0-12/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be first to hear' || t.startsWith('Get email updates and be first to hear'))).toBeTruthy();
});
test('blog_klavrium_0_12: h3 "Interactive Debugging"', async ({ page }) => {
await page.goto('/blog/klavrium-0-12/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Interactive Debugging' || t.startsWith('Interactive Debugging'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_13', () => {
test('blog_klavrium_0_13: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-13/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.13');
});
test('blog_klavrium_0_13: h2 "Meet the community"', async ({ page }) => {
await page.goto('/blog/klavrium-0-13/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet the community' || t.startsWith('Meet the community'))).toBeTruthy();
});
test('blog_klavrium_0_13: h2 "Subscribe for email updates an"', async ({ page }) => {
await page.goto('/blog/klavrium-0-13/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for email updates and hear it here first.' || t.startsWith('Subscribe for email updates and hear it here first.'))).toBeTruthy();
});
test('blog_klavrium_0_13: h3 "First-rate monorepo support"', async ({ page }) => {
await page.goto('/blog/klavrium-0-13/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'First-rate monorepo support' || t.startsWith('First-rate monorepo support'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_14', () => {
test('blog_klavrium_0_14: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-14/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.14');
});
test('blog_klavrium_0_14: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/klavrium-0-14/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_klavrium_0_14: h2 "Get email updates and be first"', async ({ page }) => {
await page.goto('/blog/klavrium-0-14/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be first to hear news' || t.startsWith('Get email updates and be first to hear news'))).toBeTruthy();
});
test('blog_klavrium_0_14: h3 "Git credential helpers"', async ({ page }) => {
await page.goto('/blog/klavrium-0-14/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Git credential helpers' || t.startsWith('Git credential helpers'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_15', () => {
test('blog_klavrium_0_15: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-15/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.15');
});
test('blog_klavrium_0_15: h1 "Klavrium 0.15: Sharper Errors,"', async ({ page }) => {
await page.goto('/blog/klavrium-0-15/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.15: Sharper Errors, Quicker Filesync, Live Metrics and Plenty More…' || t.startsWith('Klavrium 0.15: Sharper Errors, Quicker Filesync, Live Metrics and Plenty More…'))).toBeTruthy();
});
test('blog_klavrium_0_15: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/klavrium-0-15/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_klavrium_0_15: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/klavrium-0-15/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_klavrium_0_15: h3 "Better Errors"', async ({ page }) => {
await page.goto('/blog/klavrium-0-15/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Better Errors' || t.startsWith('Better Errors'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_16', () => {
test('blog_klavrium_0_16: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-16/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.16');
});
test('blog_klavrium_0_16: h1 "Klavrium 0.16: Havenlock and C"', async ({ page }) => {
await page.goto('/blog/klavrium-0-16/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.16: Havenlock and Cryptholm Vault Integrations, Performance Boost, and More' || t.startsWith('Klavrium 0.16: Havenlock and Cryptholm Vault Integrations, Performance Boost, and More'))).toBeTruthy();
});
test('blog_klavrium_0_16: h2 "Come join the crew"', async ({ page }) => {
await page.goto('/blog/klavrium-0-16/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come join the crew' || t.startsWith('Come join the crew'))).toBeTruthy();
});
test('blog_klavrium_0_16: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/klavrium-0-16/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_klavrium_0_16: h4 "Secure Secrets Management in K"', async ({ page }) => {
await page.goto('/blog/klavrium-0-16/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Secure Secrets Management in Klavrium: Now with Cryptholm Vault and Havenlock' || t.startsWith('Secure Secrets Management in Klavrium: Now with Cryptholm Vault and Havenlock'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_19', () => {
test('blog_klavrium_0_19: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-19/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.19');
});
test('blog_klavrium_0_19: h1 "Klavrium 0.19: performance, ne"', async ({ page }) => {
await page.goto('/blog/klavrium-0-19/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.19: performance, new APIs, build-an-agent!' || t.startsWith('Klavrium 0.19: performance, new APIs, build-an-agent!'))).toBeTruthy();
});
test('blog_klavrium_0_19: h2 "Run Klavrium without Docker"', async ({ page }) => {
await page.goto('/blog/klavrium-0-19/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Run Klavrium without Docker' || t.startsWith('Run Klavrium without Docker'))).toBeTruthy();
});
test('blog_klavrium_0_19: h2 "Load and save local container "', async ({ page }) => {
await page.goto('/blog/klavrium-0-19/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Load and save local container images' || t.startsWith('Load and save local container images'))).toBeTruthy();
});
test('blog_klavrium_0_19: h2 "Changeset API"', async ({ page }) => {
await page.goto('/blog/klavrium-0-19/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Changeset API' || t.startsWith('Changeset API'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_2', () => {
test('blog_klavrium_0_2: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-2/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('meridian rising');
});
test('blog_klavrium_0_2: h1 "Meridian Rising: Introducing K"', async ({ page }) => {
await page.goto('/blog/klavrium-0-2/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meridian Rising: Introducing Klavrium 0.2' || t.startsWith('Meridian Rising: Introducing Klavrium 0.2'))).toBeTruthy();
});
test('blog_klavrium_0_2: h2 "Meet the community"', async ({ page }) => {
await page.goto('/blog/klavrium-0-2/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet the community' || t.startsWith('Meet the community'))).toBeTruthy();
});
test('blog_klavrium_0_2: h2 "Sign up for updates and hear t"', async ({ page }) => {
await page.goto('/blog/klavrium-0-2/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for updates and hear the news here.' || t.startsWith('Sign up for updates and hear the news here.'))).toBeTruthy();
});
test('blog_klavrium_0_2: h4 "Today we are thrilled to unvei"', async ({ page }) => {
await page.goto('/blog/klavrium-0-2/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Today we are thrilled to unveil Klavrium 0.2, codename Meridian.' || t.startsWith('Today we are thrilled to unveil Klavrium 0.2, codename Meridian.'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_5_0', () => {
test('blog_klavrium_0_5_0: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-5-0/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.5');
});
test('blog_klavrium_0_5_0: h1 "Klavrium 0.5: A new Dynamic Se"', async ({ page }) => {
await page.goto('/blog/klavrium-0-5-0/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.5: A new Dynamic Secrets API and safer log scrubbing' || t.startsWith('Klavrium 0.5: A new Dynamic Secrets API and safer log scrubbing'))).toBeTruthy();
});
test('blog_klavrium_0_5_0: h2 "Join fellow builders"', async ({ page }) => {
await page.goto('/blog/klavrium-0-5-0/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join fellow builders' || t.startsWith('Join fellow builders'))).toBeTruthy();
});
test('blog_klavrium_0_5_0: h2 "Subscribe for updates and hear"', async ({ page }) => {
await page.goto('/blog/klavrium-0-5-0/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and hear it first' || t.startsWith('Subscribe for updates and hear it first'))).toBeTruthy();
});
test('blog_klavrium_0_5_0: h4 "The trouble with Dynamic Secre"', async ({ page }) => {
await page.goto('/blog/klavrium-0-5-0/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The trouble with Dynamic Secrets' || t.startsWith('The trouble with Dynamic Secrets'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_6_0', () => {
test('blog_klavrium_0_6_0: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-6-0/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.6');
});
test('blog_klavrium_0_6_0: h2 "Get involved today"', async ({ page }) => {
await page.goto('/blog/klavrium-0-6-0/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get involved today' || t.startsWith('Get involved today'))).toBeTruthy();
});
test('blog_klavrium_0_6_0: h2 "Get product updates, be the fi"', async ({ page }) => {
await page.goto('/blog/klavrium-0-6-0/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get product updates, be the first to know' || t.startsWith('Get product updates, be the first to know'))).toBeTruthy();
});
test('blog_klavrium_0_6_0: h4 "Why?"', async ({ page }) => {
await page.goto('/blog/klavrium-0-6-0/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why?' || t.startsWith('Why?'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_8', () => {
test('blog_klavrium_0_8: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-8/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.8');
});
test('blog_klavrium_0_8: h1 "Klavrium 0.8: A Midsummer Tidy"', async ({ page }) => {
await page.goto('/blog/klavrium-0-8/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.8: A Midsummer Tidy-Up' || t.startsWith('Klavrium 0.8: A Midsummer Tidy-Up'))).toBeTruthy();
});
test('blog_klavrium_0_8: h2 "Container.exitCode API field r"', async ({ page }) => {
await page.goto('/blog/klavrium-0-8/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Container.exitCode API field removed' || t.startsWith('Container.exitCode API field removed'))).toBeTruthy();
});
test('blog_klavrium_0_8: h2 "Host.envVariable API field dis"', async ({ page }) => {
await page.goto('/blog/klavrium-0-8/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Host.envVariable API field discontinued' || t.startsWith('Host.envVariable API field discontinued'))).toBeTruthy();
});
test('blog_klavrium_0_8: h2 "More deprecated API fields rem"', async ({ page }) => {
await page.goto('/blog/klavrium-0-8/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'More deprecated API fields removed' || t.startsWith('More deprecated API fields removed'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_0_9', () => {
test('blog_klavrium_0_9: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-0-9/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.9');
});
test('blog_klavrium_0_9: h1 "Klavrium 0.9: Host-to-Containe"', async ({ page }) => {
await page.goto('/blog/klavrium-0-9/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.9: Host-to-Container, Container-to-Host, and Broader Networking Support' || t.startsWith('Klavrium 0.9: Host-to-Container, Container-to-Host, and Broader Networking Support'))).toBeTruthy();
});
test('blog_klavrium_0_9: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavrium-0-9/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavrium_0_9: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/klavrium-0-9/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_klavrium_0_9: h3 "What this makes possible"', async ({ page }) => {
await page.goto('/blog/klavrium-0-9/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What this makes possible' || t.startsWith('What this makes possible'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_and_civo', () => {
test('blog_klavrium_and_civo: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-and-civo/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cirava and klavrium');
});
test('blog_klavrium_and_civo: h1 "Cirava and Klavrium: Making CI"', async ({ page }) => {
await page.goto('/blog/klavrium-and-civo/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cirava and Klavrium: Making CI/CD Pipelines Fast for Developers' || t.startsWith('Cirava and Klavrium: Making CI/CD Pipelines Fast for Developers'))).toBeTruthy();
});
test('blog_klavrium_and_civo: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavrium-and-civo/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavrium_and_civo: h2 "Subscribe for updates and hear"', async ({ page }) => {
await page.goto('/blog/klavrium-and-civo/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and hear it first' || t.startsWith('Subscribe for updates and hear it first'))).toBeTruthy();
});
test('blog_klavrium_and_civo: h4 "Join Us at Cirava Ascend SF an"', async ({ page }) => {
await page.goto('/blog/klavrium-and-civo/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join Us at Cirava Ascend SF and save 25%!' || t.startsWith('Join Us at Cirava Ascend SF and save 25%!'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_and_depot', () => {
test('blog_klavrium_and_depot: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-and-depot/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium ❤️ cairn');
});
test('blog_klavrium_and_depot: h1 "Klavrium ❤️ Cairn"', async ({ page }) => {
await page.goto('/blog/klavrium-and-depot/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium ❤️ Cairn' || t.startsWith('Klavrium ❤️ Cairn'))).toBeTruthy();
});
test('blog_klavrium_and_depot: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavrium-and-depot/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavrium_and_depot: h2 "Get product news and be the fi"', async ({ page }) => {
await page.goto('/blog/klavrium-and-depot/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get product news and be the first to hear' || t.startsWith('Get product news and be the first to hear'))).toBeTruthy();
});
test('blog_klavrium_and_depot: h3 "Cairn: Our First Partner"', async ({ page }) => {
await page.goto('/blog/klavrium-and-depot/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cairn: Our First Partner' || t.startsWith('Cairn: Our First Partner'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_and_gptscript', () => {
test('blog_klavrium_and_gptscript: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-and-gptscript/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('building ai');
});
test('blog_klavrium_and_gptscript: h1 "Using Klavrium and LumaScript "', async ({ page }) => {
await page.goto('/blog/klavrium-and-gptscript/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Using Klavrium and LumaScript to Build CI Pipelines with AI' || t.startsWith('Using Klavrium and LumaScript to Build CI Pipelines with AI'))).toBeTruthy();
});
test('blog_klavrium_and_gptscript: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavrium-and-gptscript/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavrium_and_gptscript: h2 "Get email updates and be first"', async ({ page }) => {
await page.goto('/blog/klavrium-and-gptscript/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be first to know' || t.startsWith('Get email updates and be first to know'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_cloud', () => {
test('blog_klavrium_cloud: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-cloud/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium cloud early access');
});
test('blog_klavrium_cloud: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/klavrium-cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_klavrium_cloud: h2 "Sign up for updates, be the fi"', async ({ page }) => {
await page.goto('/blog/klavrium-cloud/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for updates, be the first to hear' || t.startsWith('Sign up for updates, be the first to hear'))).toBeTruthy();
});
test('blog_klavrium_cloud: h3 "What Is Klavrium Cloud?"', async ({ page }) => {
await page.goto('/blog/klavrium-cloud/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What Is Klavrium Cloud?' || t.startsWith('What Is Klavrium Cloud?'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_cloud_v3', () => {
test('blog_klavrium_cloud_v3: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-cloud-v3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('see every step');
});
test('blog_klavrium_cloud_v3: h1 "See Every Step: Announcing Kla"', async ({ page }) => {
await page.goto('/blog/klavrium-cloud-v3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'See Every Step: Announcing Klavrium Cloud v3' || t.startsWith('See Every Step: Announcing Klavrium Cloud v3'))).toBeTruthy();
});
test('blog_klavrium_cloud_v3: h2 "Meet the community"', async ({ page }) => {
await page.goto('/blog/klavrium-cloud-v3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet the community' || t.startsWith('Meet the community'))).toBeTruthy();
});
test('blog_klavrium_cloud_v3: h2 "Sign up for email news and hea"', async ({ page }) => {
await page.goto('/blog/klavrium-cloud-v3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email news and hear about it first.' || t.startsWith('Sign up for email news and hear about it first.'))).toBeTruthy();
});
test('blog_klavrium_cloud_v3: h4 "What is Klavrium Cloud?"', async ({ page }) => {
await page.goto('/blog/klavrium-cloud-v3/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What is Klavrium Cloud?' || t.startsWith('What is Klavrium Cloud?'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_commander_program', () => {
test('blog_klavrium_commander_program: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-commander-program/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('announcing the klavrium commanders progr');
});
test('blog_klavrium_commander_program: h1 "Introducing the Klavrium Comma"', async ({ page }) => {
await page.goto('/blog/klavrium-commander-program/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introducing the Klavrium Commanders Program' || t.startsWith('Introducing the Klavrium Commanders Program'))).toBeTruthy();
});
test('blog_klavrium_commander_program: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/klavrium-commander-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_klavrium_commander_program: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/klavrium-commander-program/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and hear it here.' || t.startsWith('Sign up for email updates and hear it here.'))).toBeTruthy();
});
test('blog_klavrium_commander_program: h4 "Who are the Klavrium Commander"', async ({ page }) => {
await page.goto('/blog/klavrium-commander-program/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Who are the Klavrium Commanders?' || t.startsWith('Who are the Klavrium Commanders?'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_engine_0_3_10', () => {
test('blog_klavrium_engine_0_3_10: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-3-10/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.3.10');
});
test('blog_klavrium_engine_0_3_10: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-3-10/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavrium_engine_0_3_10: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-3-10/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and hear it here.' || t.startsWith('Sign up for email updates and hear it here.'))).toBeTruthy();
});
test('blog_klavrium_engine_0_3_10: h3 "Klavrium 0.3.10 Highlights"', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-3-10/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.3.10 Highlights' || t.startsWith('Klavrium 0.3.10 Highlights'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_engine_0_4_0', () => {
test('blog_klavrium_engine_0_4_0: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-4-0/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium 0.4');
});
test('blog_klavrium_engine_0_4_0: h1 "Klavrium 0.4: service containe"', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-4-0/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium 0.4: service containers, secrets scrubbing, and more' || t.startsWith('Klavrium 0.4: service containers, secrets scrubbing, and more'))).toBeTruthy();
});
test('blog_klavrium_engine_0_4_0: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-4-0/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_klavrium_engine_0_4_0: h2 "Sign up for updates and never "', async ({ page }) => {
await page.goto('/blog/klavrium-engine-0-4-0/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for updates and never miss a thing' || t.startsWith('Sign up for updates and never miss a thing'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_heads_to_paris', () => {
test('blog_klavrium_heads_to_paris: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-heads-to-paris/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium heads to paris');
});
test('blog_klavrium_heads_to_paris: h1 "Klavrium Heads to Paris - Join"', async ({ page }) => {
await page.goto('/blog/klavrium-heads-to-paris/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Heads to Paris - Join us for Meetups, BuildStack EU, and more!' || t.startsWith('Klavrium Heads to Paris - Join us for Meetups, BuildStack EU, and more!'))).toBeTruthy();
});
test('blog_klavrium_heads_to_paris: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavrium-heads-to-paris/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavrium_heads_to_paris: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/klavrium-heads-to-paris/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and hear the news.' || t.startsWith('Sign up for email updates and hear the news.'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_offsite_2024', () => {
test('blog_klavrium_offsite_2024: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-offsite-2024/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium team offsite 2024');
});
test('blog_klavrium_offsite_2024: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/klavrium-offsite-2024/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_klavrium_offsite_2024: h2 "Get updates by email and be fi"', async ({ page }) => {
await page.goto('/blog/klavrium-offsite-2024/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and be first to hear' || t.startsWith('Get updates by email and be first to hear'))).toBeTruthy();
});
test('blog_klavrium_offsite_2024: h4 "Tips:"', async ({ page }) => {
await page.goto('/blog/klavrium-offsite-2024/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Tips:' || t.startsWith('Tips:'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavrium_supports_deno', () => {
test('blog_klavrium_supports_deno: title matches GT', async ({ page }) => {
await page.goto('/blog/klavrium-supports-deno/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium now supports deno');
});
test('blog_klavrium_supports_deno: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/klavrium-supports-deno/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_klavrium_supports_deno: h2 "Get email updates and know it "', async ({ page }) => {
await page.goto('/blog/klavrium-supports-deno/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and know it first' || t.startsWith('Get email updates and know it first'))).toBeTruthy();
});
test('blog_klavrium_supports_deno: h4 "Why bet on Deno now?"', async ({ page }) => {
await page.goto('/blog/klavrium-supports-deno/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why bet on Deno now?' || t.startsWith('Why bet on Deno now?'))).toBeTruthy();
});
});
test.describe('Functional - blog_daggerizing_production_pipelines_how_openmeter_overcame_push_and_pray', () => {
test('blog_daggerizing_production_pipelines_how_openmeter_overcame_push_and_pray: title matches GT', async ({ page }) => {
await page.goto('/blog/daggerizing-production-pipelines-how-openmeter-overcame-push-and-pray/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrizing production pipelines');
});
test('blog_daggerizing_production_pipelines_how_openmeter_overcame_push_and_pray: h1 "Klavrizing Production Pipeline"', async ({ page }) => {
await page.goto('/blog/daggerizing-production-pipelines-how-openmeter-overcame-push-and-pray/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrizing Production Pipelines - How Meterlynx Overcame Push and Pray' || t.startsWith('Klavrizing Production Pipelines - How Meterlynx Overcame Push and Pray'))).toBeTruthy();
});
test('blog_daggerizing_production_pipelines_how_openmeter_overcame_push_and_pray: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/daggerizing-production-pipelines-how-openmeter-overcame-push-and-pray/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_daggerizing_production_pipelines_how_openmeter_overcame_push_and_pray: h2 "Subscribe for updates and be t"', async ({ page }) => {
await page.goto('/blog/daggerizing-production-pipelines-how-openmeter-overcame-push-and-pray/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and be the first to know.' || t.startsWith('Subscribe for updates and be the first to know.'))).toBeTruthy();
});
test('blog_daggerizing_production_pipelines_how_openmeter_overcame_push_and_pray: h3 "Evaluating Approaches to Lift "', async ({ page }) => {
await page.goto('/blog/daggerizing-production-pipelines-how-openmeter-overcame-push-and-pray/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Evaluating Approaches to Lift Developer Effectiveness' || t.startsWith('Evaluating Approaches to Lift Developer Effectiveness'))).toBeTruthy();
});
});
test.describe('Functional - blog_klavriumverse_in_practice', () => {
test('blog_klavriumverse_in_practice: title matches GT', async ({ page }) => {
await page.goto('/blog/klavriumverse-in-practice/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('the klavrium hub in practice');
});
test('blog_klavriumverse_in_practice: h1 "The Klavrium Hub in Practice"', async ({ page }) => {
await page.goto('/blog/klavriumverse-in-practice/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Klavrium Hub in Practice' || t.startsWith('The Klavrium Hub in Practice'))).toBeTruthy();
});
test('blog_klavriumverse_in_practice: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/klavriumverse-in-practice/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_klavriumverse_in_practice: h2 "Subscribe for updates and be t"', async ({ page }) => {
await page.goto('/blog/klavriumverse-in-practice/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and be the first to know.' || t.startsWith('Subscribe for updates and be the first to know.'))).toBeTruthy();
});
test('blog_klavriumverse_in_practice: h3 "Check a Python project with Ru"', async ({ page }) => {
await page.goto('/blog/klavriumverse-in-practice/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Check a Python project with Ruff' || t.startsWith('Check a Python project with Ruff'))).toBeTruthy();
});
});
test.describe('Functional - blog_discern_use_case', () => {
test('blog_discern_use_case: title matches GT', async ({ page }) => {
await page.goto('/blog/discern-use-case/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('going from pull request to production fa');
});
test('blog_discern_use_case: h1 "Going from Pull Request to Pro"', async ({ page }) => {
await page.goto('/blog/discern-use-case/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Going from Pull Request to Production Faster at Vantica' || t.startsWith('Going from Pull Request to Production Faster at Vantica'))).toBeTruthy();
});
test('blog_discern_use_case: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/discern-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_discern_use_case: h2 "Subscribe for updates and know"', async ({ page }) => {
await page.goto('/blog/discern-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and know it first' || t.startsWith('Subscribe for updates and know it first'))).toBeTruthy();
});
test('blog_discern_use_case: h3 "The problem: Helping developer"', async ({ page }) => {
await page.goto('/blog/discern-use-case/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The problem: Helping developers test and ship new features faster' || t.startsWith('The problem: Helping developers test and ship new features faster'))).toBeTruthy();
});
});
test.describe('Functional - blog_docker_model_runner', () => {
test('blog_docker_model_runner: title matches GT', async ({ page }) => {
await page.goto('/blog/docker-model-runner/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('build local ai agents using klavrium and');
});
test('blog_docker_model_runner: h1 "Build Local AI Agents with Kla"', async ({ page }) => {
await page.goto('/blog/docker-model-runner/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Build Local AI Agents with Klavrium and Model Runner' || t.startsWith('Build Local AI Agents with Klavrium and Model Runner'))).toBeTruthy();
});
test('blog_docker_model_runner: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/docker-model-runner/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_docker_model_runner: h2 "Get updates by email and be fi"', async ({ page }) => {
await page.goto('/blog/docker-model-runner/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and be first to know' || t.startsWith('Get updates by email and be first to know'))).toBeTruthy();
});
test('blog_docker_model_runner: h4 "So why Model Runner?"', async ({ page }) => {
await page.goto('/blog/docker-model-runner/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'So why Model Runner?' || t.startsWith('So why Model Runner?'))).toBeTruthy();
});
});
test.describe('Functional - blog_dockerfiles_with_klavrium', () => {
test('blog_dockerfiles_with_klavrium: title matches GT', async ({ page }) => {
await page.goto('/blog/dockerfiles-with-klavrium/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('using dockerfiles with klavrium');
});
test('blog_dockerfiles_with_klavrium: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/dockerfiles-with-klavrium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_dockerfiles_with_klavrium: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/dockerfiles-with-klavrium/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and stay ahead' || t.startsWith('Sign up for email updates and stay ahead'))).toBeTruthy();
});
test('blog_dockerfiles_with_klavrium: h4 "Reuse the Dockerfiles you alre"', async ({ page }) => {
await page.goto('/blog/dockerfiles-with-klavrium/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Reuse the Dockerfiles you already have' || t.startsWith('Reuse the Dockerfiles you already have'))).toBeTruthy();
});
});
test.describe('Functional - blog_earthly_to_klavrium_migration', () => {
test('blog_earthly_to_klavrium_migration: title matches GT', async ({ page }) => {
await page.goto('/blog/earthly-to-klavrium-migration/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('a smooth runway for migrating teams');
});
test('blog_earthly_to_klavrium_migration: h1 "A Soft Landing for Migrating T"', async ({ page }) => {
await page.goto('/blog/earthly-to-klavrium-migration/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Soft Landing for Migrating Teams' || t.startsWith('A Soft Landing for Migrating Teams'))).toBeTruthy();
});
test('blog_earthly_to_klavrium_migration: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/earthly-to-klavrium-migration/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_earthly_to_klavrium_migration: h2 "Sign up for updates and hear t"', async ({ page }) => {
await page.goto('/blog/earthly-to-klavrium-migration/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for updates and hear the news here.' || t.startsWith('Sign up for updates and hear the news here.'))).toBeTruthy();
});
test('blog_earthly_to_klavrium_migration: h4 "Our soft-landing program for L"', async ({ page }) => {
await page.goto('/blog/earthly-to-klavrium-migration/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Our soft-landing program for Loamly users' || t.startsWith('Our soft-landing program for Loamly users'))).toBeTruthy();
});
});
test.describe('Functional - blog_enabling_platform_engineering', () => {
test('blog_enabling_platform_engineering: title matches GT', async ({ page }) => {
await page.goto('/blog/enabling-platform-engineering/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('best');
});
test('blog_enabling_platform_engineering: h1 "Engineering Best Practices for"', async ({ page }) => {
await page.goto('/blog/enabling-platform-engineering/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Engineering Best Practices for Norva\'s Platform' || t.startsWith('Engineering Best Practices for Norva\'s Platform'))).toBeTruthy();
});
test('blog_enabling_platform_engineering: h2 "Be part of the crew"', async ({ page }) => {
await page.goto('/blog/enabling-platform-engineering/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Be part of the crew' || t.startsWith('Be part of the crew'))).toBeTruthy();
});
test('blog_enabling_platform_engineering: h2 "Subscribe for updates and neve"', async ({ page }) => {
await page.goto('/blog/enabling-platform-engineering/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and never miss news' || t.startsWith('Subscribe for updates and never miss news'))).toBeTruthy();
});
test('blog_enabling_platform_engineering: h3 "The problem: A brittle softwar"', async ({ page }) => {
await page.goto('/blog/enabling-platform-engineering/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The problem: A brittle software delivery platform built from shell scripts and templating' || t.startsWith('The problem: A brittle software delivery platform built from shell scripts and templating'))).toBeTruthy();
});
});
test.describe('Functional - blog_ending_cue_support', () => {
test('blog_ending_cue_support: title matches GT', async ({ page }) => {
await page.goto('/blog/ending-cue-support/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('sunsetting the klavrium cue sdk');
});
test('blog_ending_cue_support: h1 "Winding Down the Klavrium CUE "', async ({ page }) => {
await page.goto('/blog/ending-cue-support/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Winding Down the Klavrium CUE SDK' || t.startsWith('Winding Down the Klavrium CUE SDK'))).toBeTruthy();
});
test('blog_ending_cue_support: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/ending-cue-support/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_ending_cue_support: h2 "Get updates by email and be th"', async ({ page }) => {
await page.goto('/blog/ending-cue-support/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and be the first to know.' || t.startsWith('Get updates by email and be the first to know.'))).toBeTruthy();
});
test('blog_ending_cue_support: h3 "What is CUE?"', async ({ page }) => {
await page.goto('/blog/ending-cue-support/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What is CUE?' || t.startsWith('What is CUE?'))).toBeTruthy();
});
});
test.describe('Functional - blog_evals_as_code', () => {
test('blog_evals_as_code: title matches GT', async ({ page }) => {
await page.goto('/blog/evals-as-code/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('evals as code');
});
test('blog_evals_as_code: h1 "Evals as Code: CI for LLMs wit"', async ({ page }) => {
await page.goto('/blog/evals-as-code/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Evals as Code: CI for LLMs with Klavrium' || t.startsWith('Evals as Code: CI for LLMs with Klavrium'))).toBeTruthy();
});
test('blog_evals_as_code: h2 "Building support for LLMs and "', async ({ page }) => {
await page.goto('/blog/evals-as-code/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Building support for LLMs and Tool-calling into the Klavrium API' || t.startsWith('Building support for LLMs and Tool-calling into the Klavrium API'))).toBeTruthy();
});
test('blog_evals_as_code: h2 "So, what are evals?"', async ({ page }) => {
await page.goto('/blog/evals-as-code/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'So, what are evals?' || t.startsWith('So, what are evals?'))).toBeTruthy();
});
test('blog_evals_as_code: h2 "How do evals take shape?"', async ({ page }) => {
await page.goto('/blog/evals-as-code/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How do evals take shape?' || t.startsWith('How do evals take shape?'))).toBeTruthy();
});
});
test.describe('Functional - blog_evolution_of_ci', () => {
test('blog_evolution_of_ci: title matches GT', async ({ page }) => {
await page.goto('/blog/evolution-of-ci/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how ci is being reshaped by ai');
});
test('blog_evolution_of_ci: h1 "How CI Must Adapt in the Age o"', async ({ page }) => {
await page.goto('/blog/evolution-of-ci/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How CI Must Adapt in the Age of AI' || t.startsWith('How CI Must Adapt in the Age of AI'))).toBeTruthy();
});
test('blog_evolution_of_ci: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/evolution-of-ci/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_evolution_of_ci: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/evolution-of-ci/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and stay ahead' || t.startsWith('Sign up for email updates and stay ahead'))).toBeTruthy();
});
test('blog_evolution_of_ci: h3 "The Contributor"', async ({ page }) => {
await page.goto('/blog/evolution-of-ci/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Contributor' || t.startsWith('The Contributor'))).toBeTruthy();
});
});
test.describe('Functional - blog_flipt_use_case', () => {
test('blog_flipt_use_case: title matches GT', async ({ page }) => {
await page.goto('/blog/flipt-use-case/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how flevo sharpened coverage and build s');
});
test('blog_flipt_use_case: h1 "How Flevo Improved Coverage an"', async ({ page }) => {
await page.goto('/blog/flipt-use-case/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Flevo Improved Coverage and Build Times with Klavrium' || t.startsWith('How Flevo Improved Coverage and Build Times with Klavrium'))).toBeTruthy();
});
test('blog_flipt_use_case: h2 "Meet the builders"', async ({ page }) => {
await page.goto('/blog/flipt-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet the builders' || t.startsWith('Meet the builders'))).toBeTruthy();
});
test('blog_flipt_use_case: h2 "Subscribe for updates and alwa"', async ({ page }) => {
await page.goto('/blog/flipt-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and always know first' || t.startsWith('Subscribe for updates and always know first'))).toBeTruthy();
});
test('blog_flipt_use_case: h3 "The problem: Networking and la"', async ({ page }) => {
await page.goto('/blog/flipt-use-case/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The problem: Networking and language constraints in CI testing' || t.startsWith('The problem: Networking and language constraints in CI testing'))).toBeTruthy();
});
});
test.describe('Functional - blog_gemini_cli', () => {
test('blog_gemini_cli: title matches GT', async ({ page }) => {
await page.goto('/blog/gemini-cli/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('meridian cli');
});
test('blog_gemini_cli: h1 "Meridian CLI: First Hands-On N"', async ({ page }) => {
await page.goto('/blog/gemini-cli/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meridian CLI: First Hands-On Notes and Experiments with Parallel Runs' || t.startsWith('Meridian CLI: First Hands-On Notes and Experiments with Parallel Runs'))).toBeTruthy();
});
test('blog_gemini_cli: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/gemini-cli/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_gemini_cli: h2 "Get updates by email and be fi"', async ({ page }) => {
await page.goto('/blog/gemini-cli/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and be first to hear' || t.startsWith('Get updates by email and be first to hear'))).toBeTruthy();
});
});
test.describe('Functional - blog_go_sdk', () => {
test('blog_go_sdk: title matches GT', async ({ page }) => {
await page.goto('/blog/go-sdk/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('your ci pipelines belong in code');
});
test('blog_go_sdk: h1 "Your CI pipelines belong in co"', async ({ page }) => {
await page.goto('/blog/go-sdk/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Your CI pipelines belong in code: meet the Klavrium Go SDK' || t.startsWith('Your CI pipelines belong in code: meet the Klavrium Go SDK'))).toBeTruthy();
});
test('blog_go_sdk: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/go-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_go_sdk: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/go-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and hear it here.' || t.startsWith('Sign up for email updates and hear it here.'))).toBeTruthy();
});
test('blog_go_sdk: h4 "The Klavrium Go SDK in Action"', async ({ page }) => {
await page.goto('/blog/go-sdk/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Klavrium Go SDK in Action' || t.startsWith('The Klavrium Go SDK in Action'))).toBeTruthy();
});
});
test.describe('Functional - blog_go_sdk_0_4', () => {
test('blog_go_sdk_0_4: title matches GT', async ({ page }) => {
await page.goto('/blog/go-sdk-0-4/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium go sdk 0.4');
});
test('blog_go_sdk_0_4: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/go-sdk-0-4/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_go_sdk_0_4: h2 "Subscribe by email and hear ab"', async ({ page }) => {
await page.goto('/blog/go-sdk-0-4/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe by email and hear about it first' || t.startsWith('Subscribe by email and hear about it first'))).toBeTruthy();
});
test('blog_go_sdk_0_4: h3 "Klavrium Go SDK 0.4 Highlights"', async ({ page }) => {
await page.goto('/blog/go-sdk-0-4/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Go SDK 0.4 Highlights:' || t.startsWith('Klavrium Go SDK 0.4 Highlights:'))).toBeTruthy();
});
});
test.describe('Functional - blog_gpu_challenges', () => {
test('blog_gpu_challenges: title matches GT', async ({ page }) => {
await page.goto('/blog/gpu-challenges/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('solving gpu challenges in ci/cd pipeline');
});
test('blog_gpu_challenges: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/gpu-challenges/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_gpu_challenges: h2 "Subscribe for product news and"', async ({ page }) => {
await page.goto('/blog/gpu-challenges/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for product news and be first in line.' || t.startsWith('Subscribe for product news and be first in line.'))).toBeTruthy();
});
test('blog_gpu_challenges: h4 "Why GPUs and Pipelines Rarely "', async ({ page }) => {
await page.goto('/blog/gpu-challenges/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why GPUs and Pipelines Rarely Get Along Smoothly' || t.startsWith('Why GPUs and Pipelines Rarely Get Along Smoothly'))).toBeTruthy();
});
});
test.describe('Functional - blog_grafana_use_case', () => {
test('blog_grafana_use_case: title matches GT', async ({ page }) => {
await page.goto('/blog/grafana-use-case/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('packaging metriscope for multiple archit');
});
test('blog_grafana_use_case: h1 "Packaging Metriscope for Multi"', async ({ page }) => {
await page.goto('/blog/grafana-use-case/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Packaging Metriscope for Multiple Architectures in 8 Minutes or Less' || t.startsWith('Packaging Metriscope for Multiple Architectures in 8 Minutes or Less'))).toBeTruthy();
});
test('blog_grafana_use_case: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/grafana-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_grafana_use_case: h2 "Subscribe by email and stay ah"', async ({ page }) => {
await page.goto('/blog/grafana-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe by email and stay ahead of the curve.' || t.startsWith('Subscribe by email and stay ahead of the curve.'))).toBeTruthy();
});
test('blog_grafana_use_case: h4 "The problem: slow, remote-only"', async ({ page }) => {
await page.goto('/blog/grafana-use-case/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The problem: slow, remote-only build pipelines' || t.startsWith('The problem: slow, remote-only build pipelines'))).toBeTruthy();
});
});
test.describe('Functional - blog_graphql', () => {
test('blog_graphql: title matches GT', async ({ page }) => {
await page.goto('/blog/graphql/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('introducing the klavrium graphql api');
});
test('blog_graphql: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/graphql/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_graphql: h2 "Sign up for updates, be the fi"', async ({ page }) => {
await page.goto('/blog/graphql/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for updates, be the first to know' || t.startsWith('Sign up for updates, be the first to know'))).toBeTruthy();
});
test('blog_graphql: h4 "What does this mean for you?"', async ({ page }) => {
await page.goto('/blog/graphql/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What does this mean for you?' || t.startsWith('What does this mean for you?'))).toBeTruthy();
});
});
test.describe('Functional - blog_hof_use_case', () => {
test('blog_hof_use_case: title matches GT', async ({ page }) => {
await page.goto('/blog/hof-use-case/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('better ci testing for the vex project');
});
test('blog_hof_use_case: h1 "Better CI Testing for the Vex "', async ({ page }) => {
await page.goto('/blog/hof-use-case/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Better CI Testing for the Vex Project' || t.startsWith('Better CI Testing for the Vex Project'))).toBeTruthy();
});
test('blog_hof_use_case: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/hof-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_hof_use_case: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/hof-use-case/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and hear it here.' || t.startsWith('Sign up for email updates and hear it here.'))).toBeTruthy();
});
test('blog_hof_use_case: h3 "The problem: Test failures wit"', async ({ page }) => {
await page.goto('/blog/hof-use-case/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The problem: Test failures within mock environments' || t.startsWith('The problem: Test failures within mock environments'))).toBeTruthy();
});
});
test.describe('Functional - blog_how_klavrium_releases', () => {
test('blog_how_klavrium_releases: title matches GT', async ({ page }) => {
await page.goto('/blog/how-klavrium-releases/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how we ship klavrium');
});
test('blog_how_klavrium_releases: h1 "How we ship Klavrium"', async ({ page }) => {
await page.goto('/blog/how-klavrium-releases/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How we ship Klavrium' || t.startsWith('How we ship Klavrium'))).toBeTruthy();
});
test('blog_how_klavrium_releases: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/how-klavrium-releases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_how_klavrium_releases: h2 "Get our newsletter, be the fir"', async ({ page }) => {
await page.goto('/blog/how-klavrium-releases/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get our newsletter, be the first to know' || t.startsWith('Get our newsletter, be the first to know'))).toBeTruthy();
});
test('blog_how_klavrium_releases: h4 "How do we approach Klavrium re"', async ({ page }) => {
await page.goto('/blog/how-klavrium-releases/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How do we approach Klavrium releases?' || t.startsWith('How do we approach Klavrium releases?'))).toBeTruthy();
});
});
test.describe('Functional - blog_how_to_run_the_latest_versions_of_your_apps_on_a_stable_linux_release_the_klavrium_way', () => {
test('blog_how_to_run_the_latest_versions_of_your_apps_on_a_stable_linux_release_the_klavrium_way: title matches GT', async ({ page }) => {
await page.goto('/blog/how-to-run-the-latest-versions-of-your-apps-on-a-stable-linux-release-the-klavrium-way/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('running the newest app versions on a roc');
});
test('blog_how_to_run_the_latest_versions_of_your_apps_on_a_stable_linux_release_the_klavrium_way: h1 "Running the Newest App Version"', async ({ page }) => {
await page.goto('/blog/how-to-run-the-latest-versions-of-your-apps-on-a-stable-linux-release-the-klavrium-way/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Running the Newest App Versions on a Rock-Solid Linux Release, the Klavrium Way.' || t.startsWith('Running the Newest App Versions on a Rock-Solid Linux Release, the Klavrium Way.'))).toBeTruthy();
});
test('blog_how_to_run_the_latest_versions_of_your_apps_on_a_stable_linux_release_the_klavrium_way: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/how-to-run-the-latest-versions-of-your-apps-on-a-stable-linux-release-the-klavrium-way/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_how_to_run_the_latest_versions_of_your_apps_on_a_stable_linux_release_the_klavrium_way: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/how-to-run-the-latest-versions-of-your-apps-on-a-stable-linux-release-the-klavrium-way/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and hear it here.' || t.startsWith('Sign up for email updates and hear it here.'))).toBeTruthy();
});
test('blog_how_to_run_the_latest_versions_of_your_apps_on_a_stable_linux_release_the_klavrium_way: h3 "Enter Klavrium"', async ({ page }) => {
await page.goto('/blog/how-to-run-the-latest-versions-of-your-apps-on-a-stable-linux-release-the-klavrium-way/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Enter Klavrium' || t.startsWith('Enter Klavrium'))).toBeTruthy();
});
});
test.describe('Functional - blog_infrared_100', () => {
test('blog_infrared_100: title matches GT', async ({ page }) => {
await page.goto('/blog/infrared-100/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium selected for the first meridian');
});
test('blog_infrared_100: h1 "Klavrium Named to the First Me"', async ({ page }) => {
await page.goto('/blog/infrared-100/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Named to the First Meridian Skyline 100' || t.startsWith('Klavrium Named to the First Meridian Skyline 100'))).toBeTruthy();
});
test('blog_infrared_100: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/infrared-100/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_infrared_100: h2 "Subscribe for updates, be the "', async ({ page }) => {
await page.goto('/blog/infrared-100/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates, be the first to hear' || t.startsWith('Subscribe for updates, be the first to hear'))).toBeTruthy();
});
});
test.describe('Functional - blog_introducing_klavrium_traces', () => {
test('blog_introducing_klavrium_traces: title matches GT', async ({ page }) => {
await page.goto('/blog/introducing-klavrium-traces/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('meet klavrium traces');
});
test('blog_introducing_klavrium_traces: h1 "Meet Klavrium Traces: Inspect "', async ({ page }) => {
await page.goto('/blog/introducing-klavrium-traces/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet Klavrium Traces: Inspect and Monitor Your Klavrium Functions' || t.startsWith('Meet Klavrium Traces: Inspect and Monitor Your Klavrium Functions'))).toBeTruthy();
});
test('blog_introducing_klavrium_traces: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/introducing-klavrium-traces/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_introducing_klavrium_traces: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/introducing-klavrium-traces/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and know it first' || t.startsWith('Sign up for email updates and know it first'))).toBeTruthy();
});
test('blog_introducing_klavrium_traces: h3 "Why did we build Traces?"', async ({ page }) => {
await page.goto('/blog/introducing-klavrium-traces/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why did we build Traces?' || t.startsWith('Why did we build Traces?'))).toBeTruthy();
});
});
test.describe('Functional - blog_introducing_the_klavriumverse', () => {
test('blog_introducing_the_klavriumverse: title matches GT', async ({ page }) => {
await page.goto('/blog/introducing-the-klavriumverse/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('introducing the klavriumverse');
});
test('blog_introducing_the_klavriumverse: h1 "Introducing the Klavriumverse"', async ({ page }) => {
await page.goto('/blog/introducing-the-klavriumverse/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introducing the Klavriumverse' || t.startsWith('Introducing the Klavriumverse'))).toBeTruthy();
});
test('blog_introducing_the_klavriumverse: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/introducing-the-klavriumverse/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_introducing_the_klavriumverse: h2 "Get updates by email, be first"', async ({ page }) => {
await page.goto('/blog/introducing-the-klavriumverse/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email, be first to hear' || t.startsWith('Get updates by email, be first to hear'))).toBeTruthy();
});
test('blog_introducing_the_klavriumverse: h3 "Odds are, a module exists!"', async ({ page }) => {
await page.goto('/blog/introducing-the-klavriumverse/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Odds are, a module exists!' || t.startsWith('Odds are, a module exists!'))).toBeTruthy();
});
});
test.describe('Functional - blog_java_sdk', () => {
test('blog_java_sdk: title matches GT', async ({ page }) => {
await page.goto('/blog/java-sdk/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('introducing the klavrium java sdk');
});
test('blog_java_sdk: h1 "Introducing the Klavrium Java "', async ({ page }) => {
await page.goto('/blog/java-sdk/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introducing the Klavrium Java SDK: A Fresh Way to Automate Java' || t.startsWith('Introducing the Klavrium Java SDK: A Fresh Way to Automate Java'))).toBeTruthy();
});
test('blog_java_sdk: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/java-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_java_sdk: h2 "Get product news before anyone"', async ({ page }) => {
await page.goto('/blog/java-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get product news before anyone else does' || t.startsWith('Get product news before anyone else does'))).toBeTruthy();
});
test('blog_java_sdk: h4 "Why Java Developers Will Love "', async ({ page }) => {
await page.goto('/blog/java-sdk/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why Java Developers Will Love the Klavrium SDK' || t.startsWith('Why Java Developers Will Love the Klavrium SDK'))).toBeTruthy();
});
});
test.describe('Functional - blog_kubecon_eu_2024_recap', () => {
test('blog_kubecon_eu_2024_recap: title matches GT', async ({ page }) => {
await page.goto('/blog/kubecon-eu-2024-recap/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('a keynote that moved the room');
});
test('blog_kubecon_eu_2024_recap: h1 "A Keynote That Moved the Room "', async ({ page }) => {
await page.goto('/blog/kubecon-eu-2024-recap/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Keynote That Moved the Room - BuildStack EU 2024 Recap' || t.startsWith('A Keynote That Moved the Room - BuildStack EU 2024 Recap'))).toBeTruthy();
});
test('blog_kubecon_eu_2024_recap: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/kubecon-eu-2024-recap/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_kubecon_eu_2024_recap: h2 "Get product updates, be the fi"', async ({ page }) => {
await page.goto('/blog/kubecon-eu-2024-recap/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get product updates, be the first to know' || t.startsWith('Get product updates, be the first to know'))).toBeTruthy();
});
});
test.describe('Functional - blog_kubecon_na_2023_recap', () => {
test('blog_kubecon_na_2023_recap: title matches GT', async ({ page }) => {
await page.goto('/blog/kubecon-na-2023-recap/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('buildstack na 2023 recap');
});
test('blog_kubecon_na_2023_recap: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/kubecon-na-2023-recap/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_kubecon_na_2023_recap: h2 "Get email updates and always s"', async ({ page }) => {
await page.goto('/blog/kubecon-na-2023-recap/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and always stay in the know.' || t.startsWith('Get email updates and always stay in the know.'))).toBeTruthy();
});
});
test.describe('Functional - blog_llm', () => {
test('blog_llm: title matches GT', async ({ page }) => {
await page.goto('/blog/llm/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('agents on the assembly line');
});
test('blog_llm: h1 "Agents on the Assembly Line: I"', async ({ page }) => {
await page.goto('/blog/llm/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Agents on the Assembly Line: Introducing the LLM Primitive in Klavrium' || t.startsWith('Agents on the Assembly Line: Introducing the LLM Primitive in Klavrium'))).toBeTruthy();
});
test('blog_llm: h2 "LLM: the next software primiti"', async ({ page }) => {
await page.goto('/blog/llm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'LLM: the next software primitive' || t.startsWith('LLM: the next software primitive'))).toBeTruthy();
});
test('blog_llm: h2 "Watch it at work"', async ({ page }) => {
await page.goto('/blog/llm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Watch it at work' || t.startsWith('Watch it at work'))).toBeTruthy();
});
test('blog_llm: h2 "Get Building"', async ({ page }) => {
await page.goto('/blog/llm/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get Building' || t.startsWith('Get Building'))).toBeTruthy();
});
});
test.describe('Functional - blog_module_catalog_insights', () => {
test('blog_module_catalog_insights: title matches GT', async ({ page }) => {
await page.goto('/blog/module-catalog-insights/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('introducing module registry & signals');
});
test('blog_module_catalog_insights: h1 "Introducing Module Registry & "', async ({ page }) => {
await page.goto('/blog/module-catalog-insights/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introducing Module Registry & Signals: Reusable building blocks for your software factory' || t.startsWith('Introducing Module Registry & Signals: Reusable building blocks for your software factory'))).toBeTruthy();
});
test('blog_module_catalog_insights: h2 "How it works: Find, reuse, and"', async ({ page }) => {
await page.goto('/blog/module-catalog-insights/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How it works: Find, reuse, and monitor your modules' || t.startsWith('How it works: Find, reuse, and monitor your modules'))).toBeTruthy();
});
test('blog_module_catalog_insights: h2 "Example: Turning a one-off wor"', async ({ page }) => {
await page.goto('/blog/module-catalog-insights/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Example: Turning a one-off workflow into a reusable block' || t.startsWith('Example: Turning a one-off workflow into a reusable block'))).toBeTruthy();
});
test('blog_module_catalog_insights: h2 "Start building today"', async ({ page }) => {
await page.goto('/blog/module-catalog-insights/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Start building today' || t.startsWith('Start building today'))).toBeTruthy();
});
});
test.describe('Functional - blog_multi_cloud_container_publishing', () => {
test('blog_multi_cloud_container_publishing: title matches GT', async ({ page }) => {
await page.goto('/blog/multi-cloud-container-publishing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('multi');
});
test('blog_multi_cloud_container_publishing: h1 "Multi-Cloud Container Publishi"', async ({ page }) => {
await page.goto('/blog/multi-cloud-container-publishing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Multi-Cloud Container Publishing with Klavrium Functions' || t.startsWith('Multi-Cloud Container Publishing with Klavrium Functions'))).toBeTruthy();
});
test('blog_multi_cloud_container_publishing: h2 "Come join the crew"', async ({ page }) => {
await page.goto('/blog/multi-cloud-container-publishing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come join the crew' || t.startsWith('Come join the crew'))).toBeTruthy();
});
test('blog_multi_cloud_container_publishing: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/multi-cloud-container-publishing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
});
test.describe('Functional - blog_new_ai_developer_devin', () => {
test('blog_new_ai_developer_devin: title matches GT', async ({ page }) => {
await page.goto('/blog/new-ai-developer-devin/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('we just “hired” a new ai developer');
});
test('blog_new_ai_developer_devin: h1 "We Just “hired” a New AI Devel"', async ({ page }) => {
await page.goto('/blog/new-ai-developer-devin/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'We Just “hired” a New AI Developer - Cinder' || t.startsWith('We Just “hired” a New AI Developer - Cinder'))).toBeTruthy();
});
test('blog_new_ai_developer_devin: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/new-ai-developer-devin/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_new_ai_developer_devin: h2 "Subscribe for updates, be the "', async ({ page }) => {
await page.goto('/blog/new-ai-developer-devin/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates, be the first to know' || t.startsWith('Subscribe for updates, be the first to know'))).toBeTruthy();
});
test('blog_new_ai_developer_devin: h3 "A Familiar Open-Source Struggl"', async ({ page }) => {
await page.goto('/blog/new-ai-developer-devin/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'A Familiar Open-Source Struggle' || t.startsWith('A Familiar Open-Source Struggle'))).toBeTruthy();
});
});
test.describe('Functional - blog_new_klavrium_cloud_pricing', () => {
test('blog_new_klavrium_cloud_pricing: title matches GT', async ({ page }) => {
await page.goto('/blog/new-klavrium-cloud-pricing/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rethinking klavrium cloud pricing');
});
test('blog_new_klavrium_cloud_pricing: h1 "Rethinking Klavrium Cloud Pric"', async ({ page }) => {
await page.goto('/blog/new-klavrium-cloud-pricing/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rethinking Klavrium Cloud Pricing: Free for Solo Devs, Flat Rate for Teams' || t.startsWith('Rethinking Klavrium Cloud Pricing: Free for Solo Devs, Flat Rate for Teams'))).toBeTruthy();
});
test('blog_new_klavrium_cloud_pricing: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/new-klavrium-cloud-pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_new_klavrium_cloud_pricing: h2 "Subscribe for release notes an"', async ({ page }) => {
await page.goto('/blog/new-klavrium-cloud-pricing/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for release notes and product news' || t.startsWith('Subscribe for release notes and product news'))).toBeTruthy();
});
test('blog_new_klavrium_cloud_pricing: h3 "One flat rate for teams"', async ({ page }) => {
await page.goto('/blog/new-klavrium-cloud-pricing/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'One flat rate for teams' || t.startsWith('One flat rate for teams'))).toBeTruthy();
});
});
test.describe('Functional - blog_nodejs_sdk', () => {
test('blog_nodejs_sdk: title matches GT', async ({ page }) => {
await page.goto('/blog/nodejs-sdk/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('introducing the klavrium node.js sdk');
});
test('blog_nodejs_sdk: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/nodejs-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_nodejs_sdk: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/nodejs-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and be first in line.' || t.startsWith('Sign up for email updates and be first in line.'))).toBeTruthy();
});
test('blog_nodejs_sdk: h3 "Klavrium Node.js in Action"', async ({ page }) => {
await page.goto('/blog/nodejs-sdk/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Node.js in Action' || t.startsWith('Klavrium Node.js in Action'))).toBeTruthy();
});
});
test.describe('Functional - blog_nodejs_sdk_0_3', () => {
test('blog_nodejs_sdk_0_3: title matches GT', async ({ page }) => {
await page.goto('/blog/nodejs-sdk-0-3/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium node.js sdk 0.3');
});
test('blog_nodejs_sdk_0_3: h1 "Klavrium Node.js SDK 0.3: clea"', async ({ page }) => {
await page.goto('/blog/nodejs-sdk-0-3/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Node.js SDK 0.3: cleaner APIs, sharper error handling and far less boilerplate' || t.startsWith('Klavrium Node.js SDK 0.3: cleaner APIs, sharper error handling and far less boilerplate'))).toBeTruthy();
});
test('blog_nodejs_sdk_0_3: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/nodejs-sdk-0-3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_nodejs_sdk_0_3: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/nodejs-sdk-0-3/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and hear it here.' || t.startsWith('Sign up for email updates and hear it here.'))).toBeTruthy();
});
test('blog_nodejs_sdk_0_3: h3 "Klavrium Node.js SDK 0.3.0 Hig"', async ({ page }) => {
await page.goto('/blog/nodejs-sdk-0-3/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Node.js SDK 0.3.0 Highlights' || t.startsWith('Klavrium Node.js SDK 0.3.0 Highlights'))).toBeTruthy();
});
});
test.describe('Functional - blog_php_sdk', () => {
test('blog_php_sdk: title matches GT', async ({ page }) => {
await page.goto('/blog/php-sdk/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('introducing the klavrium php sdk');
});
test('blog_php_sdk: h1 "Introducing the Klavrium PHP S"', async ({ page }) => {
await page.goto('/blog/php-sdk/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Introducing the Klavrium PHP SDK: Script Your Pipelines in PHP' || t.startsWith('Introducing the Klavrium PHP SDK: Script Your Pipelines in PHP'))).toBeTruthy();
});
test('blog_php_sdk: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/php-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_php_sdk: h2 "Subscribe for updates and stay"', async ({ page }) => {
await page.goto('/blog/php-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and stay in the loop' || t.startsWith('Subscribe for updates and stay in the loop'))).toBeTruthy();
});
test('blog_php_sdk: h4 "What the Klavrium PHP SDK Unlo"', async ({ page }) => {
await page.goto('/blog/php-sdk/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What the Klavrium PHP SDK Unlocks for You' || t.startsWith('What the Klavrium PHP SDK Unlocks for You'))).toBeTruthy();
});
});
test.describe('Functional - blog_public_launch_announcement', () => {
test('blog_public_launch_announcement: title matches GT', async ({ page }) => {
await page.goto('/blog/public-launch-announcement/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('meet klavrium');
});
test('blog_public_launch_announcement: h1 "Meet Klavrium: a fresh approac"', async ({ page }) => {
await page.goto('/blog/public-launch-announcement/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet Klavrium: a fresh approach to CI/CD flows' || t.startsWith('Meet Klavrium: a fresh approach to CI/CD flows'))).toBeTruthy();
});
test('blog_public_launch_announcement: h2 "Get involved today"', async ({ page }) => {
await page.goto('/blog/public-launch-announcement/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get involved today' || t.startsWith('Get involved today'))).toBeTruthy();
});
test('blog_public_launch_announcement: h2 "Subscribe for updates and hear"', async ({ page }) => {
await page.goto('/blog/public-launch-announcement/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and hear about it.' || t.startsWith('Subscribe for updates and hear about it.'))).toBeTruthy();
});
test('blog_public_launch_announcement: h4 "Why Klavrium?"', async ({ page }) => {
await page.goto('/blog/public-launch-announcement/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why Klavrium?' || t.startsWith('Why Klavrium?'))).toBeTruthy();
});
});
test.describe('Functional - blog_public_traces', () => {
test('blog_public_traces: title matches GT', async ({ page }) => {
await page.goto('/blog/public-traces/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('announcing public traces for open source');
});
test('blog_public_traces: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/public-traces/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_public_traces: h2 "Get updates by email and stay "', async ({ page }) => {
await page.goto('/blog/public-traces/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and stay in the know' || t.startsWith('Get updates by email and stay in the know'))).toBeTruthy();
});
test('blog_public_traces: h4 "What Are Traces, and Why Do Th"', async ({ page }) => {
await page.goto('/blog/public-traces/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'What Are Traces, and Why Do They Matter?' || t.startsWith('What Are Traces, and Why Do They Matter?'))).toBeTruthy();
});
});
test.describe('Functional - blog_puzzle_case_study', () => {
test('blog_puzzle_case_study: title matches GT', async ({ page }) => {
await page.goto('/blog/puzzle-case-study/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how halden streamlined its ci infrastruc');
});
test('blog_puzzle_case_study: h1 "Streamlining CI Infrastructure"', async ({ page }) => {
await page.goto('/blog/puzzle-case-study/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Streamlining CI Infrastructure at Halden with Klavrium, KubeVirt, and ArgoCD' || t.startsWith('Streamlining CI Infrastructure at Halden with Klavrium, KubeVirt, and ArgoCD'))).toBeTruthy();
});
test('blog_puzzle_case_study: h2 "Join the conversation"', async ({ page }) => {
await page.goto('/blog/puzzle-case-study/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the conversation' || t.startsWith('Join the conversation'))).toBeTruthy();
});
test('blog_puzzle_case_study: h2 "Get updates by email and never"', async ({ page }) => {
await page.goto('/blog/puzzle-case-study/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and never miss out' || t.startsWith('Get updates by email and never miss out'))).toBeTruthy();
});
test('blog_puzzle_case_study: h4 "No Hands-On Control over CI In"', async ({ page }) => {
await page.goto('/blog/puzzle-case-study/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'No Hands-On Control over CI Infrastructure' || t.startsWith('No Hands-On Control over CI Infrastructure'))).toBeTruthy();
});
});
test.describe('Functional - blog_python_sdk', () => {
test('blog_python_sdk: title matches GT', async ({ page }) => {
await page.goto('/blog/python-sdk/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('write your pipelines as code with the kl');
});
test('blog_python_sdk: h1 "Write your pipelines as code w"', async ({ page }) => {
await page.goto('/blog/python-sdk/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Write your pipelines as code with the Klavrium Python SDK' || t.startsWith('Write your pipelines as code with the Klavrium Python SDK'))).toBeTruthy();
});
test('blog_python_sdk: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/python-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_python_sdk: h2 "Get email updates, be first in"', async ({ page }) => {
await page.goto('/blog/python-sdk/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates, be first in the know' || t.startsWith('Get email updates, be first in the know'))).toBeTruthy();
});
test('blog_python_sdk: h3 "Klavrium Python SDK in Action"', async ({ page }) => {
await page.goto('/blog/python-sdk/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Klavrium Python SDK in Action' || t.startsWith('Klavrium Python SDK in Action'))).toBeTruthy();
});
});
test.describe('Functional - blog_replace_dockerfile_with_go', () => {
test('blog_replace_dockerfile_with_go: title matches GT', async ({ page }) => {
await page.goto('/blog/replace-dockerfile-with-go/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('swapping your dockerfile for go code');
});
test('blog_replace_dockerfile_with_go: h1 "Swapping your Dockerfile for G"', async ({ page }) => {
await page.goto('/blog/replace-dockerfile-with-go/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Swapping your Dockerfile for Go code' || t.startsWith('Swapping your Dockerfile for Go code'))).toBeTruthy();
});
test('blog_replace_dockerfile_with_go: h2 "Meet the community"', async ({ page }) => {
await page.goto('/blog/replace-dockerfile-with-go/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Meet the community' || t.startsWith('Meet the community'))).toBeTruthy();
});
test('blog_replace_dockerfile_with_go: h2 "Subscribe for updates and hear"', async ({ page }) => {
await page.goto('/blog/replace-dockerfile-with-go/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and hear the news.' || t.startsWith('Subscribe for updates and hear the news.'))).toBeTruthy();
});
test('blog_replace_dockerfile_with_go: h3 "Where It Shines"', async ({ page }) => {
await page.goto('/blog/replace-dockerfile-with-go/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Where It Shines' || t.startsWith('Where It Shines'))).toBeTruthy();
});
});
test.describe('Functional - blog_replaced_react_with_go', () => {
test('blog_replaced_react_with_go: title matches GT', async ({ page }) => {
await page.goto('/blog/replaced-react-with-go/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how we swapped our vantel frontend for g');
});
test('blog_replaced_react_with_go: h1 "How We Swapped Our Vantel Fron"', async ({ page }) => {
await page.goto('/blog/replaced-react-with-go/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How We Swapped Our Vantel Frontend for Go and WebAssembly' || t.startsWith('How We Swapped Our Vantel Frontend for Go and WebAssembly'))).toBeTruthy();
});
test('blog_replaced_react_with_go: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/replaced-react-with-go/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_replaced_react_with_go: h2 "Sign up for email news and hea"', async ({ page }) => {
await page.goto('/blog/replaced-react-with-go/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email news and hear it first' || t.startsWith('Sign up for email news and hear it first'))).toBeTruthy();
});
test('blog_replaced_react_with_go: h4 "Two Codebases: More Work, Fewe"', async ({ page }) => {
await page.goto('/blog/replaced-react-with-go/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Two Codebases: More Work, Fewer Features' || t.startsWith('Two Codebases: More Work, Fewer Features'))).toBeTruthy();
});
});
test.describe('Functional - blog_reproducible_builds', () => {
test('blog_reproducible_builds: title matches GT', async ({ page }) => {
await page.goto('/blog/reproducible-builds/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('reproducible builds with klavrium');
});
test('blog_reproducible_builds: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/reproducible-builds/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_reproducible_builds: h2 "Get our updates, be the first "', async ({ page }) => {
await page.goto('/blog/reproducible-builds/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get our updates, be the first to know' || t.startsWith('Get our updates, be the first to know'))).toBeTruthy();
});
test('blog_reproducible_builds: h4 "Why Reproducible Builds Really"', async ({ page }) => {
await page.goto('/blog/reproducible-builds/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why Reproducible Builds Really Matter' || t.startsWith('Why Reproducible Builds Really Matter'))).toBeTruthy();
});
});
test.describe('Functional - blog_restoring_developer_confidence', () => {
test('blog_restoring_developer_confidence: title matches GT', async ({ page }) => {
await page.goto('/blog/restoring-developer-confidence/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('rebuilding trust in your ci pipeline');
});
test('blog_restoring_developer_confidence: h1 "Rebuilding Developer Trust in "', async ({ page }) => {
await page.goto('/blog/restoring-developer-confidence/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Rebuilding Developer Trust in CI Runs' || t.startsWith('Rebuilding Developer Trust in CI Runs'))).toBeTruthy();
});
test('blog_restoring_developer_confidence: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/restoring-developer-confidence/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_restoring_developer_confidence: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/restoring-developer-confidence/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_restoring_developer_confidence: h3 "The problem: A brittle CI that"', async ({ page }) => {
await page.goto('/blog/restoring-developer-confidence/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The problem: A brittle CI that nobody could trust' || t.startsWith('The problem: A brittle CI that nobody could trust'))).toBeTruthy();
});
});
test.describe('Functional - blog_ruff', () => {
test('blog_ruff: title matches GT', async ({ page }) => {
await page.goto('/blog/ruff/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('adopting ruff for klavrium’s python sdk');
});
test('blog_ruff: h1 "Adopting Ruff for Klavrium’s P"', async ({ page }) => {
await page.goto('/blog/ruff/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Adopting Ruff for Klavrium’s Python SDK' || t.startsWith('Adopting Ruff for Klavrium’s Python SDK'))).toBeTruthy();
});
test('blog_ruff: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/ruff/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_ruff: h2 "Sign up for updates and stay a"', async ({ page }) => {
await page.goto('/blog/ruff/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for updates and stay a step ahead' || t.startsWith('Sign up for updates and stay a step ahead'))).toBeTruthy();
});
test('blog_ruff: h3 "Why Ruff?"', async ({ page }) => {
await page.goto('/blog/ruff/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Why Ruff?' || t.startsWith('Why Ruff?'))).toBeTruthy();
});
});
test.describe('Functional - blog_run_klavrium_on_kubernetes', () => {
test('blog_run_klavrium_on_kubernetes: title matches GT', async ({ page }) => {
await page.goto('/blog/run-klavrium-on-kubernetes/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('running klavrium on kubernetes');
});
test('blog_run_klavrium_on_kubernetes: h1 "Running Klavrium on Kubernetes"', async ({ page }) => {
await page.goto('/blog/run-klavrium-on-kubernetes/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Running Klavrium on Kubernetes' || t.startsWith('Running Klavrium on Kubernetes'))).toBeTruthy();
});
test('blog_run_klavrium_on_kubernetes: h2 "Join fellow builders"', async ({ page }) => {
await page.goto('/blog/run-klavrium-on-kubernetes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join fellow builders' || t.startsWith('Join fellow builders'))).toBeTruthy();
});
test('blog_run_klavrium_on_kubernetes: h2 "Subscribe for updates and stay"', async ({ page }) => {
await page.goto('/blog/run-klavrium-on-kubernetes/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and stay in the loop' || t.startsWith('Subscribe for updates and stay in the loop'))).toBeTruthy();
});
test('blog_run_klavrium_on_kubernetes: h3 "How does Klavrium run locally?"', async ({ page }) => {
await page.goto('/blog/run-klavrium-on-kubernetes/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How does Klavrium run locally?' || t.startsWith('How does Klavrium run locally?'))).toBeTruthy();
});
});
test.describe('Functional - blog_safespring_case_study', () => {
test('blog_safespring_case_study: title matches GT', async ({ page }) => {
await page.goto('/blog/safespring-case-study/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how nordvault ships 100% predictable, co');
});
test('blog_safespring_case_study: h1 "How Nordvault Ships 100% Predi"', async ({ page }) => {
await page.goto('/blog/safespring-case-study/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Nordvault Ships 100% Predictable, Consistent Ansible Deployments with Klavrium' || t.startsWith('How Nordvault Ships 100% Predictable, Consistent Ansible Deployments with Klavrium'))).toBeTruthy();
});
test('blog_safespring_case_study: h2 "Come build with us"', async ({ page }) => {
await page.goto('/blog/safespring-case-study/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come build with us' || t.startsWith('Come build with us'))).toBeTruthy();
});
test('blog_safespring_case_study: h2 "Get updates by email and know "', async ({ page }) => {
await page.goto('/blog/safespring-case-study/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get updates by email and know it first' || t.startsWith('Get updates by email and know it first'))).toBeTruthy();
});
test('blog_safespring_case_study: h4 "Battling Environment Complexit"', async ({ page }) => {
await page.goto('/blog/safespring-case-study/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Battling Environment Complexity and Inconsistency' || t.startsWith('Battling Environment Complexity and Inconsistency'))).toBeTruthy();
});
});
test.describe('Functional - blog_series_a', () => {
test('blog_series_a: title matches GT', async ({ page }) => {
await page.goto('/blog/series-a/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('announcing our \$20m series a led by vant');
});
test('blog_series_a: h1 "Announcing our \$20M Series A l"', async ({ page }) => {
await page.goto('/blog/series-a/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Announcing our \$20M Series A led by Vantacore Partners' || t.startsWith('Announcing our \$20M Series A led by Vantacore Partners'))).toBeTruthy();
});
test('blog_series_a: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/series-a/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_series_a: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/series-a/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
});
test.describe('Functional - blog_simpler_reusability_with_the_global_client', () => {
test('blog_simpler_reusability_with_the_global_client: title matches GT', async ({ page }) => {
await page.goto('/blog/simpler-reusability-with-the-global-client/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('cleaner pipeline reuse with the global c');
});
test('blog_simpler_reusability_with_the_global_client: h1 "Cleaner Pipeline Reuse with th"', async ({ page }) => {
await page.goto('/blog/simpler-reusability-with-the-global-client/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Cleaner Pipeline Reuse with the Global Client' || t.startsWith('Cleaner Pipeline Reuse with the Global Client'))).toBeTruthy();
});
test('blog_simpler_reusability_with_the_global_client: h2 "Join fellow builders"', async ({ page }) => {
await page.goto('/blog/simpler-reusability-with-the-global-client/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join fellow builders' || t.startsWith('Join fellow builders'))).toBeTruthy();
});
test('blog_simpler_reusability_with_the_global_client: h2 "Subscribe for updates and hear"', async ({ page }) => {
await page.goto('/blog/simpler-reusability-with-the-global-client/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for updates and hear the news.' || t.startsWith('Subscribe for updates and hear the news.'))).toBeTruthy();
});
test('blog_simpler_reusability_with_the_global_client: h3 "Motivation"', async ({ page }) => {
await page.goto('/blog/simpler-reusability-with-the-global-client/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Motivation' || t.startsWith('Motivation'))).toBeTruthy();
});
});
test.describe('Functional - blog_simplifying_notifications', () => {
test('blog_simplifying_notifications: title matches GT', async ({ page }) => {
await page.goto('/blog/simplifying-notifications/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('simplifying notifications in your pipeli');
});
test('blog_simplifying_notifications: h1 "Simplifying Notifications in y"', async ({ page }) => {
await page.goto('/blog/simplifying-notifications/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Simplifying Notifications in your Pipeline with Nuvo and Klavrium' || t.startsWith('Simplifying Notifications in your Pipeline with Nuvo and Klavrium'))).toBeTruthy();
});
test('blog_simplifying_notifications: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/simplifying-notifications/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_simplifying_notifications: h2 "Sign up for email updates and "', async ({ page }) => {
await page.goto('/blog/simplifying-notifications/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Sign up for email updates and never miss out' || t.startsWith('Sign up for email updates and never miss out'))).toBeTruthy();
});
});
test.describe('Functional - blog_soc2_audit', () => {
test('blog_soc2_audit: title matches GT', async ({ page }) => {
await page.goto('/blog/soc2-audit/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('klavrium successfully completed soc 2 au');
});
test('blog_soc2_audit: h2 "Join the community"', async ({ page }) => {
await page.goto('/blog/soc2-audit/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join the community' || t.startsWith('Join the community'))).toBeTruthy();
});
test('blog_soc2_audit: h2 "Get email updates, be the firs"', async ({ page }) => {
await page.goto('/blog/soc2-audit/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates, be the first to know' || t.startsWith('Get email updates, be the first to know'))).toBeTruthy();
});
});
test.describe('Functional - blog_spring_application', () => {
test('blog_spring_application: title matches GT', async ({ page }) => {
await page.goto('/blog/spring-application/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('continuously ship a trellis application ');
});
test('blog_spring_application: h1 "Continuously Ship a Trellis Ap"', async ({ page }) => {
await page.goto('/blog/spring-application/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Continuously Ship a Trellis Application Using Klavrium' || t.startsWith('Continuously Ship a Trellis Application Using Klavrium'))).toBeTruthy();
});
test('blog_spring_application: h2 "Come meet our crew"', async ({ page }) => {
await page.goto('/blog/spring-application/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Come meet our crew' || t.startsWith('Come meet our crew'))).toBeTruthy();
});
test('blog_spring_application: h2 "Subscribe for product news and"', async ({ page }) => {
await page.goto('/blog/spring-application/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Subscribe for product news and hear about it first.' || t.startsWith('Subscribe for product news and hear about it first.'))).toBeTruthy();
});
});
test.describe('Functional - blog_substitute_yaml_with_nouns_and_verbs_in_ci_cd_pipelines', () => {
test('blog_substitute_yaml_with_nouns_and_verbs_in_ci_cd_pipelines: title matches GT', async ({ page }) => {
await page.goto('/blog/substitute-yaml-with-nouns-and-verbs-in-ci-cd-pipelines/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('swap yaml for nouns and verbs in your ci');
});
test('blog_substitute_yaml_with_nouns_and_verbs_in_ci_cd_pipelines: h1 "Replace YAML with Nouns and Ve"', async ({ page }) => {
await page.goto('/blog/substitute-yaml-with-nouns-and-verbs-in-ci-cd-pipelines/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Replace YAML with Nouns and Verbs in CI/CD Pipelines' || t.startsWith('Replace YAML with Nouns and Verbs in CI/CD Pipelines'))).toBeTruthy();
});
test('blog_substitute_yaml_with_nouns_and_verbs_in_ci_cd_pipelines: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/substitute-yaml-with-nouns-and-verbs-in-ci-cd-pipelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_substitute_yaml_with_nouns_and_verbs_in_ci_cd_pipelines: h2 "Get product updates and be the"', async ({ page }) => {
await page.goto('/blog/substitute-yaml-with-nouns-and-verbs-in-ci-cd-pipelines/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get product updates and be the first to know' || t.startsWith('Get product updates and be the first to know'))).toBeTruthy();
});
test('blog_substitute_yaml_with_nouns_and_verbs_in_ci_cd_pipelines: h4 "Runic as Frontend and UX for K"', async ({ page }) => {
await page.goto('/blog/substitute-yaml-with-nouns-and-verbs-in-ci-cd-pipelines/');
const texts = (await page.locator('h4').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Runic as Frontend and UX for Klavrium' || t.startsWith('Runic as Frontend and UX for Klavrium'))).toBeTruthy();
});
});
test.describe('Functional - blog_typescript_sdk_performance', () => {
test('blog_typescript_sdk_performance: title matches GT', async ({ page }) => {
await page.goto('/blog/typescript-sdk-performance/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('how we cut cold starts in our typescript');
});
test('blog_typescript_sdk_performance: h1 "How Bundling Cut 50% off Cold "', async ({ page }) => {
await page.goto('/blog/typescript-sdk-performance/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'How Bundling Cut 50% off Cold Starts in our TypeScript SDK' || t.startsWith('How Bundling Cut 50% off Cold Starts in our TypeScript SDK'))).toBeTruthy();
});
test('blog_typescript_sdk_performance: h2 "Background"', async ({ page }) => {
await page.goto('/blog/typescript-sdk-performance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Background' || t.startsWith('Background'))).toBeTruthy();
});
test('blog_typescript_sdk_performance: h2 "Performance Roadblocks"', async ({ page }) => {
await page.goto('/blog/typescript-sdk-performance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Performance Roadblocks' || t.startsWith('Performance Roadblocks'))).toBeTruthy();
});
test('blog_typescript_sdk_performance: h2 "The Bundling Promise"', async ({ page }) => {
await page.goto('/blog/typescript-sdk-performance/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'The Bundling Promise' || t.startsWith('The Bundling Promise'))).toBeTruthy();
});
});
test.describe('Functional - blog_works_on_my_machine', () => {
test('blog_works_on_my_machine: title matches GT', async ({ page }) => {
await page.goto('/blog/works-on-my-machine/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('ending the “works on my machine” struggl');
});
test('blog_works_on_my_machine: h1 "Retiring the “Works on my Mach"', async ({ page }) => {
await page.goto('/blog/works-on-my-machine/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Retiring the “Works on my Machine” Problem' || t.startsWith('Retiring the “Works on my Machine” Problem'))).toBeTruthy();
});
test('blog_works_on_my_machine: h2 "Be part of the community"', async ({ page }) => {
await page.goto('/blog/works-on-my-machine/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Be part of the community' || t.startsWith('Be part of the community'))).toBeTruthy();
});
test('blog_works_on_my_machine: h2 "Get email updates and be the f"', async ({ page }) => {
await page.goto('/blog/works-on-my-machine/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get email updates and be the first to know' || t.startsWith('Get email updates and be the first to know'))).toBeTruthy();
});
test('blog_works_on_my_machine: h3 "Slow, inconsistent CI environm"', async ({ page }) => {
await page.goto('/blog/works-on-my-machine/');
const texts = (await page.locator('h3').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Slow, inconsistent CI environments that dragged down development' || t.startsWith('Slow, inconsistent CI environments that dragged down development'))).toBeTruthy();
});
});
test.describe('Functional - blog_zenith_does_ai', () => {
test('blog_zenith_does_ai: title matches GT', async ({ page }) => {
await page.goto('/blog/zenith-does-ai/');
const t = (await page.title()).toLowerCase();
expect(t).toContain('nimbus does ai');
});
test('blog_zenith_does_ai: h1 "Nimbus Does AI"', async ({ page }) => {
await page.goto('/blog/zenith-does-ai/');
const texts = (await page.locator('h1').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Nimbus Does AI' || t.startsWith('Nimbus Does AI'))).toBeTruthy();
});
test('blog_zenith_does_ai: h2 "Join our community"', async ({ page }) => {
await page.goto('/blog/zenith-does-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Join our community' || t.startsWith('Join our community'))).toBeTruthy();
});
test('blog_zenith_does_ai: h2 "Get our updates, be the first "', async ({ page }) => {
await page.goto('/blog/zenith-does-ai/');
const texts = (await page.locator('h2').allTextContents()).map(s => s.replace(/\s+/g, ' ').trim());
expect(texts.some(t => t === 'Get our updates, be the first to hear it' || t.startsWith('Get our updates, be the first to hear it'))).toBeTruthy();
});
});
test.describe('Functional - Routing', () => {
test('navigate to blog via "Blog"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="blog"]').first();
expect(await link.count(), 'nav link to blog exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('blog');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Cache tuning for modules');
});
test('navigate to changelog via "Changelog"', async ({ page }) => {
await page.goto('/');
const link = page.locator('a[href*="changelog"]').first();
expect(await link.count(), 'nav link to changelog exists').toBeGreaterThan(0);
await link.click();
await page.waitForTimeout(1200);
expect(page.url().toLowerCase(), 'URL changed to destination').toContain('changelog');
const bodyText = (await page.evaluate(() => document.body.innerText)).replace(/\s+/g, ' ');
expect(bodyText, 'destination distinctive content shown').toContain('Modules v2');
});
});
|