@camunda/e2e-test-suite 0.0.1061 → 0.0.1063
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.
|
@@ -59,9 +59,18 @@ class ModelerHomePage {
|
|
|
59
59
|
this.modelerPageBanner = page.getByRole('banner', {
|
|
60
60
|
name: 'Camunda Modeler',
|
|
61
61
|
});
|
|
62
|
-
this
|
|
62
|
+
// Hub renamed this button to "Create project" on both the classic and the
|
|
63
|
+
// design-system shell. The legacy label is kept so the flow still works
|
|
64
|
+
// against Modeler builds where the rename has not shipped yet. exact:true
|
|
65
|
+
// keeps the new label off the split button's "Create project options".
|
|
66
|
+
this.createNewProjectButton = page
|
|
67
|
+
.getByRole('button', {
|
|
63
68
|
name: 'New project',
|
|
64
|
-
})
|
|
69
|
+
})
|
|
70
|
+
.or(page.getByRole('button', {
|
|
71
|
+
name: 'Create project',
|
|
72
|
+
exact: true,
|
|
73
|
+
}));
|
|
65
74
|
this.projectNameInput = page.locator('[data-test="editable-input"]');
|
|
66
75
|
this.formNameInput = page.locator('[data-test="editable-input"]');
|
|
67
76
|
this.idpApplicationNameInput = page.getByPlaceholder('New IDP Application');
|
|
@@ -55,9 +55,18 @@ class ModelerHomePage {
|
|
|
55
55
|
this.modelerPageBanner = page.getByRole('banner', {
|
|
56
56
|
name: 'Camunda Modeler',
|
|
57
57
|
});
|
|
58
|
-
this
|
|
58
|
+
// Hub renamed this button to "Create project" on both the classic and the
|
|
59
|
+
// design-system shell. The legacy label is kept so the flow still works
|
|
60
|
+
// against Modeler builds where the rename has not shipped yet. exact:true
|
|
61
|
+
// keeps the new label off the split button's "Create project options".
|
|
62
|
+
this.createNewProjectButton = page
|
|
63
|
+
.getByRole('button', {
|
|
59
64
|
name: 'New project',
|
|
60
|
-
})
|
|
65
|
+
})
|
|
66
|
+
.or(page.getByRole('button', {
|
|
67
|
+
name: 'Create project',
|
|
68
|
+
exact: true,
|
|
69
|
+
}));
|
|
61
70
|
this.projectNameInput = page.locator('[data-test="editable-input"]');
|
|
62
71
|
this.formNameInput = page.locator('[data-test="editable-input"]');
|
|
63
72
|
this.idpApplicationNameInput = page.getByPlaceholder('New IDP Application');
|
|
@@ -59,9 +59,18 @@ class ModelerHomePage {
|
|
|
59
59
|
this.modelerPageBanner = page.getByRole('banner', {
|
|
60
60
|
name: 'Camunda Modeler',
|
|
61
61
|
});
|
|
62
|
-
this
|
|
62
|
+
// Hub renamed this button to "Create project" on both the classic and the
|
|
63
|
+
// design-system shell. The legacy label is kept so the flow still works
|
|
64
|
+
// against Modeler builds where the rename has not shipped yet. exact:true
|
|
65
|
+
// keeps the new label off the split button's "Create project options".
|
|
66
|
+
this.createNewProjectButton = page
|
|
67
|
+
.getByRole('button', {
|
|
63
68
|
name: 'New project',
|
|
64
|
-
})
|
|
69
|
+
})
|
|
70
|
+
.or(page.getByRole('button', {
|
|
71
|
+
name: 'Create project',
|
|
72
|
+
exact: true,
|
|
73
|
+
}));
|
|
65
74
|
this.projectNameInput = page.locator('[data-test="editable-input"]');
|
|
66
75
|
this.formNameInput = page.locator('[data-test="editable-input"]');
|
|
67
76
|
this.idpApplicationNameInput = page.getByPlaceholder('New IDP Application');
|
|
@@ -53,9 +53,18 @@ class ModelerHomePage {
|
|
|
53
53
|
this.modelerPageBanner = page.getByRole('banner', {
|
|
54
54
|
name: 'Camunda Modeler',
|
|
55
55
|
});
|
|
56
|
-
this
|
|
56
|
+
// Hub renamed this button to "Create project" on both the classic and the
|
|
57
|
+
// design-system shell. The legacy label is kept so the flow still works
|
|
58
|
+
// against Modeler builds where the rename has not shipped yet. exact:true
|
|
59
|
+
// keeps the new label off the split button's "Create project options".
|
|
60
|
+
this.createNewProjectButton = page
|
|
61
|
+
.getByRole('button', {
|
|
57
62
|
name: 'New project',
|
|
58
|
-
})
|
|
63
|
+
})
|
|
64
|
+
.or(page.getByRole('button', {
|
|
65
|
+
name: 'Create project',
|
|
66
|
+
exact: true,
|
|
67
|
+
}));
|
|
59
68
|
this.projectNameInput = page.locator('[data-test="editable-input"]');
|
|
60
69
|
this.formNameInput = page.locator('[data-test="editable-input"]');
|
|
61
70
|
this.idpApplicationNameInput = page.getByPlaceholder('New IDP Application');
|
|
@@ -292,7 +292,8 @@ _8_10_1.test.describe('Smoke Tests', () => {
|
|
|
292
292
|
await optimizeReportPage.assertUserTaskInstanceCountWithRetry(2, appTab, countRetries, Math.floor(flowBudget(countRetries * constants_1.TIMEOUT.navigation) / countRetries));
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
|
-
|
|
295
|
+
// Skipped due to bug #8551: https://github.com/camunda/connectors/issues/8551
|
|
296
|
+
_8_10_1.test.skip('Most Common REST Connector User Flow', async ({ page, loginPage, homePage, modelerHomePage, appsPage, modelerCreatePage, connectorSettingsPage, }, testInfo) => {
|
|
296
297
|
_8_10_1.test.slow();
|
|
297
298
|
const randomString = await (0, _setup_1.generateRandomStringAsync)(3);
|
|
298
299
|
const processName = 'REST_Connector_Basic_Auth_Process' + randomString;
|