-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(platform): element assemble: fix custom: now if new name exist, w…
…arn and not dispatch
- Loading branch information
Showing
23 changed files
with
4,305 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
platform/frontend/test/step-definitions/__snapshots__/contributes.steps.bs.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Contributes show contributes list 1`] = ` | ||
<div | ||
className="ant-list ant-list-split ant-list-grid css-dev-only-do-not-override-p7e5j5" | ||
style={Object {}} | ||
> | ||
<div | ||
className="ant-spin-nested-loading css-dev-only-do-not-override-p7e5j5" | ||
> | ||
<div | ||
className="ant-spin-container" | ||
> | ||
<div | ||
className="ant-list-empty-text" | ||
> | ||
<div | ||
className="css-dev-only-do-not-override-p7e5j5 ant-empty ant-empty-normal" | ||
style={Object {}} | ||
> | ||
<div | ||
className="ant-empty-image" | ||
> | ||
<svg | ||
height="41" | ||
viewBox="0 0 64 41" | ||
width="64" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<g | ||
fill="none" | ||
fillRule="evenodd" | ||
transform="translate(0 1)" | ||
> | ||
<ellipse | ||
cx="32" | ||
cy="33" | ||
fill="#f5f5f5" | ||
rx="32" | ||
ry="7" | ||
/> | ||
<g | ||
fillRule="nonzero" | ||
stroke="#d9d9d9" | ||
> | ||
<path | ||
d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" | ||
/> | ||
<path | ||
d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" | ||
fill="#fafafa" | ||
/> | ||
</g> | ||
</g> | ||
</svg> | ||
</div> | ||
<div | ||
className="ant-empty-description" | ||
> | ||
No data | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`; |
18 changes: 18 additions & 0 deletions
18
platform/frontend/test/step-definitions/__snapshots__/elementVisual.steps.bs.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ElementVisual show canvas 1`] = ` | ||
<canvas | ||
height="20px" | ||
id="ui-visual-canvas" | ||
style={ | ||
Object { | ||
"borderColor": "red", | ||
"borderStyle": "solid", | ||
"borderWidth": "2px", | ||
"height": "20px", | ||
"width": "10px", | ||
} | ||
} | ||
width="10px" | ||
/> | ||
`; |
3 changes: 3 additions & 0 deletions
3
platform/frontend/test/step-definitions/__snapshots__/extensionInspector.steps.bs.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ExtensionInspector show nothing 1`] = `null`; |
67 changes: 67 additions & 0 deletions
67
platform/frontend/test/step-definitions/__snapshots__/extensions.steps.bs.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Extensions show extensions list exclude selected extensions 1`] = ` | ||
<div | ||
className="ant-list ant-list-split ant-list-grid css-dev-only-do-not-override-p7e5j5" | ||
style={Object {}} | ||
> | ||
<div | ||
className="ant-spin-nested-loading css-dev-only-do-not-override-p7e5j5" | ||
> | ||
<div | ||
className="ant-spin-container" | ||
> | ||
<div | ||
className="ant-list-empty-text" | ||
> | ||
<div | ||
className="css-dev-only-do-not-override-p7e5j5 ant-empty ant-empty-normal" | ||
style={Object {}} | ||
> | ||
<div | ||
className="ant-empty-image" | ||
> | ||
<svg | ||
height="41" | ||
viewBox="0 0 64 41" | ||
width="64" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<g | ||
fill="none" | ||
fillRule="evenodd" | ||
transform="translate(0 1)" | ||
> | ||
<ellipse | ||
cx="32" | ||
cy="33" | ||
fill="#f5f5f5" | ||
rx="32" | ||
ry="7" | ||
/> | ||
<g | ||
fillRule="nonzero" | ||
stroke="#d9d9d9" | ||
> | ||
<path | ||
d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" | ||
/> | ||
<path | ||
d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" | ||
fill="#fafafa" | ||
/> | ||
</g> | ||
</g> | ||
</svg> | ||
</div> | ||
<div | ||
className="ant-empty-description" | ||
> | ||
No data | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`; |
67 changes: 67 additions & 0 deletions
67
platform/frontend/test/step-definitions/__snapshots__/fix_assembleSpace_bug.steps.bs.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Fix AssembleSpace Bug fix "enter AssembleSpace should reset" bug 1`] = ` | ||
<div | ||
className="ant-list ant-list-split ant-list-grid css-dev-only-do-not-override-p7e5j5" | ||
style={Object {}} | ||
> | ||
<div | ||
className="ant-spin-nested-loading css-dev-only-do-not-override-p7e5j5" | ||
> | ||
<div | ||
className="ant-spin-container" | ||
> | ||
<div | ||
className="ant-list-empty-text" | ||
> | ||
<div | ||
className="css-dev-only-do-not-override-p7e5j5 ant-empty ant-empty-normal" | ||
style={Object {}} | ||
> | ||
<div | ||
className="ant-empty-image" | ||
> | ||
<svg | ||
height="41" | ||
viewBox="0 0 64 41" | ||
width="64" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<g | ||
fill="none" | ||
fillRule="evenodd" | ||
transform="translate(0 1)" | ||
> | ||
<ellipse | ||
cx="32" | ||
cy="33" | ||
fill="#f5f5f5" | ||
rx="32" | ||
ry="7" | ||
/> | ||
<g | ||
fillRule="nonzero" | ||
stroke="#d9d9d9" | ||
> | ||
<path | ||
d="M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z" | ||
/> | ||
<path | ||
d="M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z" | ||
fill="#fafafa" | ||
/> | ||
</g> | ||
</g> | ||
</svg> | ||
</div> | ||
<div | ||
className="ant-empty-description" | ||
> | ||
No data | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
`; |
16 changes: 16 additions & 0 deletions
16
platform/frontend/test/step-definitions/__snapshots__/publish.steps.bs.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Publish show publish button 1`] = ` | ||
<button | ||
className="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-default" | ||
disabled={false} | ||
onClick={[Function]} | ||
style={Object {}} | ||
type="button" | ||
> | ||
<span> | ||
发 布 | ||
</span> | ||
</button> | ||
`; |
31 changes: 31 additions & 0 deletions
31
.../frontend/test/step-definitions/__snapshots__/runElementVisualController.steps.bs.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`RunElementVisualController if data not ready, show waiting 1`] = ` | ||
<button | ||
className="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-default" | ||
disabled={true} | ||
onClick={[Function]} | ||
style={Object {}} | ||
type="button" | ||
> | ||
<span> | ||
运 行 | ||
</span> | ||
</button> | ||
`; | ||
|
||
exports[`RunElementVisualController if data ready, show run button 1`] = ` | ||
<button | ||
className="ant-btn css-dev-only-do-not-override-p7e5j5 ant-btn-default" | ||
disabled={false} | ||
onClick={[Function]} | ||
style={Object {}} | ||
type="button" | ||
> | ||
<span> | ||
运 行 | ||
</span> | ||
</button> | ||
`; |
Oops, something went wrong.