[DRAFT] [MAINT] Reactivate GUI tests from the CI#3867
Draft
Conversation
…lled and similar API changes for PySide6
…ng if it has a size
…ting functionality
…creating the slicer to ensure an empty dictionary is not returned
…d has been disabled
… skip list in pytest config
…ectories to the norecurse list
…re running the tests
0b6b117 to
009a892
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This is currently a draft because I don't know if linux will handle the tests as well as Windows.
This is a comprehensive redo of the GUI tests. This includes a number of changes to fix a series of the tests, but I couldn't get them all working. Running the tests locally, I got pretty far, but need to stop where I am and move on to other things. Currently, 38 tests are labelled as skip or xfail, and four test files are not run (more below).
Things changed
xfailandskipAddMultiEditorTest.pyto a sub folder ofUtilites\UnitTestingand added that directory to the pytestnorecursedirslist (Loading the editor is segfaulting right now...)norecursedirslist because of the major changes to it - most all of the tests currently failnorecursedirslist because it is still experimental and many of its tests failFixes #2322
How Has This Been Tested?
Ran
python -m pytest --disable-warnings -p no:logging .\src\sas\qtgui\from the base sasview directory.Review Checklist:
[Documentation (check at least one)
Installers
Licensing (untick if necessary)