0
owncast/test/automated/browser/cypress/e2e/offline/06_offline_mobile.cy.js
Gabe Kangas 69f217f758
Refactor mobile chat into modal (#3038)
* feat(mobile): refactor mobile chat into modal

- Make page always scrollable
- Move mobile chat into a standalone modal

* fix(test): split out mobile browser test specs

* fix(mobile): force chat button to render on top of footer

* fix: some small updates from review

* fix: hide/show hide chat menu option based on width

* fix: chat button icon getting cut off

* chore(tests): add browser tests for mobile chat modal

* chore(tests): add story for ChatModal component

* fix(test): quiet shellcheck

* fix: remove unused import

* fix(tests): silence storybook linting warning

* fix(ui): reposition chat modal button icon with transform
2023-05-22 18:56:44 -07:00

17 lines
389 B
JavaScript

import { setup } from '../../support/setup.js';
import filterTests from '../../support/filterTests';
setup();
filterTests(['mobile'], () => {
describe(`Live mobile tests`, () => {
it('Can visit the page', () => {
cy.visit('http://localhost:8080');
});
it('Mobile chat button should not be visible', () => {
cy.get('#mobile-chat-button').should('not.exist');
});
});
});