Hide disabled features (#2473)

* Hide/show on notify and fediverse feature disable/enable

* Update browser tests to enable features for testing

* Hide/show features in mobile action menu

* Do not show fediauth option if fediverse features are not enabled.

* Force showing tabs when in Storybook
This commit is contained in:
Gabe Kangas
2022-12-29 16:26:04 -08:00
committed by GitHub
parent 0eba1685b3
commit 533d33847c
8 changed files with 110 additions and 70 deletions

View File

@@ -9,8 +9,8 @@ describe(`Basic tests`, () => {
// 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');
'This stream is offline. You can be notified the next time New Owncast Server goes live or follow streamer@testing.biz on the Fediverse.'
).should('exist');
});
// Verify the tags show up