Open psysoo opened 8 months ago
It works with me for visiting a specific screen. https://github.com/GuideBlocks-org/iOS-GuideBlocks/assets/882954/93ceeef2-c611-4822-b65b-66d043995e68
This task will be done only when favourited_properties_count
is 3 or more, maybe i shouldn't make it clickable?
{
"name": "Check User Favourites Count",
"action": "checkTag",
"action_data": {
"key": "favourited_properties_count",
"value": "3",
"type": "int",
"operator": "gte" # greater than or equals
}
}
I agree Amr, we need a test case to cause the tag to happen, how did you test it and how can QA test?
@amraboelela I just copied sample yml file and pasted it. then click the 4th item when guide is shown up.
I was trying to test to set the tag and value 3 by the first checklist item. BUT it's blocked by the following bug; somehow shows 8 more tasks instead of showing the items in extra_json.
I pasted the json from yaml file as:
{ "guideBlockKey": "OpenChecklist", "tasks": [ { "name": "Set My Tag", "action": "setTag", "action_data": { "key": "mytag", "value": "1234" } }, { "name": "Visit Inbox", "action": "gotoScreen", "action_data": { "deep_link": "airbnbContextual://tab/inbox" } }, { "name": "Visit Profile", "action": "gotoScreen", "action_data": { "deep_link": "airbnbContextual://tab/profile" } }, { "name": "Check User Favourites Count", "action": "checkTag", "action_data": { "key": "favourited_properties_count", "value": "3", "type": "int", "operator": "gte" } } ] } And got the following:
Try again after merging #73 now clicking on the 4th row doesn't make the list to close.
I agree Amr, we need a test case to cause the tag to happen, how did you test it and how can QA test?
I tested it by setting the tag through the code, the QA could test it if he can set the tag manually somehow.
OpenChecklist - cannot tick the last checklist item
https://github.com/GuideBlocks-org/iOS-GuideBlocks/assets/114545794/17b51844-f205-4f73-aaab-2acc58bf19d6