Disable debounce for tests

This commit is contained in:
Sidharth Vinod
2022-08-13 00:11:30 +05:30
parent 0602dd2027
commit 06b430b0b8
+3 -1
View File
@@ -1,11 +1,13 @@
import { toBase64 } from 'js-base64';
import { disableDebounce } from './util';
describe('Site Loads', () => {
beforeEach(() => {
cy.clearLocalStorage();
cy.visit('/');
disableDebounce();
});
it('Check Home page load', () => {
cy.visit('/');
cy.url().should('include', '/edit');
cy.contains('History').click();
cy.getLocalStorage('codeStore').snapshot();