Skip to content

Commit f8dfc80

Browse files
committed
uncomment test
1 parent 6a8758c commit f8dfc80

File tree

1 file changed

+34
-34
lines changed

1 file changed

+34
-34
lines changed

e2e/solid-start/basic/tests/transition.spec.ts

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -42,46 +42,46 @@ test('transitions/count/create-resource should keep old values visible during na
4242

4343
// 2 clicks
4444

45-
// page.getByTestId('increase-button').click()
46-
// page.getByTestId('increase-button').click()
45+
page.getByTestId('increase-button').click()
46+
page.getByTestId('increase-button').click()
4747

48-
// await expect(page.getByTestId('n-value')).toContainText('n: 2', {
49-
// timeout: 2000,
50-
// })
51-
// await expect(page.getByTestId('double-value')).toContainText('double: 4', {
52-
// timeout: 2000,
53-
// })
48+
await expect(page.getByTestId('n-value')).toContainText('n: 2', {
49+
timeout: 2000,
50+
})
51+
await expect(page.getByTestId('double-value')).toContainText('double: 4', {
52+
timeout: 2000,
53+
})
5454

55-
// await page.waitForTimeout(200)
55+
await page.waitForTimeout(200)
5656

57-
// await expect(page.getByTestId('n-value')).toContainText('n: 4', {
58-
// timeout: 2000,
59-
// })
60-
// await expect(page.getByTestId('double-value')).toContainText('double: 8', {
61-
// timeout: 2000,
62-
// })
57+
await expect(page.getByTestId('n-value')).toContainText('n: 4', {
58+
timeout: 2000,
59+
})
60+
await expect(page.getByTestId('double-value')).toContainText('double: 8', {
61+
timeout: 2000,
62+
})
6363

6464
// 3 clicks
6565

66-
// page.getByTestId('increase-button').click()
67-
// page.getByTestId('increase-button').click()
68-
// page.getByTestId('increase-button').click()
69-
70-
// await expect(page.getByTestId('n-value')).toContainText('n: 4', {
71-
// timeout: 2000,
72-
// })
73-
// await expect(page.getByTestId('double-value')).toContainText('double: 8', {
74-
// timeout: 2000,
75-
// })
76-
77-
// await page.waitForTimeout(200)
78-
79-
// await expect(page.getByTestId('n-value')).toContainText('n: 7', {
80-
// timeout: 2000,
81-
// })
82-
// await expect(page.getByTestId('double-value')).toContainText('double: 14', {
83-
// timeout: 2000,
84-
// })
66+
page.getByTestId('increase-button').click()
67+
page.getByTestId('increase-button').click()
68+
page.getByTestId('increase-button').click()
69+
70+
await expect(page.getByTestId('n-value')).toContainText('n: 4', {
71+
timeout: 2000,
72+
})
73+
await expect(page.getByTestId('double-value')).toContainText('double: 8', {
74+
timeout: 2000,
75+
})
76+
77+
await page.waitForTimeout(200)
78+
79+
await expect(page.getByTestId('n-value')).toContainText('n: 7', {
80+
timeout: 2000,
81+
})
82+
await expect(page.getByTestId('double-value')).toContainText('double: 14', {
83+
timeout: 2000,
84+
})
8585

8686
clearInterval(pollInterval)
8787

0 commit comments

Comments
 (0)