You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{test,expect,Page}from'@playwright/test';classMyPOM{constructor(privatereadonlypage: Page){}complexButton=this.page.locator('complex-button');}test('has title',async({ page })=>{// make sure to add some 'a's here so the transcompilation cache is invalidatedawaitpage.goto('https://playwright.dev/aa');constmyPOM=newMyPOM(page);awaitexpect(myPOM.complexButton).toBeHidden();});
Activity
Revert "feat(typescript): allow `declare` for class properties (#21281)…
test: class properties with |this| don't work anymore (#21796)
cherry-pick(#21805): Revert "feat(typescript): allow `declare` for cl…
test(transform): strengthen declare class field test