PolymerElements / test-fixture

21 stars 14 forks source link

Accessing the fixtures localStorage #39

Open nallown opened 7 years ago

nallown commented 7 years ago

Description

When a element sets a localStorage value in a fixture, it doesn't set the localStorage value of the document. Is there a way to check what localStorage values have been set in the fixture?

Expected outcome

Fixture lets you access its localStorage.

Actual outcome

You can't access the localStorage values at all.

Live Demo

Steps to reproduce

  1. Create a simple element that sets a localStorage value.
  2. check document.localStorage
  3. value won't be there

Browsers Affected