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}from'@playwright/test';letpage;test.beforeAll(async({ browser })=>{constcontext=awaitbrowser.newContext();page=awaitcontext.newPage();});test.afterAll(async()=>{awaitpage.close();});test.only('check go to administration section',async()=>{awaitexpect(page.locator('body')).toHaveText('time out this assertion',{timeout: 0});});
The trace chunk generated for afterAll() is going to have after of the polling toHaveText assertion w/o before:
{"type":"after","callId":"call@28","endTime":648852.778,"log":["expect.toHaveText with timeout 60000ms"
The text was updated successfully, but these errors were encountered:
The trace chunk generated for afterAll() is going to have
after
of the polling toHaveText assertion w/obefore
:The text was updated successfully, but these errors were encountered: