12 lines
381 B
12 lines
381 B
import { test, expect } from '@playwright/test';
|
|
|
|
test('Check activity feed', async ({ page }) => {
|
|
// Load app homepage
|
|
await page.goto('./');
|
|
|
|
// Check that initial 10 activities have been loaded
|
|
await page.locator('li:nth-child(10)');
|
|
|
|
// Scroll down a bit to trigger loading additional activities
|
|
await page.locator('li:nth-child(50)').scrollIntoViewIfNeeded();
|
|
});
|