Skip to content

Commit

Permalink
Amplify testPods
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpitt committed Oct 12, 2023
1 parent 97fe2f4 commit 852fe88
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions test/check-application
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,9 @@ class TestApplication(testlib.MachineCase):
self.performPodAction("pod-1", "system", "Restart")
self.waitRestart("test-pod-1-system", old_start, auth=True)

b.eval_js('window.debugging = "podman"')
b.cdp.trace = True

self.performPodAction("pod-1", "system", "Delete")
b.click(".pf-v5-c-modal-box button:contains(Delete)")
# Alert should be shown, that running pods need to be force deleted.
Expand Down Expand Up @@ -401,6 +404,33 @@ class TestApplication(testlib.MachineCase):
b.click("#table-pod-3-title .pod-details-volumes-btn")
b.wait_in_text(".pf-v5-c-popover__content", "/tmp ↔ /app")

def testPods2(self):
self.testPods()

def testPods3(self):
self.testPods()

def testPods4(self):
self.testPods()

def testPods5(self):
self.testPods()

def testPods6(self):
self.testPods()

def testPods7(self):
self.testPods()

def testPods8(self):
self.testPods()

def testPods9(self):
self.testPods()

def testPods10(self):
self.testPods()

def testBasicSystem(self):
self._testBasic(True)

Expand Down

0 comments on commit 852fe88

Please sign in to comment.