Wait for diagram to sync

This commit is contained in:
Sidharth Vinod
2024-01-18 20:32:05 +05:30
parent 3e457fb0bb
commit 71cf898f5c
+1
View File
@@ -29,6 +29,7 @@ export const verifyFileSizeGreaterThan = (
extension: string,
size: number
) => {
cy.get('#view').should('not.have.class', 'outOfSync');
cy.task('readAndDeleteFile', {
folder: downloadsFolder,
fileNamePattern: `mermaid-${fileType}-.*.${extension}`,