test: fix data-testid attribute names and update E2E test URLs to port 8917

This commit is contained in:
2026-04-19 10:08:52 +03:00
parent 28c55f86ce
commit 2465141a18
47 changed files with 235 additions and 2206 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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