mirror of
https://github.com/bringout/oca-ocb-mrp.git
synced 2026-04-23 20:12:02 +02:00
19.0 vanilla
This commit is contained in:
parent
accf5918df
commit
6e65e8c877
688 changed files with 225434 additions and 199401 deletions
|
|
@ -0,0 +1,14 @@
|
|||
import { openFormView, start, startServer } from "@mail/../tests/mail_test_helpers";
|
||||
import { defineMrpModels } from "@mrp/../tests/mrp_test_helpers";
|
||||
import { describe, expect, test } from "@odoo/hoot";
|
||||
|
||||
describe.current.tags("desktop");
|
||||
defineMrpModels();
|
||||
|
||||
test("ensure the rendering is based on minutes and seconds", async () => {
|
||||
const pyEnv = await startServer();
|
||||
const fakeId = pyEnv["res.fake"].create({ duration: 150.5 });
|
||||
await start();
|
||||
await openFormView("res.fake", fakeId);
|
||||
expect(".o_field_mrp_timer").toHaveText("150:30");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue