Improve rollback tests setup by extracting repeating logic to HistoryPage object