Skip to content
Commits on Source (3)
......@@ -112,7 +112,7 @@ context('Pro Settings', () => {
cy.viewport(1300, 768);
});
it('should update the title and headline', () => {
it.skip('should update the title and headline', () => {
//enter data
cy.get(general.title)
.focus()
......
......@@ -4,7 +4,14 @@ export class Storage {
}
get(key: string) {
return window.localStorage.getItem(key);
try {
return window.localStorage.getItem(key);
} catch (err) {
// We are catching here as some browser block localstorege.
// TODO: Extend to .set and .destroy once this is verified as fix
console.log(err);
return null;
}
}
set(key: string, value: any) {
return window.localStorage.setItem(key, value);
......