Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E test: fix plot save issue #5465

Merged
merged 1 commit into from
Nov 22, 2024
Merged

E2E test: fix plot save issue #5465

merged 1 commit into from
Nov 22, 2024

Conversation

testlabauto
Copy link
Contributor

Python plot save was failing. Added a brief wait before clicking save and a wait for the dialog to disappear.

QA Notes

All smoke tests should pass.

Copy link
Contributor

@jonvanausdeln jonvanausdeln left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Fixed it for me on windows!

@@ -149,9 +149,14 @@ test.describe('Plots', () => {
await app.code.driver.getLocator('.positron-modal-dialog-box .file .positron-button.drop-down-list-box').click();
await app.workbench.positronPopups.clickOnModalDialogPopupOption('JPEG');

// bug workaround
await app.code.wait(1000);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like these...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No one does :)
Feel free to try and find something to wait on. There is nothing that i see

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might circle back after I update user settings fixes. 🙃

@testlabauto testlabauto merged commit e26c7d2 into main Nov 22, 2024
9 of 10 checks passed
@testlabauto testlabauto deleted the cmead/fix-plots-save branch November 22, 2024 17:12
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants