Skip to content
Closed

debug #1054

Show file tree
Hide file tree
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 launchable/commands/subset.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ def run(self):

res.raise_for_status()

print("Subset response:", res.json())
original_subset = res.json().get("testPaths", [])
original_rests = res.json().get("rest", [])
subset_id = res.json().get("subsettingId", 0)
Expand Down
2 changes: 2 additions & 0 deletions launchable/test_runners/robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def parse_suite(suite: ET.Element):
skipped = ET.SubElement(testcase, "skipped") # noqa: F841

original_tree = ET.parse(p)
print("Parsing Robot Framework XML file:", p)
print("original_tree:", original_tree)
testsuite = ET.Element("testsuite", {"name": "robot"})

SUITE_TAG_NAME = "suite"
Expand Down
1 change: 1 addition & 0 deletions tests/test_runners/test_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ class RobotTest(CliTestCase):
def test_subset(self):
result = self.cli('subset', '--target', '10%', '--session',
self.session, 'robot', str(self.test_files_dir) + "/dryrun.xml")
print('stdout:', result.stdout)
self.assert_success(result)
self.assert_subset_payload('subset_result.json')

Expand Down
Loading