Skip to content

Commit

Permalink
refactore
Browse files Browse the repository at this point in the history
  • Loading branch information
patriciaqa committed Feb 8, 2024
1 parent 05aae37 commit 37962ba
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/post-pet.spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
const { test, expect } = require('@playwright/test');

// [{id: 15, username: 'maria852', firstName: 'maria', lastName: 'silva', email: 'test@mail.com', password: 'test123', phone: '11985632850', userStatus: 1}]

const data = JSON.parse(JSON.stringify(require("../testdata.json")))

test.describe('New Todo', () => {


test('should allow create user by API request', async ({ request }) => {
const newUser = await request.post(`/v2/user/createWithArray`, {data})

Expand Down

0 comments on commit 37962ba

Please sign in to comment.