Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue with multiple automation steps of the same type showing same response #3998

Merged
merged 2 commits into from Jan 11, 2022

Conversation

mike12345567
Copy link
Collaborator

Description

There was a frontend visual issue denoted in #3722 - when automation steps of the same type were added to the same automation the test results would show the same for each step - this was due to how the frontend was selecting the test result for each step (it was just using the stepId which is the type of step, rather than the unique id property).

Also performed some quick visual updates to the automation frontend, there was a custom button used which was easily replaced with an ActionButton and used the same action button in the automation code editor which had all bindings displayed within it, allowing collapsing of the bindings to make the editor a bit cleaner to look at.

Screenshots

image
Setup was previously a div with some custom stuff going on to flip the chevron, replaced with an ActionButton.

image
Automation code editor, with bindings closed.

image
Automation code editor, bindings opened.

…om chevron div and using the action button in the automation code editor so that bindings can be hidden/shown if they are taking up too much of screen.
…d in the same automation would have the same response output in the frontend, this was a visual bug. Also fixing an issue introduced by REST update that broke the query controller.
@codecov-commenter
Copy link

Codecov Report

Merging #3998 (4378a3a) into develop (3f6b7d4) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #3998   +/-   ##
========================================
  Coverage    68.89%   68.89%           
========================================
  Files          139      139           
  Lines         4630     4630           
  Branches       685      685           
========================================
  Hits          3190     3190           
  Misses        1017     1017           
  Partials       423      423           
Impacted Files Coverage Δ
...kages/server/src/automations/steps/executeQuery.js 35.71% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3f6b7d4...4378a3a. Read the comment docs.

Copy link
Member

@shogunpurple shogunpurple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@mike12345567 mike12345567 merged commit 3c4dd4b into develop Jan 11, 2022
@mike12345567 mike12345567 deleted the fix/3722 branch January 11, 2022 17:39
@github-actions github-actions bot locked and limited conversation to collaborators Jan 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants