diff --git a/.DS_Store b/.DS_Store index 796d379..894ca10 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.vscode/settings.json b/.vscode/settings.json index aaf46e3..fca32f4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,6 @@ { "playwright.env": { - "BASE_URL": "http://144.24.105.148:8081", + "BASE_URL": "http://ec2-54-173-169-41.compute-1.amazonaws.com/todo-api-v3", "TESTUSERNAME": "string1", "TESTPASSWORD": "string1" }, diff --git a/tests/todo/create.spec.ts b/tests/todo/create.spec.ts index 4652be1..abfb103 100644 --- a/tests/todo/create.spec.ts +++ b/tests/todo/create.spec.ts @@ -8,3 +8,4 @@ test('creation of todo should work', async ({ authenticatedRequest }) => { }) expect(resp.status()).toBe(201) }); +//First - This change is not going to create conflict diff --git a/tests/todo/create1.spec.ts b/tests/todo/create1.spec.ts new file mode 100644 index 0000000..11789f0 --- /dev/null +++ b/tests/todo/create1.spec.ts @@ -0,0 +1,11 @@ +import { expect } from '@playwright/test'; +import { login } from '../../testdata/user'; +import { test } from '../../fixture/user.fixture' +import { TODO_RESOURCE } from '../../config'; +test('creation of todo should work', async ({ authenticatedRequest }) => { + const resp = await authenticatedRequest.post(TODO_RESOURCE,{ + title:'Bring Milk' + }) + expect(resp.status()).toBe(201) +}); +//New file created \ No newline at end of file