We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ff8677 + 6b8c11e commit 70c76dbCopy full SHA for 70c76db
src/content/5/en/part5d.md
@@ -980,14 +980,14 @@ All the commands in the tests that use the application url, e.g.
980
981
```js
982
await page.goto('http://localhost:5173')
983
-await page.post('http://localhost:5173/api/testing/reset')
+await request.post('http://localhost:5173/api/testing/reset')
984
```
985
986
can now be transformed into:
987
988
989
await page.goto('/')
990
-await page.post('/api/testing/reset')
+await request.post('/api/testing/reset')
991
992
993
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