@digabi/exam-engine-core 22.3.1-alpha.2 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__tests__/playwright/SectionElement.test.d.ts +2 -0
- package/dist/__tests__/playwright/SectionElement.test.d.ts.map +1 -0
- package/dist/__tests__/playwright/SectionElement.test.js +20 -0
- package/dist/__tests__/playwright/SectionElement.test.js.map +1 -0
- package/dist/__tests__/playwright/template/index.d.ts +2 -0
- package/dist/__tests__/playwright/template/index.d.ts.map +1 -0
- package/dist/__tests__/playwright/template/index.js +4 -0
- package/dist/__tests__/playwright/template/index.js.map +1 -0
- package/dist/__tests__/tsconfig.tsbuildinfo +1 -1
- package/dist/main-bundle.js +1 -1
- package/package.json +3 -2
@@ -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 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../__tests__/playwright/template/index.tsx"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../__tests__/playwright/template/index.tsx"],"names":[],"mappings":";;AAAA,kCAA+B"}
|