Skip to content

Commit c38e7ee

Browse files
committed
Another attempt to fix failing e2e
1 parent 3b7bd0a commit c38e7ee

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,10 @@ jobs:
3636
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3737
run: |
3838
npm run release
39+
40+
- uses: actions/upload-artifact@v4
41+
if: ${{ !cancelled() }}
42+
with:
43+
name: playwright-report-react-virtuoso
44+
path: packages/react-virtuoso/playwright-report/
45+
retention-days: 7

packages/react-virtuoso/e2e/collapsible-long-item.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ test.describe('list with collapsible long items', () => {
1111
})
1212

1313
test('compensates correctly when collapsing an item', async ({ page }) => {
14+
await page.waitForSelector('[data-testid=virtuoso-scroller]')
1415
await page.evaluate(() => {
1516
const scroller = document.querySelector('[data-testid=virtuoso-scroller]')!
1617
scroller.scrollBy({ top: -400 })

0 commit comments

Comments
 (0)