Skip to content

Commit

Permalink
Expand console area for gradio test (#5408)
Browse files Browse the repository at this point in the history
### Intent

Due to #5407 , the console pane needs to be bigger for windows CI Tests

### Approach

In gradio test, added minimizing both sidebars before running app, then bringing them back before viewer is checked.

### QA Notes

Python app test should pass.
https://github.com/posit-dev/positron/actions/runs/11900458691
  • Loading branch information
jonvanausdeln authored Nov 18, 2024
1 parent c6b91c2 commit 55da54d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/smoke/src/areas/positron/apps/python-apps.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,14 @@ describe('Python Applications #pr', () => {
const viewer = app.workbench.positronViewer;

await app.workbench.quickaccess.openFile(join(app.workspacePathOrFolder, 'workspaces', 'python_apps', 'gradio_example', 'gradio_example.py'));
await app.workbench.quickaccess.runCommand('workbench.action.toggleSidebarVisibility');
await app.workbench.quickaccess.runCommand('workbench.action.toggleAuxiliaryBar');
await app.workbench.positronEditor.pressPlay();
await app.workbench.quickaccess.runCommand('workbench.action.toggleAuxiliaryBar');
await expect(async () => {
await expect(viewer.getViewerFrame().getByRole('button', { name: 'Submit' })).toBeVisible({ timeout: 30000 });
}).toPass({ timeout: 60000 });
await app.workbench.quickaccess.runCommand('workbench.action.toggleSidebarVisibility');
});

it('Python - Verify Basic Streamlit App [C903308] #web #win', async function () {
Expand Down

0 comments on commit 55da54d

Please sign in to comment.