File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 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} ) ;
You can’t perform that action at this time.
0 commit comments