|
@ -5,7 +5,7 @@ test('test', async ({ page }) => { |
|
|
await page.goto('https://test.timesafari.app/'); |
|
|
await page.goto('https://test.timesafari.app/'); |
|
|
|
|
|
|
|
|
// Check that initial 10 activities have been loaded
|
|
|
// Check that initial 10 activities have been loaded
|
|
|
await expect(page.locator('li:nth-child(10)')).toBeVisible(); |
|
|
await page.locator('li:nth-child(10)'); |
|
|
|
|
|
|
|
|
// Scroll down a bit to trigger loading additional activities
|
|
|
// Scroll down a bit to trigger loading additional activities
|
|
|
await page.locator('li:nth-child(50)').scrollIntoViewIfNeeded(); |
|
|
await page.locator('li:nth-child(50)').scrollIntoViewIfNeeded(); |
|
|