Refactored AdminWarning check up to BasicPageObject