From 2ba4e74a85c5d1429aa1d993bcb1164350f123c8 Mon Sep 17 00:00:00 2001 From: vijaysawant Date: Tue, 21 May 2024 17:23:28 +0530 Subject: [PATCH] update xpaths for subscription manager manifest modal box --- airgun/views/subscription.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/airgun/views/subscription.py b/airgun/views/subscription.py index f93c491da..14a38a3d0 100644 --- a/airgun/views/subscription.py +++ b/airgun/views/subscription.py @@ -161,9 +161,13 @@ class manifest(SatTab): alert_message = Text( '//div[@id="manifest-history-tabs-pane-1"]/div/h3//following-sibling::div[@aria-label="Warning Alert" or @aria-label="Danger Alert"]' ) - expire_header = Text('//div[@id="manifest-history-tabs-pane-1"]//following::div/h4') - expire_message = Text('//div[@id="manifest-history-tabs-pane-1"]//following::div[1]/div[2]/span') - expire_date = Text('//div[@id="manifest-history-tabs-pane-1"]/div[1]/div[3]/div[2]') + expire_header = Text('//div[@id="manifest-history-tabs-pane-1"]/div/div/h4') + expire_message = Text( + '//div[@id="manifest-history-tabs-pane-1"]/div/div/h4//following-sibling::div' + ) + expire_date = Text( + '//div[@id="manifest-history-tabs-pane-1"]/div/hr//following-sibling::div[2]/div[2]' + ) red_hat_cdn_url = TextInput(id='cdnUrl') manifest_file = FileInput(id='usmaFile') refresh_button = Button('Refresh')