This commit is contained in:
tisilent
2023-09-19 22:49:53 +08:00
parent a8ef1d49a1
commit da2687174f
+3 -2
View File
@@ -1161,9 +1161,10 @@ export function injectSharedRendererTests(ctx: ISharedRendererTestContext): void
await ctx.value.proxy.scrollLines(-2);
const rows = await ctx.value.proxy.rows;
// block cursor style
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 1, rows), [0, 0, 0, 255]);
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 1, rows), [0, 0, 255, 255]);
await ctx.value.proxy.blur();
// other cursor style
frameDetails = undefined;
// outlink cursor style
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 1, rows), [0, 0, 0, 255]);
await pollFor(ctx.value.page, () => getCellColor(ctx.value, 1, rows, CellColorPosition.FIRST), [0, 0, 255, 255]);
});