diff --git a/basic/0-failing.spec.ts b/basic/0-failing.spec.ts index 118d38c..5427906 100644 --- a/basic/0-failing.spec.ts +++ b/basic/0-failing.spec.ts @@ -1,14 +1,18 @@ import { expect } from "@playwright/test"; import { test } from "./base.ts"; -test("basic test @basic", async ({ page }) => { - await page.goto("https://demo.playwright.dev/todomvc"); +test("basic test @basic", { + annotation: { + type: 'notify:slack', description: `user:U07RSHQKGUX`, + }, +}, async ({ page }) => { + await page.goto("https://todomvc.com/examples/backbone/dist/"); // Use locators to represent a selector and re-use them const inputBox = page.locator("input.new-todo"); const todoList = page.locator(".todo-list"); - await inputBox.fill("Learn JavaScript"); + await inputBox.fill("Stop using Cypress"); await inputBox.press("Enter"); await expect(todoList).toHaveText("Learn Playwright"); }); diff --git a/basic/1-getting-started.spec.ts b/basic/1-getting-started.spec.ts index c0c60b6..1c33c0b 100644 --- a/basic/1-getting-started.spec.ts +++ b/basic/1-getting-started.spec.ts @@ -1,6 +1,8 @@ import { expect } from "@playwright/test"; import { test } from "./base.ts"; + + test("basic test @basic", async ({ page }) => { await page.goto("https://demo.playwright.dev/todomvc"); diff --git a/basic/2-actions.spec.ts b/basic/2-actions.spec.ts index ab7cf11..ff84ce2 100644 --- a/basic/2-actions.spec.ts +++ b/basic/2-actions.spec.ts @@ -1,6 +1,7 @@ import { expect } from "@playwright/test"; import { test } from "./base.ts"; +console.log("asd"); test.beforeEach(async ({ page }) => { await page.goto("https://todomvc.com/examples/backbone/dist/"); });