Check offline banner values before scrolling in browser test
This commit is contained in:
parent
3b1a8828bb
commit
543d8f258f
@ -6,6 +6,13 @@ describe(`Basic tests`, () => {
|
|||||||
cy.visit('http://localhost:8080/');
|
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
|
// Verify the tags show up
|
||||||
it('Has correct tags visible', () => {
|
it('Has correct tags visible', () => {
|
||||||
cy.contains('#owncast').should('be.visible');
|
cy.contains('#owncast').should('be.visible');
|
||||||
@ -40,11 +47,4 @@ describe(`Basic tests`, () => {
|
|||||||
it('Has correct global header values', () => {
|
it('Has correct global header values', () => {
|
||||||
cy.get('#global-header-text').should('have.text', 'New Owncast Server');
|
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…
x
Reference in New Issue
Block a user