@@ -414,7 +414,7 @@ def click_on_internal_links_in_header_auth1(self):
414414 link .click ()
415415 Wait (self .driver , 10 ).until (EC .url_changes (current_url ))
416416 opened_pages .append (self .get_current_tab_url ())
417- print (* opened_pages , sep = '\n ' )
417+ # print(*opened_pages, sep='\n')
418418 return opened_pages
419419
420420 @allure .step ("""Click on direct internal links in the Header
@@ -452,7 +452,7 @@ def click_on_direct_internal_links_in_header_auth(self):
452452 Wait (self .driver , 10 ).until (EC .url_changes (current_url ))
453453 current_url = self .get_current_tab_url ()
454454 opened_pages .append (current_url )
455- print (* opened_pages , sep = '\n ' )
455+ # print(*opened_pages, sep='\n')
456456
457457 return opened_pages
458458
@@ -467,39 +467,39 @@ def click_on_direct_external_links_in_header_auth(self):
467467 current_tab_url = self .get_current_tab_url ()
468468 opened_pages .append (current_tab_url )
469469 self .driver .switch_to .window (self .driver .window_handles [0 ])
470- print (* opened_pages , sep = '\n ' )
470+ # print(*opened_pages, sep='\n')
471471 return opened_pages
472472
473473 @allure .step ("Click on the 'Groups' link #2 for AUTHORIZED user" )
474474 def click_on_Groups_link_auth2 (self ):
475475 self .click_more_button ()
476476 self .element_is_present_and_clickable (self .locators1 .LINK_GROUPS_AUTH2 ).click ()
477477 current_url = self .get_current_tab_url ()
478- print (current_url )
478+ # print(current_url)
479479 return current_url
480480
481481 @allure .step ("Click on the 'Statistics' link #2 for AUTHORIZED user" )
482482 def click_on_Statistics_link_auth2 (self ):
483483 self .click_more_button ()
484484 self .element_is_present_and_clickable (self .locators1 .LINK_STATISTICS_AUTH2 ).click ()
485485 current_url = self .get_current_tab_url ()
486- print (current_url )
486+ # print(current_url)
487487 return current_url
488488
489489 @allure .step ("Click on the 'About' link #2 for AUTHORIZED user" )
490490 def click_on_About_link_auth2 (self ):
491491 self .click_more_button ()
492492 self .element_is_present_and_clickable (self .locators1 .LINK_ABOUT_AUTH2 ).click ()
493493 current_url = self .get_current_tab_url ()
494- print (current_url )
494+ # print(current_url)
495495 return current_url
496496
497497 @allure .step ("Click on the 'Contacts' link for AUTHORIZED user -- ACTUAL" )
498498 def click_on_Contacts_link_auth (self ):
499499 self .click_more_button ()
500500 self .element_is_present_and_clickable (self .locators1 .LINK_CONTACTS_AUTH ).click ()
501501 current_url = self .get_current_tab_url ()
502- print (current_url )
502+ # print(current_url)
503503 return current_url
504504
505505 @allure .step ("Click on the 'Specialists' link for AUTHORIZED user -- ACTUAL" )
@@ -509,7 +509,7 @@ def click_on_Specialists_link_auth(self):
509509 self .element_is_present_and_clickable (self .locators1 .LINK_SPECIALISTS_AUTH ).click ()
510510 Wait (self .driver , 10 ).until (EC .url_changes (current_url ))
511511 current_url = self .get_current_tab_url ()
512- print (current_url )
512+ # print(current_url)
513513 return current_url
514514
515515 @allure .step ("Click on the 'Contributors' link for AUTHORIZED user -- ACTUAL" )
@@ -519,7 +519,7 @@ def click_on_Contributors_link_auth(self):
519519 self .element_is_present_and_clickable (self .locators1 .LINK_CONTRIBUTORS_AUTH ).click ()
520520 Wait (self .driver , 10 ).until (EC .url_changes (current_url ))
521521 current_url = self .get_current_tab_url ()
522- print (current_url )
522+ # print(current_url)
523523 return current_url
524524
525525 @allure .step ("Click on the 'Used Resources' link for AUTHORIZED user -- ACTUAL" )
@@ -529,6 +529,16 @@ def click_on_Used_Resources_link_auth(self):
529529 self .element_is_present_and_clickable (self .locators1 .LINK_USED_RESOURCES_AUTH ).click ()
530530 Wait (self .driver , 10 ).until (EC .url_changes (current_url ))
531531 current_url = self .get_current_tab_url ()
532+ # print(current_url)
533+ return current_url
534+
535+ @allure .step ("Click on the 'Audiometry' link for AUTHORIZED user -- ACTUAL" )
536+ def click_on_Audiometry_link_auth (self ):
537+ current_url = self .get_current_tab_url ()
538+ self .click_more_button ()
539+ self .element_is_present_and_clickable (self .locators1 .LINK_AUDIOMETRY_AUTH ).click ()
540+ Wait (self .driver , 10 ).until (EC .url_changes (current_url ))
541+ current_url = self .get_current_tab_url ()
532542 print (current_url )
533543 return current_url
534544
0 commit comments