From bdc4620715d253436be2c5527b7a47184b67fd27 Mon Sep 17 00:00:00 2001 From: Jacob Kozol Date: Fri, 19 Mar 2021 12:08:58 +0100 Subject: [PATCH] test: remove log contents checking Log validation should be done in osbuild-composer not in cockpit-composer. Therefore, the logs check is removed. --- test/verify/check-image | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/test/verify/check-image b/test/verify/check-image index ec0e61bc8..11d95f903 100755 --- a/test/verify/check-image +++ b/test/verify/check-image @@ -558,12 +558,8 @@ class TestLargeImage(composerlib.ComposerCase): with b.wait_timeout(3600): b.wait_text("li[aria-labelledby={}] [data-status=true]".format(selector), "Image build complete") - # log should contains rpm, hostname, users stages and tar assembler + # log should open and close b.click("li[aria-labelledby={}] button:contains('Logs')".format(selector)) - b.wait_in_text("#{}-logs".format(uuid), "Stage org.osbuild.rpm") - b.wait_in_text("#{}-logs".format(uuid), "Stage: org.osbuild.rpm-ostree") - b.wait_in_text("#{}-logs".format(uuid), "Assembler org.osbuild.ostree.commit") - # close logs b.click("li[aria-labelledby={}] button:contains('Logs')".format(selector)) # download image @@ -777,13 +773,8 @@ class TestLargeImage(composerlib.ComposerCase): "composer-cli compose info {} | head -1 | awk '{{print $6}}'".format(uuid) ).rstrip() self.assertEqual(int(image_size), 4 * 1024 * 1024 * 1024) - # log should contains rpm, hostname, users stages and tar assembler + # log should open and close b.click("li[aria-labelledby={}] button:contains('Logs')".format(selector)) - b.wait_in_text("#{}-logs".format(uuid), "Stage org.osbuild.rpm") - b.wait_in_text("#{}-logs".format(uuid), "Stage: org.osbuild.hostname") - b.wait_in_text("#{}-logs".format(uuid), "Stage: org.osbuild.users") - b.wait_in_text("#{}-logs".format(uuid), "Assembler org.osbuild.qemu") - # close logs b.click("li[aria-labelledby={}] button:contains('Logs')".format(selector)) # download image