@@ -850,14 +850,14 @@ def test_community_unread_messages_badge(self):
850
850
self .channel_2 .send_message (message )
851
851
self .home_1 .just_fyi ('Check new messages badge is shown for community' )
852
852
community_element_1 = self .home_1 .get_chat (self .community_name , community = True )
853
- if not community_element_1 .new_messages_community .is_element_displayed (sec = 30 ):
853
+ if not community_element_1 .new_messages_grey_dot .is_element_displayed (sec = 30 ):
854
854
self .errors .append ('New message community badge is not shown' )
855
855
856
856
community_1 = community_element_1 .click ()
857
857
channel_1_element = community_1 .get_channel (self .channel_name )
858
858
859
859
self .home_1 .just_fyi ('Check new messages badge is shown for community' )
860
- if not community_element_1 .new_messages_community .is_element_displayed ():
860
+ if not community_element_1 .new_messages_grey_dot .is_element_displayed ():
861
861
self .errors .append ('New messages channel badge is not shown on channel' )
862
862
channel_1_element .click ()
863
863
self .errors .verify_no_errors ()
@@ -966,12 +966,12 @@ def test_community_mark_all_messages_as_read(self):
966
966
self .community_2 .get_channel (self .channel_name ).click ()
967
967
self .channel_2 .send_message (self .text_message )
968
968
community_1_element = self .community_1 .get_chat (self .community_name )
969
- if not community_1_element .new_messages_public_chat .is_element_displayed (90 ):
969
+ if not community_1_element .new_messages_grey_dot .is_element_displayed (90 ):
970
970
self .errors .append ('New messages counter is not shown in home > Commmunity element' )
971
971
mark_as_read_button = self .community_1 .mark_all_messages_as_read_button
972
972
community_1_element .long_press_until_element_is_shown (mark_as_read_button )
973
973
mark_as_read_button .click ()
974
- if community_1_element .new_messages_public_chat .is_element_displayed ():
974
+ if community_1_element .new_messages_grey_dot .is_element_displayed ():
975
975
self .errors .append (
976
976
'Unread messages badge is shown in community channel while there are no unread messages' )
977
977
# TODO: there should be one more check for community channel, which is still not ready
0 commit comments