Address chat modal button issues (#3042)

* don't display chat button or modal if isModal is true. dont display the show/hide chat option in the userdropedown for tablet sizes either. tweak chat button styles and make chat button bg the same as the chat component bg color.

* only show chat button if online

* fix(chat): chat should be available through 5min buffer period. Fixes #3044

* fix(test): update mobile test

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
This commit is contained in:
gingervitis
2023-05-23 16:32:35 -07:00
committed by GitHub
parent b6aee0eda9
commit 29041e6d76
4 changed files with 17 additions and 7 deletions

View File

@@ -29,6 +29,10 @@ filterTests(['mobile'], () => {
cy.get('#chat-input').should('be.visible');
});
it('Chat user menu should be visible', () => {
cy.get('#chat-modal-user-menu').should('be.visible');
});
it('Click on user menu', () => {
cy.get('#chat-modal-user-menu').click();
});