Skip to content

Commit

Permalink
E2E test: fix f1 tests (#6084)
Browse files Browse the repository at this point in the history
Just needed to await completion of script that console help
functionality depends on.

### QA Notes

All help tests should pass

@:help
  • Loading branch information
testlabauto authored Jan 22, 2025
1 parent b07fed2 commit b17ca39
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/e2e/tests/help/f1.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ test.describe('F1 Help', {
await app.workbench.quickaccess.openFile(join(app.workspacePathOrFolder, 'workspaces', 'nyc-flights-data-r', 'flights-data-frame.r'));
await app.workbench.quickaccess.runCommand('r.sourceCurrentFile');

await app.workbench.variables.waitForVariableRow('df2');

await app.workbench.console.pasteCodeToConsole('colnames(df2)');
await app.workbench.console.doubleClickConsoleText('colnames');
await page.keyboard.press('F1');
Expand Down Expand Up @@ -79,6 +81,8 @@ test.describe('F1 Help', {
await app.workbench.quickaccess.openFile(join(app.workspacePathOrFolder, 'workspaces', 'nyc-flights-data-py', 'flights-data-frame.py'));
await app.workbench.quickaccess.runCommand('python.execInConsole');

await app.workbench.variables.waitForVariableRow('df');

await app.workbench.console.pasteCodeToConsole('list(df.columns)');
await app.workbench.console.doubleClickConsoleText('list');
await page.keyboard.press('F1');
Expand Down

0 comments on commit b17ca39

Please sign in to comment.