AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
Written to prove TC-SITE-065 The default language selector appears only when multilingual site communication is enabled
workorderLanguage::TC-01: Site default language is gated by Multilingual Site Communications
E2E test in suite
workorderLanguage ·
first seen 2026-08-27 05:57:19 UTC · last seen 2026-11-17 01:35:54 UTC
· ← all runs
Linear issues
| Issue | State | What it means now | Linked | |
|---|---|---|---|---|
| ENG-8689 [Test failure] Event removal button menu times out intermittently (flaky 12/30 runs) | Ready for Development · [email protected] | passing again, ENG-8689 is still Ready for Development | 2026-11-16 05:48:11 UTC by triage-agent (agent) · for e2e-tests-master joined: this open issue already names the test |
Each distinct failure it has had (7)
f86dd03c6067
in 0 runs · first
e2e-tests-master jenkins-880
(2026-11-16 01:37:29 UTC) · last
e2e-tests-master jenkins-880
(2026-11-16 01:37:29 UTC)
why Get site staff list API call failed with error: {"message":"parameter \"siteId\" is not a valid key continuing. valid keys are: [tildaid createdat holdbitmap lastActivity lastname sort email delpending name search role subject ufid lastGitBookVisit firstname searchkey state updatedat status]"}
traceback
[workorder] › tests/workorder/workorderLanguage.spec.js:38:3 › AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
Error: Get site staff list API call failed with error: {"message":"parameter \"siteId\" is not a valid key continuing. valid keys are: [tildaid createdat holdbitmap lastActivity lastname sort email delpending name search role subject ufid lastGitBookVisit firstname searchkey state updatedat status]"}
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:376
374 | isSuccess,
375 | `${operationName} API call failed with error: ${responseBody}`
> 376 | ).toBeTruthy();
| ^
377 | }
378 | return response;
379 | }
at FunctionHelper.handleApiResponse (/home/jenkins/agent/workspace/ui-tests-master/e2e/helpers/functionHelper.js:376:9)
at SiteApiUtil.getSiteStaffList (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/siteApiUtility.js:243:5)
at SiteApiUtil.buildSiteContacts (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/siteApiUtility.js:259:23)
at SiteApiUtil.updateSiteContactStrategy (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/siteApiUtility.js:291:22)
at setSiteContactStrategy (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/aiTeammates.js:681:5)
at ensureSetup (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/aiTeammates.js:1184:5)
at Object.base.extend.aiTeammatesSetup.auto (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/aiTeammates.js:1277:25)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Get site staff list API call failed with error: {"message":"parameter \"siteId\" is not a valid key continuing. valid keys are: [updatedat lastActivity sort state delpending subject firstname tildaid name ufid lastname holdbitmap status lastGitBookVisit search searchkey role email createdat]"}
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:376
374 | isSuccess,
375 | `${operationName} API call failed with error: ${responseBody}`
> 376 | ).toBeTruthy();
| ^
377 | }
378 | return response;
379 | }
at FunctionHelper.handleApiResponse (/home/jenkins/agent/workspace/ui-tests-master/e2e/helpers/functionHelper.js:376:9)
at SiteApiUtil.getSiteStaffList (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/siteApiUtility.js:243:5)
at SiteApiUtil.buildSiteContacts (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/siteApiUtility.js:259:23)
at SiteApiUtil.updateSiteContactStrategy (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/apiUtility/siteApiUtility.js:291:22)
at setSiteContactStrategy (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/aiTeammates.js:681:5)
at ensureSetup (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/aiTeammates.js:1184:5)
at Object.base.extend.aiTeammatesSetup.auto (/home/jenkins/agent/workspace/ui-tests-master/e2e/utils/fixtures/aiTeammates.js:1277:25)
attachment #1: trace (application/zip) ─────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder-retry1/trace.zip
Usage:
yarn playwright show-trace reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
026e274195af
in 0 runs · first
e2e-tests-master jenkins-870
(2026-11-10 15:35:16 UTC) · last
e2e-tests-master jenkins-870
(2026-11-10 15:35:16 UTC)
why expect(locator).toBeVisible() failed
traceback
[workorder] › tests/workorder/workorderLanguage.spec.js:38:3 › AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
Error: expect(locator).toBeVisible() failed
Locator: locator('[role=\'status\']').locator('div:has-text("Email policy updated successfully")').first()
Expected: visible
Timeout: 50000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" locator('[role=\'status\']').locator('div:has-text("Email policy updated successfully")').first() with timeout 50000ms
- waiting for locator('[role=\'status\']').locator('div:has-text("Email policy updated successfully")').first()
51 | languageData.emailPolicySavedToast
52 | )
> 53 | ).toBeVisible();
| ^
54 |
55 | await sitesPage.openSiteContactStrategy(languageData.germanSiteName);
56 | await expect(sitesPage.contactStrategyDefaultLanguageSelect).toBeHidden();
at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/workorder/workorderLanguage.spec.js:53:9
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible() failed
Locator: locator('[role=\'status\']').locator('div:has-text("Email policy updated successfully")').first()
Expected: visible
Timeout: 50000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" locator('[role=\'status\']').locator('div:has-text("Email policy updated successfully")').first() with timeout 50000ms
- waiting for locator('[role=\'status\']').locator('div:has-text("Email policy updated successfully")').first()
51 | languageData.emailPolicySavedToast
52 | )
> 53 | ).toBeVisible();
| ^
54 |
55 | await sitesPage.openSiteContactStrategy(languageData.germanSiteName);
56 | await expect(sitesPage.contactStrategyDefaultLanguageSelect).toBeHidden();
at /home/jenkins/agent/workspace/ui-tests-master/e2e/tests/workorder/workorderLanguage.spec.js:53:9
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder-retry1/error-context.md
attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder-retry1/trace.zip
Usage:
yarn playwright show-trace reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-workorder-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
12bb2559efb8
in 0 runs · first
e2e-tests-master jenkins-849
(2026-10-26 01:31:57 UTC) · last
e2e-tests-production jenkins-833
(2026-11-04 06:06:16 UTC)
why locator.waitFor: Timeout 50000ms exceeded.
traceback
[aiTeammates] › tests/aiTeammates/workorderLanguage.spec.js:38:3 › AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for getByTestId('organization-ai-teammates-tab') to be visible
at pages/userProfile/organization.page.js:213
211 | await this.orgSwitcher.click();
212 | await this.organizationSettings.click();
> 213 | await this.aiTeammatesTab.waitFor({ state: 'visible' });
| ^
214 | logger.info('Opened Organization Settings');
215 | }
216 |
at OrganizationPage.openOrganizationSettings (/tests/pages/userProfile/organization.page.js:213:31)
at OrganizationPage.openEmailPolicyPage (/tests/pages/userProfile/organization.page.js:218:5)
at /tests/tests/aiTeammates/workorderLanguage.spec.js:45:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates/test-failed-2.png
────────────────────────────────────────────────────────────────────────────────────────────────
attachment #2: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 50000ms exceeded.
Call log:
- waiting for getByTestId('organization-ai-teammates-tab') to be visible
at pages/userProfile/organization.page.js:213
211 | await this.orgSwitcher.click();
212 | await this.organizationSettings.click();
> 213 | await this.aiTeammatesTab.waitFor({ state: 'visible' });
| ^
214 | logger.info('Opened Organization Settings');
215 | }
216 |
at OrganizationPage.openOrganizationSettings (/tests/pages/userProfile/organization.page.js:213:31)
at OrganizationPage.openEmailPolicyPage (/tests/pages/userProfile/organization.page.js:218:5)
at /tests/tests/aiTeammates/workorderLanguage.spec.js:45:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates-retry1/error-context.md
attachment #4: trace (application/zip) ─────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates-retry1/trace.zip
Usage:
npx playwright show-trace reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates-retry1/trace.zip
────────────────────────────────────────────────────────────────────────────────────────────────
9e7662da858c
in 0 runs · first
e2e-tests-production jenkins-821
(2026-10-29 05:34:09 UTC) · last
e2e-tests-production jenkins-827
(2026-11-01 20:30:49 UTC)
why Update study site contact strategy API call failed with error: you do not have access to this resource
traceback
[aiTeammates] › tests/aiTeammates/workorderLanguage.spec.js:38:3 › AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
Error: Update study site contact strategy API call failed with error: you do not have access to this resource
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:376
374 | isSuccess,
375 | `${operationName} API call failed with error: ${responseBody}`
> 376 | ).toBeTruthy();
| ^
377 | }
378 | return response;
379 | }
at FunctionHelper.handleApiResponse (/tests/helpers/functionHelper.js:376:9)
at StudyAPIUtil.updateStudySiteContactStrategy (/tests/utils/apiUtility/studyApiUtility.js:544:5)
at setStudySiteContactStrategy (/tests/utils/fixtures/aiTeammates.js:866:7)
at ensureSetup (/tests/utils/fixtures/aiTeammates.js:1254:5)
at Object.base.extend.aiTeammatesSetup.auto (/tests/utils/fixtures/aiTeammates.js:1319:25)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Update study site contact strategy API call failed with error: you do not have access to this resource
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:376
374 | isSuccess,
375 | `${operationName} API call failed with error: ${responseBody}`
> 376 | ).toBeTruthy();
| ^
377 | }
378 | return response;
379 | }
at FunctionHelper.handleApiResponse (/tests/helpers/functionHelper.js:376:9)
at StudyAPIUtil.updateStudySiteContactStrategy (/tests/utils/apiUtility/studyApiUtility.js:544:5)
at setStudySiteContactStrategy (/tests/utils/fixtures/aiTeammates.js:866:7)
at ensureSetup (/tests/utils/fixtures/aiTeammates.js:1254:5)
at Object.base.extend.aiTeammatesSetup.auto (/tests/utils/fixtures/aiTeammates.js:1319:25)
5677d4148d21
in 0 runs · first
e2e-tests-master jenkins-756
(2026-09-15 01:31:39 UTC) · last
e2e-tests-production jenkins-823
(2026-10-29 20:32:11 UTC)
why page.waitForLoadState: Timeout 50000ms exceeded.
traceback
[aiTeammates] › tests/aiTeammates/workorderLanguage.spec.js:38:3 › AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
TimeoutError: page.waitForLoadState: Timeout 50000ms exceeded.
at pages/aiTeammates/aiTeammates.page.js:59
57 | await this.selectOrg(targetOrg);
58 | }
> 59 | await this.page.waitForLoadState('networkidle');
| ^
60 | logger.info(`Navigated to AI Teammates for org: ${targetOrg}`);
61 | }
62 |
at AITeammatesPage.navigateToAITeammates (/tests/pages/aiTeammates/aiTeammates.page.js:59:21)
at /tests/tests/aiTeammates/workorderLanguage.spec.js:30:7
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates/error-context.md
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.click: Timeout 50000ms exceeded.
Call log:
- waiting for locator('a[href*="/ai/work-orders"]').filter({ hasText: 'AI Teammates' })
at pages/aiTeammates/aiTeammates.page.js:65
63 | async selectAITeammatesApp() {
64 | if (await this.aiTeammatesNavLink.isVisible()) {
> 65 | await this.aiTeammatesNavLink.click();
| ^
66 | logger.info('Selected AI Teammates app from navigation');
67 | } else {
68 | logger.info('AI Teammates nav link not visible, navigating directly');
at AITeammatesPage.selectAITeammatesApp (/tests/pages/aiTeammates/aiTeammates.page.js:65:37)
at /tests/tests/aiTeammates/workorderLanguage.spec.js:35:5
attachment #1: screenshot (image/png) ──────────────────────────────────────────────────────────
reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates-retry1/test-failed-1.png
────────────────────────────────────────────────────────────────────────────────────────────────
Error Context: reports/workorderLanguage-AI-Teamm-6ad82-lingual-Site-Communications-aiTeammates-retry1/error-context.md
65168b85e1d5
in 0 runs · first
e2e-tests-master jenkins-799
(2026-10-06 15:07:07 UTC) · last
e2e-tests-master jenkins-799
(2026-10-06 15:07:07 UTC)
why Create org failed: upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: 111
traceback
[aiTeammates] › tests/aiTeammates/workorderLanguage.spec.js:38:3 › AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
Error: Create org failed: upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: 111
at utils/apiUtility/orgApiUtility.js:109
107 | const responseText = await createOrgResponse.text();
108 | // Throw error with the API message so caller can handle specific cases
> 109 | const error = new Error(`Create org failed: ${responseText}`);
| ^
110 | error.apiMessage = responseText;
111 | throw error;
112 | }
at OrganizationAPIUtil.createOrgWithAITeammate (/tests/utils/apiUtility/orgApiUtility.js:109:21)
at getOrCreateCROOrg (/tests/utils/fixtures/aiTeammates.js:279:21)
at ensureSetup (/tests/utils/fixtures/aiTeammates.js:1210:24)
at Object.base.extend.aiTeammatesSetup.auto (/tests/utils/fixtures/aiTeammates.js:1319:25)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Create org failed: upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: delayed connect error: 111
at utils/apiUtility/orgApiUtility.js:109
107 | const responseText = await createOrgResponse.text();
108 | // Throw error with the API message so caller can handle specific cases
> 109 | const error = new Error(`Create org failed: ${responseText}`);
| ^
110 | error.apiMessage = responseText;
111 | throw error;
112 | }
at OrganizationAPIUtil.createOrgWithAITeammate (/tests/utils/apiUtility/orgApiUtility.js:109:21)
at getOrCreateCROOrg (/tests/utils/fixtures/aiTeammates.js:279:21)
at ensureSetup (/tests/utils/fixtures/aiTeammates.js:1210:24)
at Object.base.extend.aiTeammatesSetup.auto (/tests/utils/fixtures/aiTeammates.js:1319:25)
cfd11f9d4180
in 0 runs · first
e2e-tests-master jenkins-794
(2026-10-06 01:32:07 UTC) · last
e2e-tests-master jenkins-794
(2026-10-06 01:32:07 UTC)
why Get all users API call failed with error: 404 page not found
traceback
[aiTeammates] › tests/aiTeammates/workorderLanguage.spec.js:38:3 › AI Teammates - Work Order Language › TC-01: Site default language is gated by Multilingual Site Communications
Error: Get all users API call failed with error: 404 page not found
expect(received).toBeTruthy()
Received: false
at helpers/functionHelper.js:380
378 | isSuccess,
379 | `${operationName} API call failed with error: ${responseBody}`
> 380 | ).toBeTruthy();
| ^
381 | }
382 | return response;
383 | }
at FunctionHelper.handleApiResponse (/tests/helpers/functionHelper.js:380:9)
at UserAPIUtility.getUserIdFromEmail (/tests/utils/apiUtility/userApiUtility.js:24:5)
at /tests/utils/fixtures/aiTeammates.js:1017:15
at addStudyMembers (/tests/utils/fixtures/aiTeammates.js:1014:27)
at ensureSetup (/tests/utils/fixtures/aiTeammates.js:1284:5)
at Object.base.extend.aiTeammatesSetup.auto (/tests/utils/fixtures/aiTeammates.js:1317:25)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Create org failed: {"message":"Unauthorized: token contains an invalid number of segments"}
at utils/apiUtility/orgApiUtility.js:109
107 | const responseText = await createOrgResponse.text();
108 | // Throw error with the API message so caller can handle specific cases
> 109 | const error = new Error(`Create org failed: ${responseText}`);
| ^
110 | error.apiMessage = responseText;
111 | throw error;
112 | }
at OrganizationAPIUtil.createOrgWithAITeammate (/tests/utils/apiUtility/orgApiUtility.js:109:21)
at getOrCreateCROOrg (/tests/utils/fixtures/aiTeammates.js:278:21)
at ensureSetup (/tests/utils/fixtures/aiTeammates.js:1208:24)
at Object.base.extend.aiTeammatesSetup.auto (/tests/utils/fixtures/aiTeammates.js:1317:25)