test: fix data-testid attribute names and update E2E test URLs to port 8917
This commit is contained in:
@@ -4,7 +4,7 @@ import * as assertions from '../utils/assertions';
|
||||
import { LDAP_USERS, LOCAL_USERS } from '../fixtures/test-data';
|
||||
|
||||
test.describe('Login Workflow', () => {
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:3000';
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:8917';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
// Navigate to login page
|
||||
|
||||
@@ -5,7 +5,7 @@ import * as helpers from '../utils/helpers';
|
||||
import { LOCAL_USERS, TEST_ITEMS } from '../fixtures/test-data';
|
||||
|
||||
test.describe('Scan and Adjust Workflow', () => {
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:3000';
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:8917';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
// Navigate to app and login
|
||||
|
||||
@@ -5,7 +5,7 @@ import * as helpers from '../utils/helpers';
|
||||
import { LOCAL_USERS } from '../fixtures/test-data';
|
||||
|
||||
test.describe('AI Extraction Workflow', () => {
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:3000';
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:8917';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
// Navigate to app and login
|
||||
|
||||
@@ -5,7 +5,7 @@ import * as helpers from '../utils/helpers';
|
||||
import { LOCAL_USERS, TEST_CATEGORIES } from '../fixtures/test-data';
|
||||
|
||||
test.describe('Admin Settings Workflow', () => {
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:3000';
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:8917';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
// Navigate to app and login as admin
|
||||
|
||||
@@ -5,7 +5,7 @@ import * as helpers from '../utils/helpers';
|
||||
import { LOCAL_USERS, TEST_ITEMS, OFFLINE_SYNC_SCENARIOS } from '../fixtures/test-data';
|
||||
|
||||
test.describe('Offline Sync Workflow', () => {
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:3000';
|
||||
const BASE_URL = process.env.BASE_URL || 'http://localhost:8917';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
// Navigate to app and login
|
||||
|
||||
Reference in New Issue
Block a user