Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Update UI tests to reflect new defaults

Gabe Kangasf22d9abd7e0d
diff --git a/test/automated/browser/cypress/e2e/offline/01_offline_basic.cy.js b/test/automated/browser/cypress/e2e/offline/01_offline_basic.cy.js
index a4bae7dee0..a3da21bce0 100644
--- a/test/automated/browser/cypress/e2e/offline/01_offline_basic.cy.js
+++ b/test/automated/browser/cypress/e2e/offline/01_offline_basic.cy.js
@@ -30,7 +30,7 @@ describe(`Basic tests`, () => {
// Verify content header values
it('Has correct content header values', () => {
- cy.get('.header-title').should('have.text', 'Owncast');
+ cy.get('.header-title').should('have.text', 'New Owncast Server');
cy.get('.header-subtitle').should(
'have.text',
'Welcome to your new Owncast server! This description can be changed in the admin. Visit https://owncast.online/docs/configuration/ to learn more.'
@@ -38,13 +38,13 @@ describe(`Basic tests`, () => {
});
it('Has correct global header values', () => {
- cy.get('.global-header-text').should('have.text', 'Owncast');
+ 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 Owncast goes live.'
+ 'This stream is offline. Be notified the next time New Owncast Server goes live.'
).should('be.visible');
});
});