Skip to content

Commit 69bf552

Browse files
authored
part5: use the url that was defined in the application
1 parent 82f3424 commit 69bf552

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
@@ -952,14 +952,14 @@ All the commands in the tests that use the application url, e.g.
952952
953953
```js
954954
await page.goto('http://localhost:5173')
955-
await page.post('http://localhost:5173/api/tests/reset')
955+
await page.post('http://localhost:3001/api/testing/reset')
956956
```
957957
958958
can be transformed into:
959959
960960
```js
961961
await page.goto('/')
962-
await page.post('/api/tests/reset')
962+
await page.post('/api/testing/reset')
963963
```
964964
965965
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)