codeceptjs / codeceptjs/CodeceptJS

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

未關閉
#2,519 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
4.2k
分支
757
平均合併
2 天 9 小時
30 天內合併 PR
16

描述

#### 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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。