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

Revert back to skipping test test_rft_csv_export_plugin_exports_rft_data #6121

Merged
merged 1 commit into from
Sep 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/unit_tests/gui/test_rft_export_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"""
NUM_REALIZATIONS 3
OBS_CONFIG obs
GEN_DATA RFT_DATA INPUT_FORMAT:ASCII RESULT_FILE:rft_%d.txt REPORT_STEPS:0

Check failure on line 34 in tests/unit_tests/gui/test_rft_export_plugin.py

View workflow job for this annotation

GitHub Actions / annotate-python-linting

line too long (86 > 79 characters)
TIME_MAP time_map.txt
"""
)
Expand Down Expand Up @@ -65,6 +65,7 @@
)


@pytest.mark.skip(reason="This test is causing Coverage GUI tests to hang")
@pytest.mark.usefixtures("use_tmpdir")
def test_rft_csv_export_plugin_exports_rft_data(
qtbot, ert_rft_setup, well_file, gen_data_in_runpath
Expand Down Expand Up @@ -98,7 +99,7 @@
qtbot.waitUntil(lambda: gui.findChild(CustomDialog) is not None)
dialog = gui.findChild(CustomDialog)
assert isinstance(dialog, CustomDialog)
trajectory_field = dialog.findChild(PathChooser, name="trajectory_chooser")

Check failure on line 102 in tests/unit_tests/gui/test_rft_export_plugin.py

View workflow job for this annotation

GitHub Actions / annotate-python-linting

line too long (87 > 79 characters)
assert isinstance(trajectory_field, PathChooser)
trajectory_field._model.setValue(".")
list_field = dialog.findChild(ListEditBox, name="list_of_cases")
Expand All @@ -110,15 +111,15 @@
"""
Click on the plugin finished dialog once it pops up
"""
qtbot.waitUntil(lambda: isinstance(gui.findChild(QMessageBox), QMessageBox))

Check failure on line 114 in tests/unit_tests/gui/test_rft_export_plugin.py

View workflow job for this annotation

GitHub Actions / annotate-python-linting

line too long (88 > 79 characters)
finished_message = gui.findChild(QMessageBox)
assert isinstance(finished_message, QMessageBox)
assert "completed" in finished_message.text()
qtbot.mouseClick(finished_message.button(QMessageBox.Ok), Qt.LeftButton)

Check failure on line 118 in tests/unit_tests/gui/test_rft_export_plugin.py

View workflow job for this annotation

GitHub Actions / annotate-python-linting

line too long (84 > 79 characters)

plugin_actions = gui.tools["Plugins"].getAction().menu().actions()
rft_plugin = [
a for a in plugin_actions if a.iconText() == "GEN_DATA RFT CSV Export"

Check failure on line 122 in tests/unit_tests/gui/test_rft_export_plugin.py

View workflow job for this annotation

GitHub Actions / annotate-python-linting

line too long (82 > 79 characters)
][0]
QTimer.singleShot(500, handle_rft_plugin_dialog)
QTimer.singleShot(2000, handle_finished_box)
Expand Down
Loading