We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f998ff2 commit 29e3454Copy full SHA for 29e3454
test/e2e/sidebar.test.js
@@ -0,0 +1,16 @@
1
+const docsifyInit = require('../helpers/docsify-init');
2
+
3
+// Suite
4
+// -----------------------------------------------------------------------------
5
+describe('Sidebar Tests', function() {
6
+ // Tests
7
+ // ---------------------------------------------------------------------------
8
+ test('search readme', async () => {
9
+ await docsifyInit();
10
+ await page.goto(DOCS_URL + '/#/quickstart');
11
+ await page.fill('input[type=search]', 'site generator');
12
+ expect(
13
+ await page.innerText('.results-panel > .matching-post > a > h2')
14
+ ).toEqual('docsify');
15
+ });
16
+});
0 commit comments