@atlaskit/editor-plugin-card 0.5.2 → 0.5.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/editor-plugin-card
2
2
 
3
+ ## 0.5.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`882e4e88358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/882e4e88358) - Add playwright tests and add test ids to find elements
8
+
3
9
  ## 0.5.2
4
10
 
5
11
  ### Patch Changes
@@ -352,7 +352,8 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(state, metadata
352
352
  metadata: metadata,
353
353
  className: 'datasource-edit',
354
354
  title: intl.formatMessage(_messages.linkToolbarMessages.editDatasource),
355
- onClick: (0, _EditLinkToolbar.editDatasource)(node, editorAnalyticsApi)
355
+ onClick: (0, _EditLinkToolbar.editDatasource)(node, editorAnalyticsApi),
356
+ testId: 'datasource-edit-button'
356
357
  }];
357
358
  if (node !== null && node !== void 0 && (_node$attrs3 = node.attrs) !== null && _node$attrs3 !== void 0 && _node$attrs3.url) {
358
359
  toolbarItems.push({
@@ -345,7 +345,8 @@ const getDatasourceButtonGroup = (state, metadata, intl, editorAnalyticsApi, nod
345
345
  metadata: metadata,
346
346
  className: 'datasource-edit',
347
347
  title: intl.formatMessage(linkToolbarMessages.editDatasource),
348
- onClick: editDatasource(node, editorAnalyticsApi)
348
+ onClick: editDatasource(node, editorAnalyticsApi),
349
+ testId: 'datasource-edit-button'
349
350
  }];
350
351
  if (node !== null && node !== void 0 && (_node$attrs3 = node.attrs) !== null && _node$attrs3 !== void 0 && _node$attrs3.url) {
351
352
  toolbarItems.push({
@@ -338,7 +338,8 @@ var getDatasourceButtonGroup = function getDatasourceButtonGroup(state, metadata
338
338
  metadata: metadata,
339
339
  className: 'datasource-edit',
340
340
  title: intl.formatMessage(linkToolbarMessages.editDatasource),
341
- onClick: editDatasource(node, editorAnalyticsApi)
341
+ onClick: editDatasource(node, editorAnalyticsApi),
342
+ testId: 'datasource-edit-button'
342
343
  }];
343
344
  if (node !== null && node !== void 0 && (_node$attrs3 = node.attrs) !== null && _node$attrs3 !== void 0 && _node$attrs3.url) {
344
345
  toolbarItems.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-card",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Card plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",