Browse Source

fix: sider issues

version-14
Saqib Ansari 3 years ago
parent
commit
deaf9ef111
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      cypress/integration/multi_select_dialog.js

+ 3
- 3
cypress/integration/multi_select_dialog.js View File

@@ -13,9 +13,9 @@ context('MultiSelectDialog', () => {
"is_primary": 0
}
]
}
};
const promises = Array.from({length: 25})
.map(_ => cy.insert_doc('Contact', contact_template, true));
.map(() => cy.insert_doc('Contact', contact_template, true));
Promise.all(promises);
});

@@ -89,7 +89,7 @@ context('MultiSelectDialog', () => {

cy.get_open_dialog().get('.list-item-container').should(($rows) => {
if ($rows.length <= 20) {
throw new Error("More button doesn't work")
throw new Error("More button doesn't work");
}
});



Loading…
Cancel
Save