# SEF Chat Pro Testing Checklist

## Activation
- Plugin activates without fatal error.
- SEF Chat menu appears.
- Database tables are created.
- System Status health check shows table status as `ok`.

## Settings
- API key saves correctly.
- Prompt saves correctly.
- Visibility mode saves correctly.
- Widget color, title, placeholder and position save correctly.

## AI Test
- System Status > Test OpenAI API returns a short confirmation.
- Wrong API key shows an error without breaking the site.

## Indexing
- Pages index correctly.
- Posts index correctly.
- WooCommerce products index correctly when WooCommerce is installed.
- Manual FAQ training saves.
- Embedding mode generates vector rows when enabled.

## Frontend
- Floating chat opens and closes.
- Shortcode renders the widget.
- User question receives an answer.
- Product price/stock questions use indexed product context.
- Rate limit blocks excessive messages.

## Lead / WhatsApp
- Lead form saves name, phone, email and note.
- WhatsApp button opens configured number.

## Security
- API key is not visible in page source.
- Admin actions require login and manage_options capability.
- Public AJAX requires nonce.
- Same-site origin guard blocks cross-origin requests.
