Skip to content

Commit c3caaf7

Browse files
committed
skip safari tests
1 parent 848e5dd commit c3caaf7

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/stores/unit/middleware/localStorage.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,13 @@ if (!global.localStorage) {
3333
let store: Store;
3434

3535
describe('middleware - local storage', () => {
36-
beforeEach(() => {
36+
beforeEach((suite) => {
37+
const { browserName } = suite.remote.session.capabilities;
38+
39+
if (browserName === 'Safari') {
40+
suite.skip('Local Storage is not accessible on private mode pre version 11.');
41+
}
42+
3743
global.localStorage.removeItem(LOCAL_STORAGE_TEST_ID);
3844
store = new Store();
3945
});

0 commit comments

Comments
 (0)