def test_3_delete_roominfo(self, init_env): hp = HomePage(init_env) hp.click_system() sp = SystemPage(init_env) sp.click_infrastructure() ip = InfraPage(init_env) ip.click_roominfo_menu() rip = RoomInfoPage(init_env) rip.delete_roominfo(roominfo_element.delete_room_button) rip.assert_delete()
def test_2_edit_roominfo(self, init_env): hp = HomePage(init_env) hp.click_system() sp = SystemPage(init_env) sp.click_infrastructure() ip = InfraPage(init_env) ip.click_roominfo_menu() rip = RoomInfoPage(init_env) rip.edit_roominfo(room_info_datas.edit_roomnumber) rip.assert_add(roominfo_element.add_savebutton)
def test_4_batchadd_roominfo(self, init_batch): hp = HomePage(init_batch) hp.click_system() sp = SystemPage(init_batch) sp.click_infrastructure() ip = InfraPage(init_batch) ip.click_roominfo_menu() rip = RoomInfoPage(init_batch) rip.batchadd_roominfo(room_info_datas.batch_add_roomnumber_start, room_info_datas.batch_add_roomnumber_end, room_info_datas.batch_add_phonesub_start, room_info_datas.batch_add_phonesub_end, room_info_datas.batch_add_phoneout_start, room_info_datas.batch_add_phoneout_end) rip.assert_batchadd()