Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<div class="shell hero-inner">
<div class="hero-copy">
<h1 id="headline">The Data Stack for Engineers of the Future</h1>
<p class="lede"><strong>Writing SQL is no longer the hard part.<br>Knowing it’s right, and keeping it that way, is.</strong> Independent tools grounded in software engineering fundamentals, so you can keep pace with the frontier without breaking what works.</p>
<p class="lede"><strong>Writing SQL is no longer the hard part.<br>Knowing it’s right, and keeping it that way, is.</strong></p>
<div class="actions">
<a class="button primary" href="#tools">Explore the tools</a>
<a class="button" href="https://github.com/sqlstack-io">GitHub <span aria-hidden="true">↗</span></a>
Expand Down
9 changes: 1 addition & 8 deletions tests/website.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down