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

PR: Add more tests for the main window #4110

Merged
merged 8 commits into from
Feb 10, 2017

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Feb 6, 2017

This adds a test for issue #4085 and also for running cells and files.

@ccordoba12 ccordoba12 added this to the v3.1.3 milestone Feb 6, 2017
@ccordoba12 ccordoba12 changed the title Add more tests for the main window PR: Add more tests for the main window Feb 6, 2017
@ccordoba12 ccordoba12 force-pushed the test-4085 branch 3 times, most recently from d61f97e to 0da85ed Compare February 9, 2017 23:13
@ccordoba12 ccordoba12 merged commit 3a3e38a into spyder-ide:3.1.x Feb 10, 2017
@ccordoba12 ccordoba12 deleted the test-4085 branch February 10, 2017 00:17
ccordoba12 added a commit that referenced this pull request Feb 10, 2017
ccordoba12 added a commit that referenced this pull request Feb 10, 2017
# Perform the test
# Note: There's always one file open in the Editor
editorstack = main_window.editor.get_current_editorstack()
assert editorstack.get_stack_count() == 2
Copy link
Member

Choose a reason for hiding this comment

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

This test fails when there are previous files open in Spyder (in a previous session)

Copy link
Member Author

Choose a reason for hiding this comment

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

It's meant to be run in CIs. We could skip it if we're not running it not in a CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants