codeceptjs / codeceptjs/CodeceptJS

`sessionStorage` doesn't removed after `openNewTab` fired

Đang mở
#2,519 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
4.2k
Fork
757
Merge trung bình
2 ngày 9 giờ
Pull request đã merge (30 ngày)
16

Mô tả

#### What are you trying to achieve?
Test for `sessionStorage`

#### What do you get instead?
`sessionStorage` doesn't removed since I close other tabs and opened up the new one my app still gets the storage with unexpected behavior.

> Provide test source code if related

```js
I.openNewTab();
I.closeOtherTabs();
```
#### Workaround
```js
I.openNewTab();
I.closeOtherTabs();
I.executeScript(() => {
sessionStorage.clear();
});
```

### Details

* CodeceptJS 2.6.1
* NodeJS 13.3.0
* Operating System: Ubuntu 18.04.4 LTS
* webdriverio ^5.22.4

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.