@camunda/e2e-test-suite 0.0.97 → 0.0.99
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/README.md +20 -2
- package/dist/tests/8.9/smoke-tests.spec.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -323,11 +323,29 @@ By following this convention, we ensure **clarity, consistency, and alignment wi
|
|
|
323
323
|
|
|
324
324
|
### Locally:
|
|
325
325
|
|
|
326
|
-
The test results are presented as a comprehensive list in the terminal when all tests pass. Additionally, within the
|
|
326
|
+
The test results are presented as a comprehensive list in the terminal when all tests pass. Additionally, within the
|
|
327
|
+
project's test-results folder, you can find the test results accompanied by images. Moreover, if any test encounters
|
|
328
|
+
issues or instability, an HTML report automatically opens, facilitating in-depth analysis.
|
|
327
329
|
|
|
328
330
|
### On the CI:
|
|
329
331
|
|
|
330
|
-
Within the CI environment, test results are accessible through TestRail, located in the C8 Project folder under Test
|
|
332
|
+
Within the CI environment, test results are accessible through TestRail, located in the C8 Project folder under Test
|
|
333
|
+
Runs. These reports not only include detailed test results but also feature screenshots. In case of a test failure, you
|
|
334
|
+
will find the stacktrace. Furthermore, the CI environment offers extensive tools for in-depth analysis of test results
|
|
335
|
+
and reports.
|
|
336
|
+
|
|
337
|
+
### Recording video:
|
|
338
|
+
|
|
339
|
+
To record video, you need to set the following config in the `use` block in the `playwright.config.ts` file:
|
|
340
|
+
|
|
341
|
+
```typescript
|
|
342
|
+
use: {
|
|
343
|
+
video: 'retain-on-failure'
|
|
344
|
+
}
|
|
345
|
+
```
|
|
346
|
+
|
|
347
|
+
Don't keep this enabled, or you'll blow up the disk space quickly. Files are recorded in the `test-results/videos`
|
|
348
|
+
folder locally and to TestRail in the CI.
|
|
331
349
|
|
|
332
350
|
## Contributing
|
|
333
351
|
|
|
@@ -24,7 +24,7 @@ _8_9_1.test.describe('Smoke Tests', () => {
|
|
|
24
24
|
await (0, _setup_1.captureScreenshot)(page, testInfo);
|
|
25
25
|
await (0, _setup_1.captureFailureVideo)(page, testInfo);
|
|
26
26
|
});
|
|
27
|
-
|
|
27
|
+
_8_9_1.test.skip('Most Common Flow User Flow With All Apps', async ({ page, homePage, modelerHomePage, appsPage, modelerCreatePage, }) => {
|
|
28
28
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
29
29
|
const formName = 'New form' + randomString;
|
|
30
30
|
const processName = 'Zeebe_User_Task_Process' + randomString;
|
|
@@ -137,7 +137,7 @@ _8_9_1.test.describe('Smoke Tests', () => {
|
|
|
137
137
|
await (0, test_1.expect)(optimizeTabOptimizeReportPage.oneUserTaskInstance).toHaveCount(2, { timeout: 60000 });
|
|
138
138
|
});
|
|
139
139
|
});
|
|
140
|
-
|
|
140
|
+
_8_9_1.test.skip('Most Common REST Connector User Flow', async ({ page, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, operateHomePage, operateProcessesPage, operateProcessInstancePage, }) => {
|
|
141
141
|
_8_9_1.test.slow();
|
|
142
142
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
143
143
|
const processName = 'REST_Connector_Basic_Auth_Process' + randomString;
|