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.
1 parent a9593f6 commit 814c965Copy full SHA for 814c965
test/acceptance/config_test.js
@@ -32,7 +32,7 @@ Scenario('change config 5 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
32
33
Scenario('make API call and check response @Playwright', ({ I }) => {
34
I.amOnPage('/')
35
- I.makeApiRequest('get', 'https://reqres.in/api/users?page=2')
+ I.makeApiRequest('get', 'https://reqres.in/api/users?page=2', { headers: {'x-api-key': 'reqres-free-v1'}})
36
I.seeResponseCodeIsSuccessful()
37
})
38
0 commit comments