improve(test): add resize sidebar method in test utilities