def test_3_delete_virtualroomtype(self, init_env): hp = HomePage(init_env) hp.click_system() sp = SystemPage(init_env) sp.click_infrastructure() ip = InfraPage(init_env) ip.click_virtual_roomtype_menu() vrtp = VirtualRoomTypePage(init_env) vrtp.delete_virtual_roomtype() vrtp.delete_assert( virtualroomtype_element.delete_virtual_roomtype_button)
def test_2_edit_virtualroomtype(self, init_env): hp = HomePage(init_env) hp.click_system() sp = SystemPage(init_env) sp.click_infrastructure() ip = InfraPage(init_env) ip.click_virtual_roomtype_menu() vrtp = VirtualRoomTypePage(init_env) vrtp.edit_virtual_roomtype(virtual_roomtype_datas.edit_roomtype_name, virtual_roomtype_datas.edit_beizhu) vrtp.assert_add(virtualroomtype_element.virtual_roomtype_name)