Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions e2e/neo4j-read/label.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { test, expect } from '../fixtures/neo4j-movies';
import {
checkActiveTab,
Expand Down Expand Up @@ -96,7 +96,11 @@
});

test('Table sort', async ({ page }) => {
// Wait for table to be fully populated before interacting
await expect(containerLocator(page, 'table tbody tr')).toHaveCount(20);
await page.waitForLoadState('networkidle');

await containerLocator(page).getByRole('cell', { name: 'born' }).click();

Check failure on line 103 in e2e/neo4j-read/label.spec.ts

View workflow job for this annotation

GitHub Actions / neo4j-read (2, 8)

[chromium] › e2e/neo4j-read/label.spec.ts:98:5 › Label tab › Table sort @neo4j-read

1) [chromium] › e2e/neo4j-read/label.spec.ts:98:5 › Label tab › Table sort @neo4j-read ─────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for locator('.container > div').filter({ visible: true }).getByRole('cell', { name: 'born' }) 101 | await page.waitForLoadState('networkidle'); 102 | > 103 | await containerLocator(page).getByRole('cell', { name: 'born' }).click(); | ^ 104 | await expect( 105 | containerLocator(page, 'table tbody').getByRole('row').first().getByRole('cell').nth(4) 106 | ).toHaveText('1929'); at /__w/cyphergui/cyphergui/e2e/neo4j-read/label.spec.ts:103:74

Check failure on line 103 in e2e/neo4j-read/label.spec.ts

View workflow job for this annotation

GitHub Actions / neo4j-read (2, 8)

[chromium] › e2e/neo4j-read/label.spec.ts:98:5 › Label tab › Table sort @neo4j-read

1) [chromium] › e2e/neo4j-read/label.spec.ts:98:5 › Label tab › Table sort @neo4j-read ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for locator('.container > div').filter({ visible: true }).getByRole('cell', { name: 'born' }) 101 | await page.waitForLoadState('networkidle'); 102 | > 103 | await containerLocator(page).getByRole('cell', { name: 'born' }).click(); | ^ 104 | await expect( 105 | containerLocator(page, 'table tbody').getByRole('row').first().getByRole('cell').nth(4) 106 | ).toHaveText('1929'); at /__w/cyphergui/cyphergui/e2e/neo4j-read/label.spec.ts:103:74

Check failure on line 103 in e2e/neo4j-read/label.spec.ts

View workflow job for this annotation

GitHub Actions / neo4j-read (2, 8)

[chromium] › e2e/neo4j-read/label.spec.ts:98:5 › Label tab › Table sort @neo4j-read

1) [chromium] › e2e/neo4j-read/label.spec.ts:98:5 › Label tab › Table sort @neo4j-read ─────────── Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for locator('.container > div').filter({ visible: true }).getByRole('cell', { name: 'born' }) 101 | await page.waitForLoadState('networkidle'); 102 | > 103 | await containerLocator(page).getByRole('cell', { name: 'born' }).click(); | ^ 104 | await expect( 105 | containerLocator(page, 'table tbody').getByRole('row').first().getByRole('cell').nth(4) 106 | ).toHaveText('1929'); at /__w/cyphergui/cyphergui/e2e/neo4j-read/label.spec.ts:103:74
await expect(
containerLocator(page, 'table tbody').getByRole('row').first().getByRole('cell').nth(4)
).toHaveText('1929');
Expand Down
4 changes: 4 additions & 0 deletions e2e/neo4j-read/type.spec.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { test, expect } from '../fixtures/neo4j-movies';
import { checkActiveTab, checkNotification, containerLocator, modalLocator, switchToTab } from '../helpers';
import Stash from '../pom/Stash';
Expand Down Expand Up @@ -98,7 +98,11 @@
});

test('Table sort', async ({ page }) => {
// Wait for table to be fully populated before interacting
await expect(containerLocator(page, 'table tbody tr')).toHaveCount(20);
await page.waitForLoadState('networkidle');

await containerLocator(page).getByRole('cell', { name: 'roles' }).click();

Check failure on line 105 in e2e/neo4j-read/type.spec.ts

View workflow job for this annotation

GitHub Actions / neo4j-read (8, 8)

[chromium] › e2e/neo4j-read/type.spec.ts:100:5 › Type tab › Table sort @neo4j-read

1) [chromium] › e2e/neo4j-read/type.spec.ts:100:5 › Type tab › Table sort @neo4j-read ──────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for locator('.container > div').filter({ visible: true }).getByRole('cell', { name: 'roles' }) 103 | await page.waitForLoadState('networkidle'); 104 | > 105 | await containerLocator(page).getByRole('cell', { name: 'roles' }).click(); | ^ 106 | await expect(containerLocator(page, 'table tbody').getByRole('cell')).toContainText([ 107 | '["All the Way" Mae Mordabito]', 108 | '["Wild Bill" Wharton]', at /__w/cyphergui/cyphergui/e2e/neo4j-read/type.spec.ts:105:75

Check failure on line 105 in e2e/neo4j-read/type.spec.ts

View workflow job for this annotation

GitHub Actions / neo4j-read (8, 8)

[chromium] › e2e/neo4j-read/type.spec.ts:100:5 › Type tab › Table sort @neo4j-read

1) [chromium] › e2e/neo4j-read/type.spec.ts:100:5 › Type tab › Table sort @neo4j-read ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for locator('.container > div').filter({ visible: true }).getByRole('cell', { name: 'roles' }) 103 | await page.waitForLoadState('networkidle'); 104 | > 105 | await containerLocator(page).getByRole('cell', { name: 'roles' }).click(); | ^ 106 | await expect(containerLocator(page, 'table tbody').getByRole('cell')).toContainText([ 107 | '["All the Way" Mae Mordabito]', 108 | '["Wild Bill" Wharton]', at /__w/cyphergui/cyphergui/e2e/neo4j-read/type.spec.ts:105:75

Check failure on line 105 in e2e/neo4j-read/type.spec.ts

View workflow job for this annotation

GitHub Actions / neo4j-read (8, 8)

[chromium] › e2e/neo4j-read/type.spec.ts:100:5 › Type tab › Table sort @neo4j-read

1) [chromium] › e2e/neo4j-read/type.spec.ts:100:5 › Type tab › Table sort @neo4j-read ──────────── Error: locator.click: Test timeout of 120000ms exceeded. Call log: - waiting for locator('.container > div').filter({ visible: true }).getByRole('cell', { name: 'roles' }) 103 | await page.waitForLoadState('networkidle'); 104 | > 105 | await containerLocator(page).getByRole('cell', { name: 'roles' }).click(); | ^ 106 | await expect(containerLocator(page, 'table tbody').getByRole('cell')).toContainText([ 107 | '["All the Way" Mae Mordabito]', 108 | '["Wild Bill" Wharton]', at /__w/cyphergui/cyphergui/e2e/neo4j-read/type.spec.ts:105:75
await expect(containerLocator(page, 'table tbody').getByRole('cell')).toContainText([
'["All the Way" Mae Mordabito]',
'["Wild Bill" Wharton]',
Expand Down
Loading
Loading