zalmoxisus / redux-devtools-test-generator

Generate tests right in Redux DevTools.
https://youtu.be/cbXLohVbzNI?t=392
MIT License
14 stars 1 forks source link

persist change in test template #2

Closed boyangwang closed 8 years ago

boyangwang commented 8 years ago

Hi, the generator is a brilliant idea and I love using it.

There's one issue. When used in redux devtool chrome extension, there's no way to persist the change to template. When modify existing template (e.g. Mocha template), it's gone after refresh. And it's not possible to create new template (hitting "Add" doesn't do anything).

Can we fix in chrome extension? We can choose to fix one or more of the following:

  1. make change to existing template permanent
  2. make adding new template work
  3. add 'import template' feature, if 2 is not possible

Would appreciate if you can point me to the right direction. I will create a PR

zalmoxisus commented 8 years ago

Thanks for the report! Could you provide steps to reproduce the problem? I just checked it and it seems to work: qhl2njnvme

zalmoxisus commented 8 years ago

Anything about the extension UI can be found in remotedev-app, it's just a web app so it would be easy to contribute. What you need is:

boyangwang commented 8 years ago

Hi, I managed to make it work. Previously I was invoking it from Chrome Blink developer console -> Redux tab

Now I invoke it from address bar -> click Redux devtools icon

And it works fine. Thanks again