@camunda/e2e-test-suite 0.0.169 → 0.0.170

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.
@@ -26,6 +26,7 @@ declare class ModelerHomePage {
26
26
  readonly cancelButton: Locator;
27
27
  readonly optionsButton: Locator;
28
28
  readonly formNameBreadcrumb: (formName: string) => Locator;
29
+ readonly buttonSkipCustomization: Locator;
29
30
  constructor(page: Page);
30
31
  clickCreateNewProjectButton(): Promise<void>;
31
32
  enterNewProjectName(name: string): Promise<void>;
@@ -31,6 +31,7 @@ class ModelerHomePage {
31
31
  cancelButton;
32
32
  optionsButton;
33
33
  formNameBreadcrumb;
34
+ buttonSkipCustomization;
34
35
  constructor(page) {
35
36
  this.page = page;
36
37
  this.modelerPageBanner = page.getByRole('banner', {
@@ -76,9 +77,18 @@ class ModelerHomePage {
76
77
  this.formNameBreadcrumb = (formName) => page.locator('button[data-test="breadcrumb-form"]', {
77
78
  hasText: formName,
78
79
  });
80
+ this.buttonSkipCustomization = page.getByRole('button', {
81
+ name: 'Skip customization',
82
+ });
79
83
  }
80
84
  async clickCreateNewProjectButton() {
81
- await this.createNewProjectButton.click({ timeout: 90000 });
85
+ try {
86
+ await this.createNewProjectButton.click({ timeout: 60000 });
87
+ }
88
+ catch (error) {
89
+ await this.buttonSkipCustomization.click();
90
+ await this.createNewProjectButton.click({ timeout: 60000 });
91
+ }
82
92
  }
83
93
  async enterNewProjectName(name) {
84
94
  await this.projectNameInput.click({ timeout: 60000 });
@@ -167,9 +167,7 @@ _8_8_1.test.describe('Smoke Tests', () => {
167
167
  await operateProcessesPage.clickProcessCompletedCheckbox();
168
168
  await operateProcessesPage.clickProcessInstanceLink(processName);
169
169
  await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateProcessInstancePage.completedIcon, { totalTimeout: 60000, maxRetries: 5 });
170
- await (0, test_1.expect)(operateProcessInstancePage.variablesList).toBeVisible({
171
- timeout: 15000,
172
- });
170
+ await (0, expectLocatorWithRetry_1.expectLocatorWithRetry)(page, operateProcessInstancePage.variablesList, { totalTimeout: 60000, maxRetries: 5 });
173
171
  await (0, test_1.expect)(operateProcessInstancePage.connectorResultVariableName('message')).toBeVisible({
174
172
  timeout: 15000,
175
173
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",