Skip to content

Commit ca0cd3b

Browse files
committed
flake
1 parent 25c1741 commit ca0cd3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/insomnia-smoke-test/tests/smoke/environment-editor-interactions.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ test.describe('Environment Editor', () => {
112112
const bodyEditor = page.getByRole('dialog').getByTestId('CodeEditor').getByRole('textbox');
113113
// move cursor right and input json string
114114
await bodyEditor.focus();
115-
await bodyEditor.press('ArrowRight');
116-
await bodyEditor.fill('"anotherString":"kvAnotherStr","anotherNumber": 12345');
115+
await page.keyboard.press('ControlOrMeta+a');
116+
await page.keyboard.type('{"anotherString":"kvAnotherStr","anotherNumber": 12345}');
117117
// Submit and wait for the JSON modal to close before proceeding
118118
await page.getByRole('button', { name: 'Modal Submit' }).click();
119119
await expect.soft(page.getByRole('dialog', { name: 'Modal' })).toBeHidden();

0 commit comments

Comments
 (0)