Skip to content

Commit

Permalink
Update Playwright_test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Jun 25, 2023
1 parent 69ba14a commit 6a95d7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/helper/Playwright_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -813,9 +813,9 @@ describe('Playwright', function () {

describe('#makeApiRequest', () => {
it('should make 3rd party API request', async () => {
const response = await I.makeApiRequest('get', 'https://jsonplaceholder.typicode.com/comments/1');
const response = await I.makeApiRequest('get', 'https://jsonplaceholder.typicode.com/todos/1');
expect(response.status()).to.equal(200);
expect(await response.json()).to.include.keys(['id', 'name']);
expect(await response.json()).to.include.keys(['id', 'title']);
});

it('should make local API request', async () => {
Expand Down

0 comments on commit 6a95d7c

Please sign in to comment.