test: stabilize message parity after main integration

This commit is contained in:
2026-07-26 05:35:27 +00:00
parent de7ad570a3
commit a0f2f431ec
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -414,7 +414,8 @@ button {
}
.mobile-message-panel {
width: calc(100% + 48px);
width: 100vw;
min-width: 0;
margin-left: -24px;
}
@@ -204,7 +204,7 @@ test.describe('instant diplomacy response UI', () => {
borderWidth: '1px',
cursor: 'pointer',
});
expect(geometry.buttons.every((button) => button.height >= 20 && button.height <= 22)).toBe(true);
expect(geometry.buttons.every((button) => button.height >= 22 && button.height <= 26)).toBe(true);
await decline.hover();
expect(await decline.evaluate((element) => getComputedStyle(element).cursor)).toBe('pointer');