def test_add_entry(self, projcode="ARUBAUTO", type="Meet", hrs=8, mins=0, description="hjhg"):
     ttime_logger.info("Testing add entry")
     highway = HighWay(driver)
     highway.open_highway(driver)
     timesheet = TimeSheet(driver)
     timesheet.open_timesheet()
     timesheet.add_entry(driver, projcode, type, hrs, mins, description)
 def test_add_btn_visibility(self):
     ttime_logger.info("Testing next_btn visibility")
     highway = HighWay(driver)
     highway.open_highway(driver)
     timesheet = TimeSheet(driver)
     timesheet.open_timesheet()
     assert timesheet.check_add_btn_visible()
 def test_logged_in_user_by_name(self):
     ttime_logger.info("Testing logged in username")
     highway = HighWay(driver)
     highway.open_highway(driver)
     timesheet = TimeSheet(driver)
     timesheet.open_timesheet()
     assert timesheet.check_login_name()
 def test_timesheet_opened_in_current_date(self):
     highway = HighWay(driver)
     highway.open_highway(driver)
     timesheet = TimeSheet(driver)
     timesheet.open_timesheet()
     assert timesheet.check_date_for_today()
 def test_color_orange_to_blue(self):
     highway = HighWay(driver)
     highway.open_highway(driver)
     timesheet = TimeSheet(driver)
     timesheet.open_timesheet()
     assert timesheet.orange_to_blue()
 def test_delete_btn(self):
     highway = HighWay(driver)
     highway.open_highway(driver)
     timesheet = TimeSheet(driver)
     timesheet.open_timesheet()
     assert timesheet.deleting_entry()