You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
381 B
12 lines
381 B
4 months ago
|
import { test, expect } from '@playwright/test';
|
||
|
|
||
4 months ago
|
test('Check activity feed', async ({ page }) => {
|
||
4 months ago
|
// Load app homepage
|
||
4 months ago
|
await page.goto('./');
|
||
4 months ago
|
|
||
|
// Check that initial 10 activities have been loaded
|
||
4 months ago
|
await page.locator('li:nth-child(10)');
|
||
4 months ago
|
|
||
|
// Scroll down a bit to trigger loading additional activities
|
||
|
await page.locator('li:nth-child(50)').scrollIntoViewIfNeeded();
|
||
|
});
|