Skip to content

Commit

Permalink
Adjust E2E test to match new deletion flow
Browse files Browse the repository at this point in the history
  • Loading branch information
tillprochaska authored and Rosencrantz committed Apr 26, 2023
1 parent 5e7627f commit e8e0840
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e/models/investigations.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def delete(self):
self.page.get_by_role("link", name=self.name).click()
self.page.get_by_role("navigation").get_by_role("button").click()
self.page.get_by_role("menuitem", name="Delete investigation").click()
self.page.get_by_role("button", name="Delete").click()
self.page.get_by_label("Confirmation").fill(self.name)
self.page.get_by_role("button", name="Delete this investigation").click()

self.page.reload()
expect(self.page.get_by_text(self.name)).to_have_count(0)
Expand Down

0 comments on commit e8e0840

Please sign in to comment.