test: update e2e testing for @idraw/core

This commit is contained in:
chenshenhai 2021-08-20 11:45:54 +08:00
parent 6ed412270f
commit daea71c066
4 changed files with 5 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 646 KiB

After

Width:  |  Height:  |  Size: 647 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 KiB

After

Width:  |  Height:  |  Size: 274 KiB

View file

@ -112,14 +112,16 @@
name: "text-001",
x: 20,
y: 40,
w: 200,
w: 240,
h: 80,
type: "text",
desc: {
fontSize: 16,
color: "#3f51b5",
text: "Life is like an ocean.\r\nOnly those with strong will can reach the other shore",
text: "Life is like an ocean.\r\nOnly those with strong \nwill can reach \nthe other shore",
fontFamily: 'monospace',
fontWeight: 'bold',
textAlign: 'left',
borderRadius: 8,
borderWidth: 2,
borderColor: "#2196f3",

View file

@ -115,6 +115,7 @@
text: "Life is like an ocean.\r\nOnly those with strong \nwill can \r\nreach the other shore.",
fontFamily: 'monospace',
textAlign: 'right',
fontWeight: 'bold',
borderRadius: 8,
borderWidth: 2,
borderColor: "#2196f3",