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
AgeCommit message (Collapse)Author
2022-09-08Fix: Multiple elements with the same html idFerdinand Thiessen
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>
2022-09-06fix testsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06better border management for image captionJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06rename cypress attachment tests, add one for media uploadJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06rename 'insert attachment' menu action, wait for metadata before resolving ↵Julien Veyssier
loadImage Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-06adjust frontend testsJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-03🐛 fix missing sharing tokenfix/noid/fix-sharing-folderVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-09-01Add tests for heading anchors and inter-page linksFerdinand Thiessen
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>
2022-08-31cy: use API request to share rather than UI.Max
Signed-off-by: Max <max@nextcloud.com>
2022-08-23✅ fix outline testsVinicius Reis
use @nextcloud/vue v6 popover selector Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-08-19Adjust classes for cypress testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-19Adapt to new eslint rulesJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-17✅ (#107): empty toc test107-outline-view-of-headings-for-quick-navigation-table-of-contentsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-08-17🚧 (#107): Add outline viewVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-08-01✅ (#2735): add keyboard shortcuts testVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-29Added tests for the front matter nodeFerdinand Thiessen
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-07-28✅ improve test and remove unnecessary codefix/noid/nc25-sharing-changesVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-28✅ small test adjustsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-27fix: wait for ui feedback when deleting filetest/fix-cypressMax
Avoid race conditions like https://github.com/nextcloud/text/runs/7537522575 Signed-off-by: Max <max@nextcloud.com>
2022-07-27fix: adjust selector for login buttonMax
Signed-off-by: Max <max@nextcloud.com>
2022-07-26Only autolink URLs containing protocolRaul
Signed-off-by: Raul <raul@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-26Replace files app DOM id with classVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26cleanup: wait statements - rely on promises insteadMax
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>
2022-07-22✅ fix skiped testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-07-19♿️ (#2381): make placeholder accessible by keyboard navigationVinicius Reis
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>
2022-07-12fix: lint warning due to invalid license expressionMax
Signed-off-by: Max <max@nextcloud.com>
2022-07-06test: propfind extension for workspacesMax
Regression tests for https://github.com/nextcloud/server/issues/32514#issuecomment-1155242808 Signed-off-by: Max <max@nextcloud.com>
2022-07-05fix: take retry into account for test foldersMax
Signed-off-by: Max <max@nextcloud.com>
2022-06-30✅ (#2584): fix testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-30test: try to make image test retryableMax
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>
2022-06-30Clean up cypress testsFerdinand Thiessen
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>
2022-06-30Fix docker container for local cypress testsFerdinand Thiessen
Ensure correct file permissions after bind mount so nextcloud can be installed without errors. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2022-06-20text: fix cypress selector to find the right imageMax
`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>
2022-06-09✅ (#2463): add error testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09✅ (#2463): [WIP] ImageView testsVinicius Reis
direct access Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-09Add test for 0 byte fileJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-06-08fix: return promise in cypress command to wait for itMax
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>
2022-06-07fix: various issues with conflict displayMax
* 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>
2022-06-07fix: split Table and EditableTable into independent filesMax
`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>
2022-06-07fix: bring back table modification buttonsMax
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>
2022-06-06🐛 (#2481): improve image build performance and fix apps permissionsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-06🩹 (#2481): fix small bash lintsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-06-05Fix cypress scripts for local run + Add documentationFerdinand Thiessen
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>
2022-05-26♻️ (#2345): make Callout as a componentVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-25💚 (#2345): fix inconsistent testVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-25✅ (#2345): fix image testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-24✅ (#2345): fix workspace testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-24🚧 (#2345): workspace testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-24✅ (#2345): fix links testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2022-05-24✅ (#2345): fix viewer testsVinicius Reis
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>