mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 11:23:50 +00:00
Feat/205 (#207)
* feat(text-background): add discrete text background to <Minimal> * refactor: convert <Minimal> to typescript * feat(clock): create <Clock> view * feat(clock): version bump
This commit is contained in:
@@ -92,6 +92,16 @@ describe('validate routes', () => {
|
||||
cy.contains('Running Timer');
|
||||
});
|
||||
|
||||
describe('clock view timer', () => {
|
||||
it('renders base route', () => {
|
||||
// base route
|
||||
cy.visit('http://localhost:4001/clock');
|
||||
cy.get('[data-testid="clock-view"]').should('exist');
|
||||
// ontime fallsback to stage timer on errors, so we check for that
|
||||
cy.get('.App').should('not.contain', 'Time Now');
|
||||
});
|
||||
});
|
||||
|
||||
describe('minimal timer and options', () => {
|
||||
it('renders base route', () => {
|
||||
// base route
|
||||
|
||||
Reference in New Issue
Block a user