Skip to content

Commit 38a0b2c

Browse files
Merge branch 'feature/Fix-Test' into develop
2 parents cac17ec + df5fc67 commit 38a0b2c

7 files changed

Lines changed: 838 additions & 353 deletions

diagnostic-screenshot.png

-15 KB
Loading

playwright.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,16 @@ export default defineConfig({
107107
},
108108

109109
// API Integration Tests (headless, faster)
110+
// Note: auth-api, cache-api, departments-api, and employees-api tests require browser context, so they're excluded here
110111
{
111112
name: 'api',
112113
testMatch: /tests\/api\/.*\.spec\.ts/,
114+
testIgnore: [
115+
/tests\/api\/auth-api\.spec\.ts/, // Excluded: requires browser login
116+
/tests\/api\/cache-api\.spec\.ts/, // Excluded: requires browser login for token
117+
/tests\/api\/departments-api\.spec\.ts/, // Excluded: requires browser login for token
118+
/tests\/api\/employees-api\.spec\.ts/, // Excluded: requires browser login for token
119+
],
113120
use: {
114121
baseURL: 'https://localhost:44378/api/v1',
115122
extraHTTPHeaders: {

tests/TalentManagement.spec.ts

Lines changed: 0 additions & 150 deletions
This file was deleted.

0 commit comments

Comments
 (0)