Closed sghai closed 11 years ago
Ok, I just rechecked it also is being used in tests/distributors.clj
The fn common/inactive-edit-field
is designed in a way that its accepts locator with :tag
and for system tab the design of locators is bit changed.
So I re-write this save-cancel
function for system tests with name as save-cancel-details
.
The fn save-cancel
remains there in ui/common
for other namespaces.
I think as 90% of the code is the same, how about we send for what rec is being passed and loop it accordingly.
(instance? katello.System sys)
Let's merge it for now, may be we can enhance it later.
ACK
This looks to be a function which would be required by others and hence we require it in ui_common, I feel let's fix it in the common/save-cancel itself , the other name space it's being used in is tests/users.clj.
what do you think ?