Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

alert_spec.js 531B

1234567891011121314151617
  1. const helpers = require("../global-setup");
  2. describe("Alert module", function () {
  3. beforeAll(function (done) {
  4. helpers.startApplication("tests/configs/modules/alert/default.js");
  5. helpers.getDocument(done, 1000);
  6. });
  7. afterAll(function () {
  8. helpers.stopApplication();
  9. });
  10. it("should show the welcome message", function () {
  11. const elem = document.querySelector(".ns-box .ns-box-inner .light.bright.small");
  12. expect(elem).not.toBe(null);
  13. expect(elem.textContent).toContain("Welcome, start was successful!");
  14. });
  15. });