Skip to content
Snippets Groups Projects
Unverified Commit 07257661 authored by Varac's avatar Varac
Browse files

Go back to Dashboard before selecting Files

Weirdly, going directly from Calendar to Files fails, taiko displays
no files. So we need to take an extra roundtrip via the Dashboard *sigh*
parent 94ccaea7
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,11 @@ const assert = require('assert'); ...@@ -11,7 +11,11 @@ const assert = require('assert');
// https://docs.taiko.dev/api/setconfig/ // https://docs.taiko.dev/api/setconfig/
// setConfig( { observeTime: 1000}); // setConfig( { observeTime: 1000});
setConfig( { observeTime: 0, navigationTimeout: globalTimeout }); setConfig( {
observeTime: 0,
// Navigation timeout value in milliseconds for navigation after performing openTab, goto, reload, goBack, goForward, click, write, clear, press and evaluate.
navigationTimeout: globalTimeout
});
console.log('Executing these tests: ' + taikoTests) console.log('Executing these tests: ' + taikoTests)
await openBrowser({ await openBrowser({
...@@ -61,6 +65,9 @@ const assert = require('assert'); ...@@ -61,6 +65,9 @@ const assert = require('assert');
// Test if calendar app is enabled // Test if calendar app is enabled
await click('Calendar') await click('Calendar')
await waitFor(async () => (await text("Settings & Import").isVisible()))
await click('Dashboard')
await waitFor(async () => (await text("Set location for weather").isVisible()))
console.log('• Nextcloud Onlyoffice integration') console.log('• Nextcloud Onlyoffice integration')
// Open document and type some text // Open document and type some text
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment