mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-15 04:13:47 +00:00
48093b8651
* ux/54-help tooltips * ux/54-help refetch after mutation * ux/54-help broadcast event index * ux/54-help prevent multiple keypresses when key held * ux/54-help fat clock * ux/54-help progress bar user defined * ux/54-help onAir is button * ux/54-help OSC: add missing presenter message * ux/54-help OSC: enable / disable OSC * ux/54-help handle timezone in excel date import * ux/54-help tray left click to show app * ux/54-help create queriable endpoint * ux/54-help fix memoisation in lower thirds * ux/54-help revise icons * ux/54-help clarify text * ux/54-help forgiving text parsing * ux/54-help add smart keywords * ux/54-help version bump
49 lines
1.2 KiB
JavaScript
49 lines
1.2 KiB
JavaScript
// go trough routes and make sure things render as expected
|
|
describe('validate routes', () => {
|
|
it('viewer routes', () => {
|
|
cy.visit('http://localhost:4001/');
|
|
cy.contains('Time Now');
|
|
|
|
cy.visit('http://localhost:4001/timer');
|
|
cy.contains('Time Now');
|
|
|
|
cy.visit('http://localhost:4001/presenter');
|
|
cy.contains('Time Now');
|
|
|
|
cy.visit('http://localhost:4001/speaker');
|
|
cy.contains('Time Now');
|
|
|
|
cy.visit('http://localhost:4001/stage');
|
|
cy.contains('Time Now');
|
|
|
|
cy.visit('http://localhost:4001/backstage');
|
|
cy.contains('Today');
|
|
cy.contains('Time Now');
|
|
cy.contains('Info');
|
|
|
|
cy.visit('http://localhost:4001/sm');
|
|
cy.contains('Today');
|
|
cy.contains('Time Now');
|
|
cy.contains('Info');
|
|
|
|
cy.visit('http://localhost:4001/public');
|
|
cy.contains('Today');
|
|
cy.contains('Time Now');
|
|
cy.contains('Info');
|
|
|
|
cy.visit('http://localhost:4001/pip');
|
|
cy.contains('Today');
|
|
cy.contains('Info');
|
|
|
|
cy.visit('http://localhost:4001/studio');
|
|
cy.contains('ON AIR');
|
|
});
|
|
it('editor routes', () => {
|
|
cy.visit('http://localhost:4001/editor');
|
|
cy.contains('Event List');
|
|
cy.contains('Timer Control');
|
|
cy.contains('Display Messages');
|
|
cy.contains('Info');
|
|
});
|
|
});
|