Skip to content

Commit f318c7f

Browse files
authored
Merge pull request #3768 from jordijs/patch-2
part5d: use the url that was defined in the application
2 parents 2c84c59 + 0556ba8 commit f318c7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/5/en/part5d.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -984,14 +984,14 @@ All the commands in the tests that use the application url, e.g.
984984
985985
```js
986986
await page.goto('http://localhost:5173')
987-
await page.post('http://localhost:5173/api/tests/reset')
987+
await page.post('http://localhost:5173/api/testing/reset')
988988
```
989989
990990
can be transformed into:
991991
992992
```js
993993
await page.goto('/')
994-
await page.post('/api/tests/reset')
994+
await page.post('/api/testing/reset')
995995
```
996996
997997
The current code for the tests is on [GitHub](https://github.com/fullstack-hy2020/notes-e2e/tree/part5-2), branch <i>part5-2</i>.

0 commit comments

Comments
 (0)