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 website/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ <h2 id="more-title">Keep the rules close to the code.</h2>
<img class="sqlstack-dark" src="assets/sqlstack-dark.png" alt="" width="28" height="23">
<span>Part of SQLStack</span>
</a>
<nav aria-label="SQLStack tools"><a href="https://sqlbuild.com">SQLBuild</a><a href="https://sqlclean.io">SQLClean</a><a href="https://docs.streambuild.dev">SQLTide</a><a href="/">Fensu</a></nav>
<nav aria-label="SQLStack tools"><a href="https://sqlbuild.com">SQLBuild</a><a href="https://sqlclean.io">SQLClean</a><a href="https://sqltide.io/">SQLTide</a><a href="/">Fensu</a></nav>
</div>
</footer>
<p class="sr-only" role="status" id="copy-status"></p>
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import DefaultFooter from '@astrojs/starlight/components/Footer.astro';
<nav aria-label="SQLStack tools">
<a href="https://sqlbuild.com">SQLBuild</a>
<a href="https://sqlclean.io">SQLClean</a>
<a href="https://docs.streambuild.dev">SQLTide</a>
<a href="https://sqltide.io/">SQLTide</a>
<a href="/">Fensu</a>
</nav>
</div>
Expand Down
3 changes: 3 additions & 0 deletions website/tests/docs.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ for (const colorScheme of ['light', 'dark']) {
await expect(page.getByRole('link', { name: 'by SQLStack', exact: true })).toHaveAttribute('href', 'https://sqlstack.io');
await expect(page.getByRole('link', { name: 'Part of SQLStack', exact: true })).toHaveAttribute('href', 'https://sqlstack.io');
await expect(page.getByRole('navigation', { name: 'SQLStack tools' }).getByRole('link')).toHaveText(['SQLBuild', 'SQLClean', 'SQLTide', 'Fensu']);
for (const [name, href] of Object.entries({ SQLBuild: 'https://sqlbuild.com', SQLClean: 'https://sqlclean.io', SQLTide: 'https://sqltide.io/', Fensu: '/' })) {
await expect(page.getByRole('navigation', { name: 'SQLStack tools' }).getByRole('link', { name, exact: true })).toHaveAttribute('href', href);
}
await expect(page.locator('.sqlstack-brand img:visible')).toHaveCount(1);
const results = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']).analyze();
expect(results.violations, route).toEqual([]);
Expand Down
3 changes: 3 additions & 0 deletions website/tests/site.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ for (const colorScheme of ['light', 'dark']) {
await expect(page.getByRole('link', { name: 'by SQLStack', exact: true })).toHaveAttribute('href', 'https://sqlstack.io');
await expect(page.getByRole('link', { name: 'Part of SQLStack', exact: true })).toHaveAttribute('href', 'https://sqlstack.io');
await expect(page.getByRole('navigation', { name: 'SQLStack tools' }).getByRole('link')).toHaveText(['SQLBuild', 'SQLClean', 'SQLTide', 'Fensu']);
for (const [name, href] of Object.entries({ SQLBuild: 'https://sqlbuild.com', SQLClean: 'https://sqlclean.io', SQLTide: 'https://sqltide.io/', Fensu: '/' })) {
await expect(page.getByRole('navigation', { name: 'SQLStack tools' }).getByRole('link', { name, exact: true })).toHaveAttribute('href', href);
}
await expect(page.locator('.sqlstack-brand img:visible')).toHaveCount(1);
const result = await new AxeBuilder({ page }).withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa']).analyze();
expect(result.violations).toEqual([]);
Expand Down
Loading