test(e2e): update all E2E specs for latest API and fixtures
Update 17 E2E test files including admin, auth, inquiries, listings, payments, search, subscriptions, and MCP specs. Update listings fixture and global setup to align with latest schema changes. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -2,7 +2,7 @@ import { test, expect } from '../fixtures';
|
||||
|
||||
test.describe('POST /auth/refresh', () => {
|
||||
test('refreshes tokens with valid refresh token', async ({ request, testTokens }) => {
|
||||
const res = await request.post('/auth/refresh', {
|
||||
const res = await request.post('auth/refresh', {
|
||||
data: { refreshToken: testTokens.refreshToken },
|
||||
});
|
||||
|
||||
@@ -13,7 +13,7 @@ test.describe('POST /auth/refresh', () => {
|
||||
});
|
||||
|
||||
test('rejects invalid refresh token', async ({ request }) => {
|
||||
const res = await request.post('/auth/refresh', {
|
||||
const res = await request.post('auth/refresh', {
|
||||
data: { refreshToken: 'invalid-refresh-token' },
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user