Skip to content

Commit 4b7f734

Browse files
committed
chore: test
1 parent 02c97bb commit 4b7f734

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

basic/0-failing.spec.ts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
import { expect } from "@playwright/test";
2-
import { test } from "./base.ts";
1+
import { expect, test } from "@playwright/test";
32

4-
test("basic test @basic", async ({ page }) => {
5-
await page.goto("https://demo.playwright.dev/todomvc");
3+
test("basic test @basic", {
4+
annotation: {
5+
type: 'notify:slack', description: `user:U07RSHQKGUX`,
6+
},
7+
}, async ({ page }) => {
8+
await page.goto("https://todomvc.com/examples/backbone/dist/");
69

710
// Use locators to represent a selector and re-use them
811
const inputBox = page.locator("input.new-todo");
912
const todoList = page.locator(".todo-list");
1013

11-
await inputBox.fill("Learn JavaScript");
14+
await inputBox.fill("Stop using Cypress");
1215
await inputBox.press("Enter");
1316
await expect(todoList).toHaveText("Learn Playwright");
1417
});

0 commit comments

Comments
 (0)