mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix flaky PdfSynctexControls test (#7443)
GitOrigin-RevId: f853e68a6e8e979af6d2b2e7ee1509f3b6828074
This commit is contained in:
parent
7fc3c0e28a
commit
5cb46643da
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ describe('<PdfSynctexControls/>', function () {
|
|||
name: 'Go to code location in PDF',
|
||||
}).should('be.disabled')
|
||||
|
||||
cy.wait('@sync-code').then(() => {
|
||||
cy.wait('@sync-code').should(() => {
|
||||
// synctex is called locally and the result are broadcast for the detached tab
|
||||
expect(sysendTestHelper.getLastBroacastMessage()).to.deep.equal({
|
||||
role: 'detacher',
|
||||
|
|
Loading…
Reference in a new issue