Skip to content

Commit 451fc2e

Browse files
committed
test(e2e): add architecture group-sizing image snapshot test
1 parent abe31c6 commit 451fc2e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { imgSnapshotTest } from '../../helpers/util';
2+
3+
describe('architecture rendering - group sizing', () => {
4+
it('group boxes expand to include long names', () => {
5+
imgSnapshotTest(
6+
`
7+
architecture-beta
8+
group api(cloud)[Public API with a very very long group name that should expand the group box]
9+
10+
service srv1(server)[Server 1] in api
11+
service srv2(database)[Database] in api
12+
13+
srv1:R -- L:srv2
14+
`,
15+
{ logLevel: 0 }
16+
);
17+
});
18+
});

0 commit comments

Comments
 (0)