Take control over your live stream video by running it yourself. Streaming + chat out of the box.
HTML activitypubbroadcastingchatdecentralizedfederationfediversegolanghacktoberfesthlslivelivestreamowncastrtmpself-hostedstreaming-videovideo
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 be visible', () => {
cy.get('#mobile-chat-button').should('be.visible');
});
it('Click mobile chat button', () => {
cy.get('#mobile-chat-button').click();
});
it('Mobile chat modal should be visible', () => {
cy.get('.ant-modal').should('be.visible');
});
it('Chat container should be visible', () => {
cy.get('#chat-container').should('be.visible');
});
it('Chat input should be visible', () => {
cy.get('#chat-input').should('be.visible');
});
it('Can send a chat message from the mobile chat modal', () => {
cy.get('#chat-input-content-editable').type('mobile e2e message{enter}');
cy.contains('.chat-message_user', 'mobile e2e message').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();
});
it('Show change name modal', () => {
cy.contains('Change name').click();
});
});
});