mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #32996 from overleaf/copilot/fix-race-condition-in-stopcompile
Stabilize stopCompile Cypress helper by waiting for enabled “Stop compilation” action GitOrigin-RevId: 16997aaccd8d65d5ff0a0a1af73a0bf5d6803832
This commit is contained in:
@@ -83,7 +83,11 @@ describe('SandboxedCompiles', function () {
|
||||
cy.findByText('\\maketitle').parent().click()
|
||||
cy.findByText('\\maketitle')
|
||||
.parent()
|
||||
.type('\n\\def\\x{{}Hello!\\par\\x}\\x')
|
||||
.type(
|
||||
'\nFirst page\\clearpage' +
|
||||
'\nSecond page' +
|
||||
'\\def\\loop{{}\\let\\next\\loop\\next}\\loop'
|
||||
)
|
||||
waitForCompileRateLimitCoolOff()
|
||||
cy.log('Start compile')
|
||||
// We need to start the compile manually because we do not want to wait for it to finish
|
||||
|
||||
Reference in New Issue
Block a user