Skip to content

Commit 2dd3988

Browse files
committed
test: update test due to test data updates
1 parent 2a34c17 commit 2dd3988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/non-parallel-cases/project-page.gitako.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ describe(`in Gitako project page`, () => {
2222

2323
const filesEle = await page.waitForSelector('.gitako-side-bar .files')
2424
// node of tsconfig.json should NOT be rendered before scroll down
25-
await expectToNotFind(selectFileTreeItem('tsconfig.json'))
25+
await expectToNotFind(selectFileTreeItem('package.json'))
2626
const box = await filesEle.boundingBox()
2727
if (box) {
2828
await page.mouse.move(box.x + 40, box.y + 40)
29-
await scroll({ totalDistance: 100, duration: 1000 })
29+
await scroll({ totalDistance: 200, duration: 1000 })
3030

3131
// node of tsconfig.json should be rendered now
3232
await expectToFind(selectFileTreeItem('tsconfig.json'))

0 commit comments

Comments
 (0)