mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +03:00
Check offline banner values before scrolling in browser test
This commit is contained in:
parent
3b1a8828bb
commit
543d8f258f
1 changed files with 7 additions and 7 deletions
|
@ -6,6 +6,13 @@ describe(`Basic tests`, () => {
|
|||
cy.visit('http://localhost:8080/');
|
||||
});
|
||||
|
||||
// Offline banner
|
||||
it('Has correct offline banner values', () => {
|
||||
cy.contains(
|
||||
'This stream is offline. Be notified the next time New Owncast Server goes live.'
|
||||
).should('be.visible');
|
||||
});
|
||||
|
||||
// Verify the tags show up
|
||||
it('Has correct tags visible', () => {
|
||||
cy.contains('#owncast').should('be.visible');
|
||||
|
@ -40,11 +47,4 @@ describe(`Basic tests`, () => {
|
|||
it('Has correct global header values', () => {
|
||||
cy.get('#global-header-text').should('have.text', 'New Owncast Server');
|
||||
});
|
||||
|
||||
// Offline banner
|
||||
it('Has correct offline banner values', () => {
|
||||
cy.contains(
|
||||
'This stream is offline. Be notified the next time New Owncast Server goes live.'
|
||||
).should('be.visible');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue