Skip to content

Commit

Permalink
Fix - Element update not reflected addon steps
Browse files Browse the repository at this point in the history
  • Loading branch information
jayavel-testsigma committed Feb 1, 2022
1 parent 0d542a2 commit a9c58fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ void updateElementName(@Param("newName") String newName,
@Param("oldName") String oldName);

@Query(value = "select * from test_steps where addon_action_id is not null\n" +
"and JSON_SEARCH(JSON_EXTRACT(addon_natural_text_action_data , '$.\"elements\".*.*'), 'all', :oldName) is not null;\n", nativeQuery = true)
"and JSON_SEARCH(JSON_EXTRACT(kibbutz_elements , '$.*.\"name\"'), 'all', :oldName) is not null;\n", nativeQuery = true)
List<TestStep> findKibbutzElementsByName(@Param("oldName") String oldName);

@Query(value = "select step.* from test_steps step where step.for_loop_start_index is null and step.parent_id is null and test_case_id in (select id from test_cases where test_data_id=:testDataId) and (condition_type is not null and condition_type > 0)", nativeQuery = true)
Expand Down

0 comments on commit a9c58fb

Please sign in to comment.