Closed YiiGuxing closed 4 months ago
Use the following code for testing:
test.describe('onlyCover', () => { test('only cover', async ({ page }) => { await docsifyInit({ config: { onlyCover: true, }, markdown: { homepage: '# Hello World', coverpage: '# Cover Page :id=cover-title', }, // _logHTML: true, }); await expect(page.locator('#cover-title')).toContainText('Cover Page'); }); });
The test will time out.
The test proceeds normally and returns results.
[ ] Bug still occurs when all/other plugins are disabled?
Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue): -
Your OS: Windows 11
Node.js version: 20.12.2
npm/yarn version: npm 10.5.0
Browser version: -
Sorry, I didn't notice the waitForSelector configuration option.
waitForSelector
Bug Report
Steps to reproduce
Use the following code for testing:
Current behaviour
The test will time out.
Expected behaviour
The test proceeds normally and returns results.
Other relevant information
[ ] Bug still occurs when all/other plugins are disabled?
Docsify plugins (if the bug happens when plugins enabled, please try to isolate the issue): -
Your OS: Windows 11
Node.js version: 20.12.2
npm/yarn version: npm 10.5.0
Browser version: -
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)