File size: 340 Bytes
fccbfd0
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
describe('sample', () => {
    beforeAll(async () => {
        await page.goto(global.ST_URL);
        await page.waitForFunction('document.getElementById("preloader") === null', { timeout: 0 });
    });

    it('should be titled "SillyTavern"', async () => {
        await expect(page.title()).resolves.toMatch('SillyTavern');
    });
});