PR fixup: Create a base class for UI tests and helper methods