Skip to content

Commit 47b9581

Browse files
authored
Merge pull request #1525 from Shadow243/fixed-selenium-8
fix(backend): expand_section test failing
2 parents edc738d + 619a89c commit 47b9581

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

tests/selenium/folder_list.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,18 @@ def reload_folder_list(self):
3434

3535
def expand_section(self):
3636
self.by_css('[data-bs-target=".settings"]').click()
37-
list_item = self.by_class('menu_home')
37+
list_item = self.by_class('menu_dev')
3838
list_item.click()
3939
self.wait_with_folder_list()
4040
self.wait_for_navigation_to_complete()
41-
assert self.by_class('content_title').text == 'Home'
41+
assert self.by_class('content_title').text == 'Developer Documentation'
4242

4343
def collapse_section(self):
44+
self.by_css('[data-bs-target=".settings"]').click()
4445
section = self.by_css('.settings.folders.collapse')
4546
expanded_class = section.get_attribute('class')
47+
print("collapse_section")
48+
print(expanded_class)
4649
assert 'show' in expanded_class
4750
self.load()
4851
section = self.by_css('.settings.folders.collapse')

0 commit comments

Comments
 (0)