codeceptjs / codeceptjs/CodeceptJS

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

Aperta
#2,519 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
4.2k
Fork
757
Merge medio
2g 9h
PR unite (30g)
16

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.