IO-2327 timetickets test cases
This commit is contained in:
@@ -34,6 +34,7 @@ export function TechClockInComponent({ form, bodyshop, technician }) {
|
||||
convertedOnly={!bodyshop.tt_allow_post_to_invoiced}
|
||||
notExported={!bodyshop.tt_allow_post_to_invoiced}
|
||||
notInvoiced={!bodyshop.tt_allow_post_to_invoiced}
|
||||
data-cy="clock-ro-select"
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
@@ -47,7 +48,7 @@ export function TechClockInComponent({ form, bodyshop, technician }) {
|
||||
},
|
||||
]}
|
||||
>
|
||||
<Select>
|
||||
<Select data-cy="clock-cost-center-select">
|
||||
{emps &&
|
||||
emps.rates.map((item) => (
|
||||
<Select.Option key={item.cost_center} value={item.cost_center}>
|
||||
|
||||
@@ -56,7 +56,9 @@ export function TechSider({ technician, techLogout }) {
|
||||
disabled={!!!technician}
|
||||
icon={<Icon component={FaBusinessTime} />}
|
||||
>
|
||||
<Link to={`/tech/jobclock`}>{t("menus.tech.jobclockin")}</Link>
|
||||
<Link data-cy="sider-joblock" to={`/tech/jobclock`}>
|
||||
{t("menus.tech.jobclockin")}
|
||||
</Link>
|
||||
</Menu.Item>
|
||||
<Menu.Item
|
||||
key="4"
|
||||
|
||||
Reference in New Issue
Block a user