Skip to content

Commit

Permalink
fix integration tests locally
Browse files Browse the repository at this point in the history
  • Loading branch information
shapiromatron committed Aug 21, 2024
1 parent 6b3734d commit 1c83cbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/IndividualModel/Summary.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Summary extends Component {
}
}

return <TwoColumnTable id="info-table" data={data} label="Modeling Summary" />;
return <TwoColumnTable data={data} label="Modeling Summary" />;
}
}
Summary.propTypes = {
Expand Down
5 changes: 3 additions & 2 deletions tests/integration/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,9 @@ def test_multi_tumor(self):
page.locator("#close-modal").click()

# check one result (individual)
page.get_by_role("link", name="Multistage 1*").click()
expect(page.get_by_role("dialog")).to_contain_text("Multistage 1")
expect(page.get_by_role("link", name="Multistage 2*")).to_have_count(3)
page.get_by_role("link", name="Multistage 2*").nth(1).click()
expect(page.get_by_role("dialog")).to_contain_text("Multistage 2")
page.locator("#close-modal").click()

# Read-only
Expand Down

0 comments on commit 1c83cbe

Please sign in to comment.