Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax <max@nextcloud.com>2022-02-17 17:59:54 +0300
committerMax <max@nextcloud.com>2022-03-02 15:26:11 +0300
commit6af910fe41af8a47fdf01d11e1f3f5bfde5541db (patch)
tree72e5d1d860dc9a67db3d20df7a9b9a14f362def4 /cypress
parent0afc3236c2d773791de05d457367c73faf113ca0 (diff)
ui: use list icon for tasklists
Using `mdiOrderBoolAscendingVariant` as suggested in #2018. Fixes #2018 together with the previous commit. Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'cypress')
-rw-r--r--cypress/integration/workspace.spec.js2
-rw-r--r--cypress/support/commands.js1
2 files changed, 2 insertions, 1 deletions
diff --git a/cypress/integration/workspace.spec.js b/cypress/integration/workspace.spec.js
index 01829cd7c..665f94d06 100644
--- a/cypress/integration/workspace.spec.js
+++ b/cypress/integration/workspace.spec.js
@@ -111,7 +111,7 @@ describe('Workspace', function() {
;[
['ul', 'ul'],
['ol', 'ol'],
- ['checkmark', 'ul[data-type="taskList"]'],
+ ['tasklist', 'ul[data-type="taskList"]'],
].forEach(([button, tag]) => {
menuButton(button)
.click()
diff --git a/cypress/support/commands.js b/cypress/support/commands.js
index 90d179b93..b117eef6a 100644
--- a/cypress/support/commands.js
+++ b/cypress/support/commands.js
@@ -21,6 +21,7 @@
*/
import axios from '@nextcloud/axios'
+import regeneratorRuntime from "regenerator-runtime";
const url = Cypress.config('baseUrl').replace(/\/index.php\/?$/g, '')
Cypress.env('baseUrl', url)