Skip to content

Commit

Permalink
Update selenium and jest tests for new hid display format
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Mar 1, 2023
1 parent b3f83a7 commit 79de6f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/components/JobParameters/JobParameters.test.js
Expand Up @@ -87,7 +87,7 @@ describe("JobParameters/JobParameters.vue", () => {
expect(elements.length).toBe(3);

checkTableParameter(elements.at(0), "Add this value", "22");
checkTableParameter(elements.at(1), linkParam.text, `${raw.hid} : ${raw.name}`);
checkTableParameter(elements.at(1), linkParam.text, `${raw.hid}: ${raw.name}`);
checkTableParameter(elements.at(2), "Iterate?", "NO");
});

Expand Down
2 changes: 1 addition & 1 deletion lib/galaxy_test/selenium/test_tool_form.py
Expand Up @@ -67,7 +67,7 @@ def test_verify_dataset_details_tables(self):
job_outputs = self._table_to_key_value_elements("table#job-outputs")
assert job_outputs[0][0].text == "environment_variables"
generic_item = job_outputs[0][1]
assert "1 : environment_variables" in generic_item.text
assert "1: environment_variables" in generic_item.text
generic_item.click()
self.sleep_for(self.wait_types.UX_RENDER)
assert generic_item.find_element(By.CSS_SELECTOR, "pre").text == "42\nmoo\nNOTTHREE"
Expand Down

0 comments on commit 79de6f4

Please sign in to comment.