e455d5dba5
Reviewed-on: #41 Co-authored-by: David Gwilliam <dhgwilliam@gmail.com> Co-committed-by: David Gwilliam <dhgwilliam@gmail.com>
28 lines
989 B
TypeScript
28 lines
989 B
TypeScript
/**
|
|
* Smoke Test: EuchreCamp Application
|
|
*
|
|
* This test suite provides comprehensive acceptance/regression testing
|
|
* for the core functionality of the EuchreCamp application.
|
|
*/
|
|
|
|
import { test, expect } from '@playwright/test'
|
|
|
|
test.describe('Smoke Test: EuchreCamp Application', () => {
|
|
test.describe('Public Pages', () => {
|
|
test('should display rankings page', async ({ page }) => {
|
|
await page.goto('/rankings')
|
|
// Rankings page should be accessible even when authenticated
|
|
// Just verify the page loads without error
|
|
await expect(page.locator('body')).toBeVisible()
|
|
})
|
|
|
|
test('should display player profile page', async ({ page }) => {
|
|
// Navigate to a player profile (using player ID 1 which should exist)
|
|
await page.goto('/players/1/profile')
|
|
// Profile page should be accessible even when authenticated
|
|
// Just verify the page loads without error
|
|
await expect(page.locator('body')).toBeVisible()
|
|
})
|
|
})
|
|
})
|