Download tests/sample.e2e.js from TianTianr/sy: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/spaces/TianTianr/sy/resolve/main/tests/sample.e2e.js
- Command line
-
hf download hf://spaces/TianTianr/sy/tests/sample.e2e.js
-
curl -L -o sample.e2e.js https://huggingface.co/spaces/TianTianr/sy/resolve/main/tests/sample.e2e.js
340 Bytes
| 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'); | |
| }); | |
| }); | |