Age | Commit message (Collapse) | Author |
|
formatting modal help
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Also added a chai assertion for checking an element
is currently shown in the viewport of the window.
This is needed as the cypress visibility checks fail
for tiptap elements, as they are overlaid by the author color / names.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
nextcloud/feature/heading-anchors" until #2868 be fixed
This reverts commit 0f2c48ea4c4822456f737b3c39b0c5f354b17df5, reversing
changes made to 9973d1fb5230d8c9fb46394a14fbdcc90d339a3a.
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Remove IDs on elements which might be present multiple times in the DOM.
This might happen because they are used in the rich workspace but also
in the editor viewer.
Replaced the ID usage with the class name.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
|
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
|
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
|
loadImage
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
|
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Also added a chai assertion for checking an element
is currently shown in the viewport of the window.
This is needed as the cypress visibility checks fail
for tiptap elements, as they are overlaid by the author color / names.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
use @nextcloud/vue v6 popover selector
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Avoid race conditions like https://github.com/nextcloud/text/runs/7537522575
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Raul <raul@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
|
|
If a command returns a promise cypress will wait for that promise
before proceeding with the next commands.
Since 0162bb016c we return the promises from most commands.
The explicit calls to cy.intercept and cy.wait are not needed anymore.
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Allows to keyboard focus on placeholder and create a new workspace using enter and space keys.
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
Regression tests for
https://github.com/nextcloud/server/issues/32514#issuecomment-1155242808
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Use a unique filename so retries work on different files.
Uploading the existing file again would cause a conflict
resulting in retries failing.
Signed-off-by: Max <max@nextcloud.com>
|
|
1. Clean up lint issues of the cypress tests
2. Fix placed where .find was intended but .get was used
3. Remove duplicated code
4. Remove residues of cypress 10 migration
5. Add some documentation on available commands
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Ensure correct file permissions after bind mount so nextcloud
can be installed without errors.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
`get().filter()` might not take into account elements
that did not exist in the dom yet when the `get` part was fired.
`.filter()` would then wait for the elements that already existed
during `.get()` to contain the newly created image.
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
direct access
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
|
Tests were failing because cypress proceeded
with adding files to a folder that had not been created yet:
https://github.com/nextcloud/text/runs/6780248454?check_suite_focus=true
Do not create the callout test directory twice.
Nested cypress blocks will execute `beforeEach` on all levels.
Signed-off-by: Max <max@nextcloud.com>
|
|
* only import prosemirror css once.
* disconnect after receiving a 409 response in polling backend.
* clean up remains of `RichtextOptions`.
* use the `isRichEditor` prop in Reader.
* add cypress test for conflict display.
Signed-off-by: Max <max@nextcloud.com>
|
|
`vite dev` loads all imports of a file. So better keep them separated.
EditableTable is causing issues because @nextcloud/vue does not play nicely with vite yet.
Signed-off-by: Max <max@nextcloud.com>
|
|
Add an `EditableTable` node that has all the buttons for changing the table.
Use it in the Editor while keeping the plain `Table` in RichtextReader.
Signed-off-by: Max <max@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Fix the scripts for local cypress runs,
they need to be run within the `npm run` environment,
as the nextcloud webpack config requires the `npm_package_name`
variable to be set.
Also a up-to-date nextcloud instance is required for testing
text at the current git head, so updated the dockerfile
and docker-compose files to create a nextcloud image from current git head.
Additionally updated the tests to use cypress 10.x and
added missing documentation on how to run the cypress tests.
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|
|
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
|