diff options
-rw-r--r-- | bitbake/lib/toaster/tests/functional/test_project_page.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/tests/functional/test_project_page.py b/bitbake/lib/toaster/tests/functional/test_project_page.py index 0e36b44ffd..deb26812ea 100644 --- a/bitbake/lib/toaster/tests/functional/test_project_page.py +++ b/bitbake/lib/toaster/tests/functional/test_project_page.py | |||
@@ -719,16 +719,16 @@ class TestProjectPage(SeleniumFunctionalTestCase): | |||
719 | remove_layer_btn.click() | 719 | remove_layer_btn.click() |
720 | self.wait_until_visible('#change-notification', poll=2) | 720 | self.wait_until_visible('#change-notification', poll=2) |
721 | change_notification = self.find('#change-notification') | 721 | change_notification = self.find('#change-notification') |
722 | self.assertTrue( | 722 | self.assertIn( |
723 | f'You have removed 1 layer from your project' in str(change_notification.text) | 723 | f'You have removed 1 layer from your project', str(change_notification.text) |
724 | ) | 724 | ) |
725 | # check add layer button works, 18 is the random layer id | 725 | # check add layer button works, 18 is the random layer id |
726 | add_layer_btn = self.find('#add-remove-layer-btn') | 726 | add_layer_btn = self.find('#add-remove-layer-btn') |
727 | add_layer_btn.click() | 727 | add_layer_btn.click() |
728 | self.wait_until_visible('#change-notification') | 728 | self.wait_until_visible('#change-notification') |
729 | change_notification = self.find('#change-notification') | 729 | change_notification = self.find('#change-notification') |
730 | self.assertTrue( | 730 | self.assertIn( |
731 | f'You have added 1 layer to your project' in str(change_notification.text) | 731 | f'You have added 1 layer to your project', str(change_notification.text) |
732 | ) | 732 | ) |
733 | # check tabs(layers, recipes, machines) are displayed | 733 | # check tabs(layers, recipes, machines) are displayed |
734 | tabs = self.find_all('.nav-tabs li') | 734 | tabs = self.find_all('.nav-tabs li') |