docs: refine organization connector entry and squad alignment
Build and publish Eldorado documentation / build (pull_request) Successful in 30s
Build and publish Eldorado documentation / build (pull_request) Successful in 30s
This commit is contained in:
1 parent
353a04588c
commit
033d9bf8fd
2 files changed
+79
-40
No files matched your search
@@ -89,7 +89,12 @@ test('departments share one row and each has delivery teams below it', () => {
|
||||
assert.equal(teams.length, i === 0 ? 2 : i === 1 ? 5 : 1);
|
||||
for (const team of teams) {
|
||||
assert(team.pos[1] > department.pos[1] + department.size[1]);
|
||||
assert.equal(team.pos[0], department.pos[0]);
|
||||
assert(team.size[0] < department.size[0]);
|
||||
assert.equal(team.pos[0] + team.size[0], department.pos[0] + department.size[0]);
|
||||
const edge = spec.connections.find(e => e.from === id && e.to === team.id);
|
||||
assert.equal(edge.toSide, 'left');
|
||||
assert.equal(edge.fromSide, 'bottom');
|
||||
assert.equal(spec.connections.find(e => e.from === 'management' && e.to === id).toSide, 'top');
|
||||
assert.deepEqual(spec.connections.filter(e => e.to === team.id).map(e => e.from), [id]);
|
||||
assert(page.includes(team.label));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user