mirror of
https://github.com/bringout/oca-ocb-pos.git
synced 2026-04-24 10:22:02 +02:00
19.0 vanilla
This commit is contained in:
parent
6e54c1af6c
commit
3ca647e428
1087 changed files with 132065 additions and 108499 deletions
|
|
@ -0,0 +1,19 @@
|
|||
import * as Dialog from "@point_of_sale/../tests/generic_helpers/dialog_util";
|
||||
|
||||
export function isTabActive(tabText) {
|
||||
return [
|
||||
{
|
||||
content: "Check if the active tab contains the text" + tabText,
|
||||
trigger: `.pos-leftheader span.text-bg-info:contains(${tabText})`,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
export function closePrintingWarning() {
|
||||
return [
|
||||
{
|
||||
...Dialog.confirm(),
|
||||
content: "acknowledge printing error ( because we don't have printer in the test. )",
|
||||
},
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue