Skip to content

Commit

Permalink
Merge pull request #1103 from JulienGrv/bugfix/temporarily-disable-fa…
Browse files Browse the repository at this point in the history
…iling-gui-tests

fix(ci): skip GUI tests that fails on Windows until fixed
  • Loading branch information
danielhrisca authored Dec 9, 2024
2 parents 35bfe1e + 145c8b5 commit 22ed44e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/asammdf/gui/widgets/plot/test_PlotWidget_ContextMenu.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
from json import JSONDecodeError
import pathlib
import re
import sys
import unittest
from unittest import mock
from unittest.mock import ANY

Expand Down Expand Up @@ -844,6 +846,7 @@ def test_Action_SetRandomColor(self):
self.assertNotEqual(previous_c_color, current_c_color)
self.assertNotEqual(current_b_color, current_c_color)

@unittest.skipIf(sys.platform == "win32", "times out on Windows")
def test_Action_CopyDisplayProperties_Group(self):
"""
Test Scope:
Expand Down Expand Up @@ -1044,6 +1047,7 @@ def test_Action_PasteDisplayProperties_Group(self):
# Evaluate
self.assertEqual(group_channel_a_properties, group_channel_b_properties)

@unittest.skipIf(sys.platform == "win32", "times out on Windows")
def test_Action_CopyChannelStructure_Group(self):
"""
Test Scope:
Expand Down
4 changes: 4 additions & 0 deletions test/asammdf/gui/widgets/plot/test_PlotWidget_DoubleClick.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env python
import sys
import unittest
from unittest import mock

from PySide6 import QtCore, QtGui, QtTest
Expand Down Expand Up @@ -174,6 +176,7 @@ def test_EnableDisable_Group(self):
msg=f"Color of channel {plot_channel_0.text(self.Column.NAME)} is not present on plot.",
)

@unittest.skipIf(sys.platform == "win32", "fails on Windows")
def test_EnableDisable_ParentGroup(self):
"""
Test Scope:
Expand Down Expand Up @@ -312,6 +315,7 @@ def test_EnableDisable_ParentGroup(self):
msg=f"Color for Channel: {channel.text(self.Column.NAME)} not present on 'plot'",
)

@unittest.skipIf(sys.platform == "win32", "fails on Windows")
def test_EnableDisable_Subgroup(self):
"""
Test Scope:
Expand Down

0 comments on commit 22ed44e

Please sign in to comment.