mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Two testing-related fixes
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
import { assert } from 'chai';
|
||||
import { openTerminal, launchBrowser } from '../../../out-test/api/TestUtils';
|
||||
import { Browser, Page } from 'playwright';
|
||||
import { Browser, Page } from '@playwright/test';
|
||||
|
||||
const APP = 'http://127.0.0.1:3001/test';
|
||||
|
||||
|
||||
@@ -258,9 +258,9 @@ test.describe('InputHandler Integration Tests', () => {
|
||||
// repeat on fullwidth chars
|
||||
await ctx.page.evaluate(`
|
||||
window.term.reset();
|
||||
window.term.write('¥\x1b[10b');
|
||||
window.term.write('¥\x1b[8b');
|
||||
`);
|
||||
await pollFor(ctx.page, () => getLinesAsArray(1), ['¥¥¥¥¥¥¥¥¥¥¥']);
|
||||
await pollFor(ctx.page, () => getLinesAsArray(1), ['¥¥¥¥¥']);
|
||||
// change from xterm: repeat grapheme cluster
|
||||
await ctx.page.evaluate(`
|
||||
window.term.reset();
|
||||
|
||||
Reference in New Issue
Block a user