-
-
Notifications
You must be signed in to change notification settings - Fork 71
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report 🐛
In https://develop.testing-playground.com/ if I disable auto-run
code, then I insert a query and click on run
button in Header
nothing happens.
No element selected or event fired (in case of user-event
method inserted).
Expected behavior 🤔
I expected that clicking run
makes the query be executed.
Suggested solution 🔦
I think the right thing to do should be adding a field immediate
set to true to the EVALUATE
action dispatched by clicking on run
.
<button
className="space-x-4 px-4"
onClick={() => {
if (status === 'evaluating') {
return;
}
dispatch({ type: 'EVALUATE' });
}}
>
{status === 'evaluating' ? (
<SyncIcon size={12} className="spinner" />
) : (
<PaperAirplaneIcon size={12} />
)}
<span>run</span>
</button>
I am going to submit a pr with this change, hoping this is the right way to fix this issue.
Your Environment 💻
- browser: Chrome
- os: Mac
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working