Skip to content

Commit

Permalink
test ci
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Aug 9, 2024
1 parent 6367dc9 commit e72f95e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/app/playwright/30-search/search.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test('Successfully rebuild index', async({ page }) => {

await expect(page.getByTestId('admin-full-text-search')).toBeVisible();

await expect(page.getByTestId('connection-status-badge-connected')).toHaveText('CONNECTED');
await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED');

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (chromium, 2/2)

[chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ──────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "――" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (chromium, 2/2)

[chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ──────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (chromium, 2/2)

[chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [chromium] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ──────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "――" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "――" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (firefox, 2/2)

[firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ───────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "――" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (firefox, 2/2)

[firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ───────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (firefox, 2/2)

[firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [firefox] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ───────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "――" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (webkit, 2/2)

[webkit] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [webkit] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (webkit, 2/2)

[webkit] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [webkit] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61

Check failure on line 8 in apps/app/playwright/30-search/search.spec.ts

View workflow job for this annotation

GitHub Actions / test-prod-node20 / run-playwright (webkit, 2/2)

[webkit] › 30-search/search.spec.ts:3:5 › Successfully rebuild index

1) [webkit] › 30-search/search.spec.ts:3:5 › Successfully rebuild index ────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 7000ms waiting for expect(locator).toHaveText(expected) Locator: getByTestId('connection-status-label') Expected string: "CONNECTED" Received string: "UNCONFIGURED" Call log: - expect.toHaveText with timeout 7000ms - waiting for getByTestId('connection-status-label') - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" - locator resolved to <td class="w-75" data-testid="connection-status-label">…</td> - unexpected value "UNCONFIGURED" 6 | await expect(page.getByTestId('admin-full-text-search')).toBeVisible(); 7 | > 8 | await expect(page.getByTestId('connection-status-label')).toHaveText('CONNECTED'); | ^ 9 | 10 | 11 | // await page.getByTestId('rebuild-index-button').click(); at /__w/growi/growi/apps/app/playwright/30-search/search.spec.ts:8:61


// await page.getByTestId('rebuild-index-button').click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ class StatusTable extends React.PureComponent {
<tbody>
<tr>
<th className="w-25">{t('full_text_search_management.connection_status')}</th>
<td className="w-75">{ isInitialized ? this.renderConnectionStatusLabels() : this.renderPreInitializedLabel() }</td>
<td
data-testid="connection-status-label"
className="w-75"
>{ isInitialized ? this.renderConnectionStatusLabels() : this.renderPreInitializedLabel() }
</td>
</tr>
<tr>
<th className="w-25">{t('full_text_search_management.indices_status')}</th>
Expand Down

0 comments on commit e72f95e

Please sign in to comment.