@digabi/exam-engine-core 22.3.1-alpha.1 → 23.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SectionElement.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionElement.test.d.ts","sourceRoot":"","sources":["../../../__tests__/playwright/SectionElement.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const experimental_ct_react_1 = require("@playwright/experimental-ct-react");
7
+ const react_1 = __importDefault(require("react"));
8
+ const SectionElement_1 = __importDefault(require("../../src/components/SectionElement"));
9
+ experimental_ct_react_1.test.describe('SectionElement', () => {
10
+ (0, experimental_ct_react_1.test)('renders SectionElement correctly', async ({ mount }) => {
11
+ const content = 'Test SectionElement';
12
+ const component = await mount(react_1.default.createElement("div", null,
13
+ react_1.default.createElement(SectionElement_1.default, { className: "custom className" }, content)));
14
+ const section = component.locator('section');
15
+ await (0, experimental_ct_react_1.expect)(section).toBeVisible();
16
+ await (0, experimental_ct_react_1.expect)(section).toContainText(content);
17
+ await (0, experimental_ct_react_1.expect)(section).toHaveClass(/custom className/);
18
+ });
19
+ });
20
+ //# sourceMappingURL=SectionElement.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionElement.test.js","sourceRoot":"","sources":["../../../__tests__/playwright/SectionElement.test.tsx"],"names":[],"mappings":";;;;;AAAA,6EAAgE;AAChE,kDAAyB;AACzB,yFAAgE;AAEhE,4BAAI,CAAC,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IACnC,IAAA,4BAAI,EAAC,kCAAkC,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;QAC3D,MAAM,OAAO,GAAG,qBAAqB,CAAA;QACrC,MAAM,SAAS,GAAG,MAAM,KAAK,CAC3B;YACE,8BAAC,wBAAc,IAAC,SAAS,EAAC,kBAAkB,IAAE,OAAO,CAAkB,CACnE,CACP,CAAA;QACD,MAAM,OAAO,GAAG,SAAS,CAAC,OAAO,CAAC,SAAS,CAAC,CAAA;QAC5C,MAAM,IAAA,8BAAM,EAAC,OAAO,CAAC,CAAC,WAAW,EAAE,CAAA;QACnC,MAAM,IAAA,8BAAM,EAAC,OAAO,CAAC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAA;QAC5C,MAAM,IAAA,8BAAM,EAAC,OAAO,CAAC,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAA;IACvD,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '../../../dist/main.css';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../__tests__/playwright/template/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ require("../../../dist/main.css");
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../__tests__/playwright/template/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B"}