feat: Compare no wait time layout done.

This commit is contained in:
chiayin
2024-02-23 16:40:52 +08:00
parent 0f7945c6fe
commit 9f9437f303
2 changed files with 16 additions and 5 deletions

View File

@@ -114,8 +114,8 @@ describe('Performance', ()=>{
cy.url().should('include', 'compare');
cy.wait(2000);
// 斷言排序
// 斷言頁面中有 7 個 canvas 元素
cy.get('canvas').should('have.length', 7);
// 斷言頁面中有 6 個 canvas 元素
cy.get('canvas').should('have.length', 6);
// 斷言狀態欄
cy.get('#compareState').click();
cy.wait(3000); // 等待渲染