@camunda/e2e-test-suite 0.0.535 → 0.0.537
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.
|
@@ -62,9 +62,11 @@ class ModelerHomePage {
|
|
|
62
62
|
this.homeBreadcrumb = page.locator('[data-test="breadcrumb-home"]');
|
|
63
63
|
this.openOrganizationsButton = page.getByLabel('Open Organizations');
|
|
64
64
|
this.manageButton = page.getByRole('menuitem', { name: 'Manage' });
|
|
65
|
-
this.crossComponentProjectFolder = page
|
|
65
|
+
this.crossComponentProjectFolder = page
|
|
66
|
+
.getByTitle(this.defaultFolderName, {
|
|
66
67
|
exact: true,
|
|
67
|
-
})
|
|
68
|
+
})
|
|
69
|
+
.first();
|
|
68
70
|
this.rows = page.getByRole('row');
|
|
69
71
|
this.uploadFilesButton = page.getByRole('menuitem', { name: 'Upload files' });
|
|
70
72
|
this.dialog = page.getByRole('dialog');
|
|
@@ -194,7 +196,7 @@ class ModelerHomePage {
|
|
|
194
196
|
await this.clickMessageBanner();
|
|
195
197
|
if (await this.crossComponentProjectFolder.isVisible()) {
|
|
196
198
|
console.log('Cross Component Project folder already exists. Clicking into it');
|
|
197
|
-
this.clickCrossComponentProjectFolder();
|
|
199
|
+
await this.clickCrossComponentProjectFolder();
|
|
198
200
|
return;
|
|
199
201
|
}
|
|
200
202
|
await this.clickCreateNewProjectButton();
|
|
@@ -34,7 +34,7 @@ class IdentityHomePage {
|
|
|
34
34
|
this.dialog = page.getByRole('dialog');
|
|
35
35
|
this.writePermissionCheckBox = page
|
|
36
36
|
.locator('label')
|
|
37
|
-
.filter({ hasText: 'write:*
|
|
37
|
+
.filter({ hasText: 'write:*' });
|
|
38
38
|
this.readPermissionCheckBox = page
|
|
39
39
|
.locator('label')
|
|
40
40
|
.filter({ hasText: 'read:*' });
|
|
@@ -58,6 +58,7 @@ class IdentityHomePage {
|
|
|
58
58
|
await this.assignPermissionsButton.click();
|
|
59
59
|
await this.selectOptionFromDropdown('Tasklist API');
|
|
60
60
|
await (0, test_1.expect)(this.dialog).toBeVisible();
|
|
61
|
+
await this.writePermissionCheckBox.waitFor({ state: 'visible' });
|
|
61
62
|
await this.writePermissionCheckBox.click();
|
|
62
63
|
await this.readPermissionCheckBox.click();
|
|
63
64
|
await this.addButton.click();
|
|
@@ -79,6 +80,7 @@ class IdentityHomePage {
|
|
|
79
80
|
await this.assignPermissionsButton.click();
|
|
80
81
|
await this.selectOptionFromDropdown('Operate API');
|
|
81
82
|
await (0, test_1.expect)(this.dialog).toBeVisible();
|
|
83
|
+
await this.writePermissionCheckBox.waitFor({ state: 'visible' });
|
|
82
84
|
await this.writePermissionCheckBox.click();
|
|
83
85
|
await this.readPermissionCheckBox.click();
|
|
84
86
|
await this.addButton.click();
|