Commit Graph

29 Commits

Author SHA1 Message Date
Alexandre Bourdin
a09b319f64 Merge pull request #32637 from overleaf/ab-fix-32057-server-pro-link-sharing-retry
[web] Fix project sharing E2E test retry when link sharing is disabled

GitOrigin-RevId: fb46f2cc2a14e6c4f12be2b070b9185e532b4db9
2026-04-08 08:05:15 +00:00
Brian Gough
892b52c2e9 Merge pull request #31695 from overleaf/bg-Jenkins-build-failure-Server-Pro-E2E-Tests-1029
reload server cleanly in project sharing tests

GitOrigin-RevId: 1232d870b69a54994441a54da33c93b78d393f22
2026-03-06 09:06:54 +00:00
Mathias Jakobsen
e9b85c4fa3 Merge pull request #30911 from overleaf/mj-tidy-e2e
[e2e] Tidy E2E tests after removal of old editor

GitOrigin-RevId: 5f8194ec46a047f98c7af8bbcb60c41212ad4bd2
2026-01-27 09:06:18 +00:00
Mathias Jakobsen
9e0de43638 Merge pull request #30910 from overleaf/mj-tear-down-old-e2e
[e2e] Remove old editor E2E tests

GitOrigin-RevId: 960c5cd5f17c2a5bae225ecb53fa0eed76938939
2026-01-27 09:06:13 +00:00
Rebeka Dekany
b4bfff1b67 Improve Server Pro tests to use semantic selectors (#29790)
* Replace placeholders with labels

* Add 'Close dialog' label to modal close button to distinguish from footer Close button

* Add and translate heading on the not found page

* Update textarea to have id matching label's for attribute
Simplify test for template description textarea

* Label PDF zoom level dropdown button

* Improve test selectors to use semantic roles and accessible names

GitOrigin-RevId: d215ddca30ddf844cfffbcf0e528a601b134d772
2025-11-25 09:05:48 +00:00
Tim Down
41d120d8f1 Merge pull request #29038 from overleaf/td-eslint-e2e-tests
Enable ESLint for all end-to-end tests

GitOrigin-RevId: 5d085f52fabcc794b0457edbbb551500477d4110
2025-11-19 09:05:24 +00:00
Jakob Ackermann
a13fca15d3 [saas-e2e] harden recompiling (#28514)
* [saas-e2e] harden recompiling

* [server-ce] import changes from SaaS e2e tests

GitOrigin-RevId: 9b86ed864457b068b8dded94a7e12658a047aac2
2025-09-17 08:05:34 +00:00
Rebeka Dekany
97d8f73749 Update selectors to improve CE test stability (#28096)
* Update selectors to improve test stability

* Update selectors to improve test stability

* Use plain string matchers

* Fix test

* [monorepo] use plain string matchers everywhere

* [web] remove Kb/ prefix from title of learn wiki links

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 12e13c39822795338a3bee20236454f9948e6221
2025-09-02 08:04:56 +00:00
Brian Gough
f5dbbadf79 add option to disable link sharing (#27626)
* add option to remove link-sharing from backend

* restrict make link-sharing in the frontend based on capability

* extend e2e project-sharing tests to cover OVERLEAF_DISABLE_LINK_SHARING=true

* throw an error when link sharing is disabled in TokenAccessHandler

* throw errors when attempting to add users to projects with link sharing disabled

* Update server-ce/test/project-sharing.spec.ts

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* add tests for existing access when link sharing is disabled

* update tests to specify access restrictions for read-only and read-write link shared projects

* [web] block access to legacy public project with link-sharing disabled

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 5f194dbcb790e973e427c58a3a4a738a5dd74cb4
2025-08-20 08:05:33 +00:00
Jakob Ackermann
df383265c3 [saas-e2e] adjust project name for new SpamSafe limits (#27875)
* [saas-e2e] adjust project name for new SpamSafe limits

* [saas-e2e] stay below 6 digits for spam safe project name

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>

---------

Co-authored-by: Antoine Clausse <antoine.clausse@overleaf.com>
GitOrigin-RevId: 77c039312c01b33aeb3b57661ec6ca5b88a0a36b
2025-08-14 08:06:02 +00:00
Jakob Ackermann
16daea27ad [server-ce] tests: optimize sharding (#27635)
* [server-ce] tests: optimize sharding

* [server-ce] tests: remove shard CE_CUSTOM_2

* [server-ce] tests: move project sharing tests onto a new shard

Previously they were on their own CE_CUSTOM_1 shard.

GitOrigin-RevId: de256e04f5956b4651a5dc4ab47cdb5972723c5d
2025-08-06 08:04:46 +00:00
Domagoj Kriskovic
9228f2248b Ensure add comment tooltip doesnt show up without comment permissions (#27273)
* Ensure add comment tooltip doesnt show up without comment permissions

* disable comment option when no permissions in new editor

* add e2e tests

* use server pro for project sharing

* use findByRole for add comment

* remove .only

GitOrigin-RevId: fbef78e0db7678a00d6c602069e16ddeaf23b2f3
2025-07-29 08:05:37 +00:00
Rebeka Dekany
488d0fdf9e Preserve source-only extensions on file switch (#27080)
GitOrigin-RevId: 661c70b78a508619e6532b87b0409f546b4d9e82
2025-07-15 08:06:32 +00:00
Tim Down
11d964649c Merge pull request #25502 from overleaf/td-chat-open-bug
Prevent chat opening by default for new user

GitOrigin-RevId: 260050c26f6b9dee7ea52284dadb7ed00ce9eddb
2025-05-13 08:08:11 +00:00
Jakob Ackermann
bc4550c1f9 [CI] temporarily disable flaky tests (#25443)
GitOrigin-RevId: 4ed83e7b79d7aee0d7fab4594d4f7c8697e0cab4
2025-05-12 08:05:28 +00:00
Domagoj Kriskovic
f36c87b301 Update share modal dropdown with a description for reviewers in a free project (#24571)
* Update collaborator select dropdown with a description for reviewers in free project

* Update share-project-modal test

* Fix saas-e2e tests

* fix server pro tests

* fix cypress multiple inputs selection

* fix testid case

GitOrigin-RevId: 5369828334596d80988aba168385f0a51eea998f
2025-04-03 08:04:59 +00:00
Jakob Ackermann
a26290018c [server-pro] tests: avoid opening editor if not needed for test (#23875)
* [server-pro] tests: avoid opening editor if not needed for test

* [server-pro] tests: use intercept to avoid opening editor page

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

* [server-pro] tests: use times option in intercept

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>

---------

Co-authored-by: Alf Eaton <alf.eaton@overleaf.com>
GitOrigin-RevId: 9530d1f5b06766fec70631da47d8b1049b59ead5
2025-02-26 09:05:20 +00:00
Jakob Ackermann
8b64325e89 [server-pro] tests: wait for editor to finish loading before interacting (#23841)
GitOrigin-RevId: bef74f336c3a240da43cd5f9563629b96bc1d7ca
2025-02-25 09:05:06 +00:00
Kristina
ac15073a52 [web] update e2e tests to look for new strings (#23425)
GitOrigin-RevId: 62c513369adcd003db0aac6a3777eb0a98bf3289
2025-02-07 09:04:17 +00:00
Jakob Ackermann
aa45f778c0 Merge pull request #20137 from overleaf/jpa-fix-e2e
[server-pro] fix e2e tests

GitOrigin-RevId: 589d23baf8bc815328f21b140f2086e135d13736
2024-08-30 08:04:46 +00:00
ilkin-overleaf
b4ad1ed35d Merge pull request #19961 from overleaf/td-contact-modal-sp-ce-fix
Fix SP and CE builds broken by Contact Us changes

GitOrigin-RevId: fb9099ed7d755b30ab8706facd6f0d95aefbad1e
2024-08-22 14:00:54 +00:00
Jakob Ackermann
09a8654cab Merge pull request #19632 from overleaf/jpa-more-robust-chat-message
[server-pro] tests: make sending of chat message more robust

GitOrigin-RevId: 4c54e289af722960560e1e2c8074d0d3efcc601c
2024-07-30 08:04:50 +00:00
Jakob Ackermann
8748ac7475 Merge pull request #19631 from overleaf/jpa-e2e-emails
[server-pro] add e2e test for accepting project invite via email

GitOrigin-RevId: c8391b57c1ee882499cfe5dc02817b5fadcd7ff4
2024-07-30 08:04:45 +00:00
Jakob Ackermann
7eacbe898e Merge pull request #19608 from overleaf/jpa-git-bridge-e2e
[server-pro] extend e2e test coverage for git-access

GitOrigin-RevId: 3e6f3901037636140470b8169df224c329155598
2024-07-26 08:05:14 +00:00
Jakob Ackermann
eb32d3c8be Merge pull request #19270 from overleaf/jpa-faster-e2e-in-ci
[server-pro] faster e2e test CI wall time

GitOrigin-RevId: eeb6d3044d888acd4d52919507c0bc566d7e0b46
2024-07-15 09:03:49 +00:00
roo hutton
8b41d26750 Make "Read only" casing consistent (#19236)
GitOrigin-RevId: 9769fccd7507a8fa58786492acc1875ac68062bd
2024-07-03 08:04:11 +00:00
Jakob Ackermann
6c2a5a43d7 Merge pull request #19227 from overleaf/jpa-sharing-fix
[server-ce] keep up with renaming of button in the share modal

GitOrigin-RevId: e08593078e3789832400884c0b2c04b94f15c837
2024-07-02 08:05:18 +00:00
Jakob Ackermann
9075c82b88 Merge pull request #19170 from overleaf/jpa-server-ce-re-run-before
[server-ce] make tests more robust

GitOrigin-RevId: f070b8bbbf87842a69d88ca56cecf5dd0f3a286c
2024-06-28 08:04:33 +00:00
Jakob Ackermann
5adb9a63c3 Merge pull request #18678 from overleaf/jpa-test-sharing
[server-pro] add tests for project sharing

GitOrigin-RevId: c1862e01ff6feba048e340ba5549ccad9fd07d2c
2024-06-12 08:05:06 +00:00