test(ci): add exporter heading levels and a11y typography smoke; update MAIN_PLAN
CI / test (pull_request) Has been cancelled

This commit is contained in:
2025-11-14 16:40:45 +09:00
parent aaa624a046
commit cd6a6ea069
93 changed files with 8543 additions and 13 deletions
@@ -0,0 +1,29 @@
import { render, screen } from '@testing-library/react'
import { NextIntlClientProvider } from 'next-intl'
import { describe, expect, test } from 'vitest'
import BuilderClientPage from './BuilderClientPage'
import messages from '../messages/en.json'
function Wrapper({ children }: { children: React.ReactNode }) {
return (
<NextIntlClientProvider messages={messages} locale="en">
{children}
</NextIntlClientProvider>
)
}
describe('BuilderClientPage - SEO/Analytics helptexts', () => {
test('renders helpful hints under SEO/Analytics/OG inputs', () => {
render(
<Wrapper>
<BuilderClientPage />
</Wrapper>
)
expect(screen.getByText(/Shown in browser title and social previews/i)).toBeInTheDocument()
expect(screen.getByText(/Used by search engines and OG description/i)).toBeInTheDocument()
expect(screen.getByText(/Absolute URL recommended/i)).toBeInTheDocument()
expect(screen.getByText(/Format: G-XXXXXXXXXX/i)).toBeInTheDocument()
expect(screen.getByText(/Numeric Page ID/i)).toBeInTheDocument()
})
})