fix: share link and test #2055
Annotations
2 errors and 1 notice
frontend/tests/features/wheresMyGene/shareLink.test.ts#L313
1) [chromium] › tests/features/wheresMyGene/shareLink.test.ts:113:7 › Share link tests › Should generate share link with correct format for all query param types
Error: expect(locator).toBeVisible()
Locator: getByText('Ren et al. (2021) Cell')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByText('Ren et al. (2021) Cell')
311 |
312 | if (item) {
> 313 | await expect(page.getByText(item.text)).toBeVisible();
| ^
314 | }
315 | });
316 |
at forEach (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:313:51)
at verifyParameter (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:307:19)
at verifyShareLink (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:236:24)
at page.page (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:125:9)
at tryUntil (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/utils/helpers.ts:163:7)
at /home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:123:5
|
frontend/tests/features/wheresMyGene/shareLink.test.ts#L313
1) [chromium] › tests/features/wheresMyGene/shareLink.test.ts:113:7 › Share link tests › Should generate share link with correct format for all query param types
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: getByText('Ren et al. (2021) Cell')
Expected: visible
Received: hidden
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for getByText('Ren et al. (2021) Cell')
311 |
312 | if (item) {
> 313 | await expect(page.getByText(item.text)).toBeVisible();
| ^
314 | }
315 | });
316 |
at forEach (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:313:51)
at verifyParameter (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:307:19)
at verifyShareLink (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:236:24)
at page.page (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:125:9)
at tryUntil (/home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/utils/helpers.ts:163:7)
at /home/runner/work/single-cell-data-portal/single-cell-data-portal/frontend/tests/features/wheresMyGene/shareLink.test.ts:123:5
|
|
The logs for this run have expired and are no longer available.
Loading