You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to robottelo.ui.Base.delete we should create a helper method which will handle entity deletion and ensure deleted entity can't be found using search.
Couple of improvements which would be nice to have (thanks @oshtaier for pointing them):
cover the case when deleted entity was the last one available, so searchbar is not present anymore on entity list page
delete should return True/False whether deletion succeeded so we can easily assert deletion in tests like:
assertsession.architecture.delete('foo')
so we could mark the test as failed (not errored) in case element was found.
The text was updated successfully, but these errors were encountered:
Similar to robottelo.ui.Base.delete we should create a helper method which will handle entity deletion and ensure deleted entity can't be found using search.
Couple of improvements which would be nice to have (thanks @oshtaier for pointing them):
delete
should return True/False whether deletion succeeded so we can easily assert deletion in tests like:so we could mark the test as failed (not errored) in case element was found.
The text was updated successfully, but these errors were encountered: