diff --git a/index.html b/index.html index 1f94c0a..c8fd062 100644 --- a/index.html +++ b/index.html @@ -60,7 +60,7 @@

The Data Stack for Engineers of the Future

-

Writing SQL is no longer the hard part.
Knowing it’s right, and keeping it that way, is.
Independent tools grounded in software engineering fundamentals, so you can keep pace with the frontier without breaking what works.

+

Writing SQL is no longer the hard part.
Knowing it’s right, and keeping it that way, is.

Explore the tools GitHub diff --git a/tests/website.spec.mjs b/tests/website.spec.mjs index 7062267..bb91e92 100644 --- a/tests/website.spec.mjs +++ b/tests/website.spec.mjs @@ -55,14 +55,7 @@ test('tools, stack layers, sharing assets and responsive layout work in both the await page.emulateMedia({ colorScheme: theme }); await page.goto('/'); await expect(page.getByRole('heading', { level: 1 })).toHaveText('The Data Stack for Engineers of the Future'); - const lede = page.locator('.hero .lede strong'); - await expect(lede).toHaveText('Writing SQL is no longer the hard part. Knowing it’s right, and keeping it that way, is.', { useInnerText: true }); - // The grey sentence starts on its own line, below the bold lines. - expect(await lede.evaluate((bold) => { - const range = document.createRange(); - range.selectNodeContents(bold.nextSibling); - return range.getClientRects()[0].top >= bold.getBoundingClientRect().bottom - 1; - })).toBe(true); + await expect(page.locator('.hero .lede')).toHaveText('Writing SQL is no longer the hard part. Knowing it’s right, and keeping it that way, is.', { useInnerText: true }); await expect(page.locator('.hero .actions')).toContainText('Use one, or use them all.'); await expect(page.getByRole('heading', { level: 2 })).toHaveText('Independent tools. Shared foundations.'); const logo = page.getByRole('link', { name: 'SQLStack home', exact: true }).locator('img:visible');