Skip to content
Snippets Groups Projects
Verified Commit 9c5eb991 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: wip web tests

parent 557358ae
No related branches found
No related tags found
No related merge requests found
...@@ -32,12 +32,16 @@ if (!config.browser) { ...@@ -32,12 +32,16 @@ if (!config.browser) {
executablePath: config.browser, executablePath: config.browser,
args: ['--no-sandbox'], args: ['--no-sandbox'],
userAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36', userAgent: 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36',
waitUntil: 'load',
timeout: 0
}); });
const page = await browser.newPage(); const page = await browser.newPage();
const fileUrl = 'file://' + config.path; const fileUrl = 'file://' + config.path;
await page.goto(fileUrl); await page.goto(fileUrl);
console.log('Running tests...');
const searchResultSelector = '#mocha-done'; const searchResultSelector = '#mocha-done';
await page.waitForSelector(searchResultSelector); await page.waitForSelector(searchResultSelector);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment