Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jooola committed Jul 13, 2022
1 parent f22ef38 commit bd535b6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions e2e/cypress/e2e/settings.spec.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@ describe("settings", () => {

cy.contains("Connected to the streaming server");
});

it("user settings should work", () => {
cy.login();
cy.contains("Settings").click();
cy.get("#sub-menu").children().contains("Users").click();

cy.contains("Connected to the streaming server");
});
});
16 changes: 16 additions & 0 deletions e2e/cypress/e2e/webstreams.spec.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
describe("webstreams", () => {
it("webstreams should work", () => {
cy.login();
cy.contains("Webstreams").click();
cy.get('button[id="sb-new"]').click();
cy.get('input[class="playlist_name_display"]').clear().type("Test Name");
cy.get('dd[id="description-element"]')
.children()
.get("textarea")
.type("Test Description");
cy.get('dd[id="streamurl-element"]')
.children()
.get("input")
.type("http://some-url.org");
});
});

0 comments on commit bd535b6

Please sign in to comment.