Commit graph

31 commits

Author SHA1 Message Date
Mathias Jakobsen
1518b94451 Merge pull request #15352 from overleaf/mj-pdf-preview-test
[web] Re-enable pdf preview test

GitOrigin-RevId: cc60719f9780b2c5426db357ddbc2accd1ad0bee
2023-10-26 08:03:27 +00:00
Tim Down
3be937c503 Migrate layout context to TypeScript (#15275)
Migrate layout context to TypeScript

GitOrigin-RevId: ce453bfb67f7c36176fa24144413b556cd3c117e
2023-10-19 08:03:01 +00:00
Alf Eaton
04900349e6 Add PdfPreviewProvider and preserve PDF viewer loading error (#14970)
GitOrigin-RevId: ac305633c7c0bc13f5f670b71890cfd30a3cbffd
2023-09-29 08:04:10 +00:00
ilkin-overleaf
1c66d2728c Merge pull request #14405 from overleaf/ii-enable-tests
[web] Enable disabled tests

GitOrigin-RevId: 1b7199446849ccaf3febe51409f73d9305a93e9c
2023-09-01 08:04:05 +00:00
Alf Eaton
af038a9d47 Skip flaky "disables compile button while compile is running" test (#13731)
GitOrigin-RevId: c0b9dcd7438882251012b9eef913547b0a967485
2023-07-17 10:54:23 +00:00
Alf Eaton
283c1d7282 Merge pull request #13605 from overleaf/ae-meta-tests
[cypress] Set/reset window.metaAttributesCache globally

GitOrigin-RevId: 5aa1d5e37780b53f6ddf7d34587e2119ba328003
2023-07-17 10:49:15 +00:00
Brian Gough
137eda06f0 Merge pull request #13571 from overleaf/bg-disable-flaky-cypress-tests
disable flaky cypress tests

GitOrigin-RevId: 3ff8a8a50aff352251eb23daa86e55650ca1f369
2023-07-17 10:43:11 +00:00
Alf Eaton
29f67a3985 Merge pull request #13525 from overleaf/jpa-teardown-compile-domain-test
[web] start tear down of split test for new compile domain

GitOrigin-RevId: 405bba924a37f56614b0744f47914306f420a028
2023-07-17 10:43:01 +00:00
Alf Eaton
510e686b7b Upgrade ESLint plugins (#13153)
GitOrigin-RevId: 9cd0b4429a9c2b3df9c18957aef21ef021e5fdfd
2023-05-25 08:05:34 +00:00
Alf Eaton
e0d327a3e8 Skip/improve flaky pdf tests (#13150)
GitOrigin-RevId: a98b145e86f325d1df79bdbcd1825ee5a3ca6def
2023-05-25 08:04:49 +00:00
Alf Eaton
390d7ed005 Merge pull request #12176 from overleaf/ae-syntex-tests
Improve synctex Cypress tests

GitOrigin-RevId: 282d26d344d8ae08f52b18ef4c12a4c311a6b7ff
2023-03-14 09:04:14 +00:00
Alf Eaton
488c6ff919 Improve compile request mocking in Cypress tests (#12095)
GitOrigin-RevId: fdbc53148e5437e451dab4889232923c823d649e
2023-03-07 09:05:25 +00:00
M Fahru
b62cb86bf8 Create new SplitMenu component and implement it for the pdf compile button (detached & non-detached) (#11772)
* Create a new shared `SplitMenu` component.

* Refactor the pdf compile button & detached compile button:
    - Rename `detach-compile-button` to `detach-compile-button-wrapper`
    - Rename `pdf-compile-button-inner` to `detach-compile-button`
    - Move some of the logic from `detach-compile-button-wrapper` to `detach-compile-button`
    - Create a new `compile-button.less` to centralize all of the compile button (detached/non-detached) custom styles rule.
    - Extract the animated striped CSS definition to the dedicated CSS file, change the class from `btn-recompile-group-has-changes` to `btn-striped-animated`
    - Refactor other className(s) appropriately according to the new component name
    - Delete the unused `changes-to-autocompile` css rule since it has not been used anywhere

* Implement the new pdf compile button with the new `SplitMenu` component.

GitOrigin-RevId: d1d055bffd311923fc47b4681605ce8ba8e26f25
2023-02-22 09:04:42 +00:00
Alf Eaton
1d3e41e541 Merge pull request #11418 from overleaf/ae-skip-detach
Skip PdfSynctexControls and useDetachLayout tests

GitOrigin-RevId: bb6c150ffd72c7a2a9d4b5b69dc9c8fd2e9e9759
2023-01-25 09:04:08 +00:00
Alf Eaton
cda947d1ac Remove sysend dependency (#10852)
GitOrigin-RevId: c3d9601256af8720ab41264609cb5c5c810afbba
2023-01-10 09:04:37 +00:00
Alf Eaton
0b14c55d24 Upgrade Cypress to v12 (#11011)
* Upgrade Cypress to v12.2.0
* Remove cy.unmount
* Only record video in CI
* Remove unmount definition and @cypress/react

GitOrigin-RevId: 463bc216b1debc65ad066f7c1d479724cfa062d1
2023-01-06 09:03:55 +00:00
Alf Eaton
29576fc1fd Merge pull request #11064 from overleaf/ae-skip-pdfsynctexcontrols-tests
Skip PdfSynctexControls tests

GitOrigin-RevId: 17896aa9cf5862b862d777c522c5506ac87fc260
2023-01-05 09:04:52 +00:00
Alf Eaton
22336942a8 Merge pull request #10081 from overleaf/ae-skip-flaky-test
Skip flaky PdfPreviewDetachedRoot test

GitOrigin-RevId: f0be1ab4dae4351a5f258a072150469bd34a50b8
2022-10-21 08:03:39 +00:00
Alf Eaton
27686264f4 Merge pull request #9981 from overleaf/ae-cypress-tweaks
Use more built-in assertions in Cypress tests

GitOrigin-RevId: e89a324cf4357383b484d0bebaf43862c1d21329
2022-10-19 08:03:52 +00:00
Jakob Ackermann
315414de1b Merge pull request #9011 from overleaf/jpa-better-render-error-message
[web] provide helpful error message when pdf rendering fails

GitOrigin-RevId: abbe6f362fa362fadee197527463ee675760e581
2022-07-29 08:04:48 +00:00
Alf Eaton
c6b0d988f9 Merge pull request #8909 from overleaf/ae-7734-auto-compile
Only autocompile when the PDF preview is open

GitOrigin-RevId: f1b2fa934da227c046c990fc86dbf78d6501a408
2022-07-22 08:03:33 +00:00
Timothée Alby
4171f9bd92 Merge pull request #8953 from overleaf/ae-pdf-synctex-tests
Fix and enable synctex controls tests

GitOrigin-RevId: 67174b79ed81cf67552fb63447b9c6aa0a99e9fd
2022-07-21 08:04:04 +00:00
Alf Eaton
e0d2b3f29a Upgrade Cypress to 10.2.0 (#8545)
GitOrigin-RevId: 0818a67f57fed3cbde4453dd1c2949d8d20b7ab0
2022-06-24 08:04:09 +00:00
Alf Eaton
34f15ba016 Merge pull request #8524 from overleaf/ae-detached-test
Attempt to fix flaky Cypress test

GitOrigin-RevId: c49ec0b763e5dd3dde8c207021f1cb1a504f426c
2022-06-22 08:05:33 +00:00
Alf Eaton
716f186fed Upgrade Cypress to v10 (#8322)
GitOrigin-RevId: 856c523a4ca34f8ccdc38067cef6fcd8a5c20250
2022-06-08 08:03:35 +00:00
Miguel Serrano
022a8d4198 Merge pull request #8243 from overleaf/ii-autocomplete-symbol-images
[web] Show symbol images in autocomplete only to premium users

GitOrigin-RevId: 56f4d29ec6368d2904b26f7573aa04ef4535a84b
2022-06-07 08:02:27 +00:00
Alf Eaton
910e07ca1c Add types (#8154)
GitOrigin-RevId: 41ee6b6873a01fbfedc41a884b9e3ebee47fc08f
2022-05-30 08:03:45 +00:00
Alf Eaton
30e1af40c3 Fix test (#8130)
GitOrigin-RevId: abb8cd37298c4c0ded4040401889127c27625562
2022-05-25 08:11:37 +00:00
Timothée Alby
a110c4d7bd Merge pull request #7323 from overleaf/ta-synctex-disable-multi-one-way
Don't Disable Synctex PDF-to-Code Button

GitOrigin-RevId: 90328e0fea8cb5358217ce866839f5e1a4a73b94
2022-04-13 08:03:36 +00:00
Alf Eaton
5cb46643da Fix flaky PdfSynctexControls test (#7443)
GitOrigin-RevId: f853e68a6e8e979af6d2b2e7ee1509f3b6828074
2022-04-11 08:03:10 +00:00
Alf Eaton
5e9af2c15c Migrate worker tests to Cypress (#7359)
GitOrigin-RevId: f373f4215e5f25d14256008cf5f6582eb3124431
2022-04-07 08:03:52 +00:00