mirror of
https://github.com/Microsoft/vscode
synced 2024-07-07 19:50:26 +00:00
Re-enable flaky auto replies tests
Need a new playwright trace from a failure to be able to diagnose Part of #139083
This commit is contained in:
parent
927096c078
commit
d33e3d2fbc
|
@ -4,7 +4,6 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import { Application, Terminal, SettingsEditor } from '../../../../automation';
|
||||
import { itSkipOnFail } from '../../utils';
|
||||
|
||||
export function setup() {
|
||||
describe('Terminal Input', () => {
|
||||
|
@ -25,13 +24,13 @@ export function setup() {
|
|||
await terminal.runCommandInTerminal(`"\r${text}`, true);
|
||||
}
|
||||
|
||||
itSkipOnFail('should automatically reply to default "Terminate batch job (Y/N)"', async () => {
|
||||
it('should automatically reply to default "Terminate batch job (Y/N)"', async () => {
|
||||
await terminal.createTerminal();
|
||||
await writeTextForAutoReply('Terminate batch job (Y/N)?');
|
||||
await terminal.waitForTerminalText(buffer => buffer.some(line => line.includes('Terminate batch job (Y/N)?Y')));
|
||||
});
|
||||
|
||||
itSkipOnFail('should automatically reply to a custom entry', async () => {
|
||||
it('should automatically reply to a custom entry', async () => {
|
||||
await settingsEditor.addUserSetting('terminal.integrated.autoReplies', '{ "foo": "bar" }');
|
||||
await terminal.createTerminal();
|
||||
await writeTextForAutoReply('foo');
|
||||
|
|
Loading…
Reference in New Issue
Block a user