fix(test): complete workspace setup before running UI tests

This commit is contained in:
Rushabh Mehta 2024-08-07 10:01:41 +05:30
parent 0837a39335
commit 0a00b40cee

View file

@ -77,8 +77,7 @@ def sync_table(key, hook):
# remove unused items
items = navbar_settings.get(key)
for item in items:
if item.is_standard and (item.item_label not in new_standard_items):
items.remove(item)
items = [item for item in items if not (item.is_standard and (item.item_label not in new_standard_items))]
navbar_settings.set(key, items)
navbar_settings.save()