1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| import { describe, expect, it } from 'vitest';
|
| import demoSource from '../demo/index.vue?raw';
| import fieldSource from '../fields/index.vue?raw';
| import formulaSource from '../formulas/index.vue?raw';
| import templateSource from '../templates/index.vue?raw';
|
| describe('ELN catalog search actions', () => {
| it.each([
| ['字段管理', fieldSource],
| ['公式管理', formulaSource],
| ['模板管理', templateSource],
| ['ELN 演示', demoSource],
| ])('%s shows query and reset actions', (_page, source) => {
| expect(source).toContain('showActionButtonGroup: true');
| });
| });
|
|