solid-ui icon indicating copy to clipboard operation
solid-ui copied to clipboard

Add-agent-buttons adds third element when rendering the view for apps (only in tests)

Open megoth opened this issue 5 years ago • 2 comments

When working on https://github.com/solid/solid-ui/pull/232 I had to fix a test that broke. It's the test When "Add App" button is clicked > bar is simplified that is affected. It expects two elements to remain after Add App button is clicked, but for some reason three elements remain after the action.

This only happens in the test, I have not been able to reproduce it "manually".

I've tried to understand why this happens, but have succumbed to let it be for now, as there are more urgent matters to tend to. But creating this issue to track it, to revisit it when I have time, or if others are more lucky than me.

megoth avatar Mar 04 '20 11:03 megoth

Apparently this had something to do with the auth library. What it is exactly, I have no clue, but I'm currently updating it to the new auth library here (https://github.com/solid/solid-ui/pull/420) and we're back to 2 elements. So, this can be closed once #420 (nice) is merged.

jaxoncreed avatar Aug 11 '21 22:08 jaxoncreed

I am working on moving authn from solid-ui to solid-logic and now the test returns again the correct number: 2 elements but before this we had to put it to 3 again. Very nondeterministic...

timea-solid avatar Jan 04 '22 10:01 timea-solid