Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
update test to fix windows ci
  • Loading branch information
sy-records committed Oct 14, 2020
commit a7a81d70711cc2a2b33e8705ce76b36a61ab99a3
4 changes: 2 additions & 2 deletions test/e2e/sidebar.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ describe('Sidebar Tests', function() {
test('search readme', async () => {
await docsifyInit();
await page.goto(DOCS_URL + '/#/quickstart');
await page.fill('input[type=search]', 'site generator');
await page.fill('input[type=search]', 'Please consider donating');
expect(
await page.innerText('.results-panel > .matching-post > a > h2')
).toEqual('docsify');
).toEqual('Donate');
});
});