@camunda/e2e-test-suite 0.0.878 → 0.0.879

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.
@@ -103,18 +103,19 @@ class ModelerCreatePage {
103
103
  this.elemendIdInput = page.getByLabel('ID', { exact: true });
104
104
  this.startEventElement = page.locator('.djs-hit').first();
105
105
  this.appendPreButton = page.locator('.djs-create-pad-icon > svg').first();
106
- this.appendTaskButton = page.getByTitle('Append task');
106
+ this.appendTaskButton = page.getByRole('button', { name: 'Append task' });
107
107
  this.changeTypeButton = page.getByRole('button', {
108
108
  name: 'Change element',
109
109
  exact: true,
110
110
  });
111
- this.userTaskOption = page
112
- .getByRole('listitem', { name: 'User task' })
113
- .locator('span')
114
- .first();
115
- this.serviceTaskOption = page.getByRole('listitem', { name: 'Service Task' });
116
- this.appendEndEventButton = page.getByTitle('Append end event');
117
- this.appendGatewayButton = page.getByTitle('append gateway');
111
+ this.userTaskOption = page.getByRole('option', { name: 'User task' });
112
+ this.serviceTaskOption = page.getByRole('option', { name: 'Service task' });
113
+ this.appendEndEventButton = page.getByRole('button', {
114
+ name: 'Append end event',
115
+ });
116
+ this.appendGatewayButton = page.getByRole('button', {
117
+ name: 'Append gateway',
118
+ });
118
119
  this.parallelGatewayOption = page.getByText('parallel gateway');
119
120
  this.dialog = page.getByRole('dialog');
120
121
  this.startInstanceMainButton = page.getByRole('button', {
@@ -147,9 +148,7 @@ class ModelerCreatePage {
147
148
  .getByRole('dialog')
148
149
  .getByRole('button', { name: 'Deploy' });
149
150
  this.cancelButton = page.getByRole('button', { name: 'Cancel' });
150
- this.restConnectorOption = page.getByRole('listitem', {
151
- name: 'REST Outbound Connector',
152
- });
151
+ this.restConnectorOption = page.locator('[data-id="replace.template-io.camunda.connectors.HttpJson.v2"]');
153
152
  this.changeElementSearchInput = page.locator('.djs-popup-search input');
154
153
  this.marketPlaceButton = page.getByTitle('Browse Marketplace for more Connectors');
155
154
  this.clientIdTextbox = page.getByLabel('Client ID');
@@ -179,9 +178,13 @@ class ModelerCreatePage {
179
178
  this.secondPlacedElement = page
180
179
  .locator('[class= "djs-element djs-shape"]')
181
180
  .last();
182
- this.connectToOtherElementButton = page.getByTitle('Connect to other element');
181
+ this.connectToOtherElementButton = page.getByRole('button', {
182
+ name: 'Connect to other element',
183
+ });
183
184
  this.canvas = page.locator('rect').nth(1);
184
- this.intermediateBoundaryEvent = page.getByTitle('Append intermediate/boundary');
185
+ this.intermediateBoundaryEvent = page.getByRole('button', {
186
+ name: 'Append intermediate/boundary',
187
+ });
185
188
  this.intermediateWebhookConnectorOption = page.getByRole('listitem', {
186
189
  name: 'Webhook Intermediate Event Connector',
187
190
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/e2e-test-suite",
3
- "version": "0.0.878",
3
+ "version": "0.0.879",
4
4
  "description": "End-to-end test helpers for Camunda 8",
5
5
  "repository": {
6
6
  "type": "git",