• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Test suite for MagicMirror²

Scheduled Pinned Locked Moved Upcoming Features
42 Posts 5 Posters 38.5k Views 6 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    qistoph @roramirez
    last edited by Feb 12, 2017, 10:31 AM

    @roramirez what do you mean by “S.O”?

    R 1 Reply Last reply Feb 12, 2017, 4:36 PM Reply Quote 0
    • R Offline
      roramirez Core Contributors @qistoph
      last edited by Feb 12, 2017, 4:36 PM

      @qistoph Sorry, Spanish acronymous. I mean Operating System.

      On the another hand. The same commit is passed in Travis on my personal forked but in the main Mich’s repository failed.

      https://travis-ci.org/roramirez/MagicMirror/builds/200750569 (Pass)
      https://travis-ci.org/MichMich/MagicMirror/builds/200750793 (Fail)

      It’s so weird.

      Easy module development with MagicMirror Module Template

      Q 1 Reply Last reply Feb 12, 2017, 4:52 PM Reply Quote 0
      • Q Offline
        qistoph @roramirez
        last edited by Feb 12, 2017, 4:52 PM

        @roramirez my tests ran on Ubuntu.

        The failed build you’re linking has timeouts. That’s the issue I added to the Trello board. We could increase the timeout a bit and see if it happens again in the next days.

        Ask Mich to re-run the failed build, he should be able to click that option in Travis, being the owner of the project. See if that fails again. That resolved it for me before.

        R 1 Reply Last reply Feb 12, 2017, 6:45 PM Reply Quote 0
        • R Offline
          roramirez Core Contributors @qistoph
          last edited by Feb 12, 2017, 6:45 PM

          @qistoph it’s pushed https://github.com/MichMich/MagicMirror/pull/716

          Easy module development with MagicMirror Module Template

          1 Reply Last reply Reply Quote 0
          • R Offline
            roramirez Core Contributors
            last edited by Feb 20, 2017, 3:21 PM

            Hey guys,

            I pushed up a small refactoring for tests.
            https://github.com/MichMich/MagicMirror/pull/728

            This is a improvement for create new tests without unnecessary repeat inside of code.

            Something I wasnt think now is how can be integrate the case test created by @qistoph because this is set a app.path inside of test (It’s something I have not tried…yet)

            https://github.com/MichMich/MagicMirror/blob/e62df3b3b18cc98b65656194fa5baa53b9110fbc/tests/e2e/dev_console.js#L37

            Easy module development with MagicMirror Module Template

            1 Reply Last reply Reply Quote 0
            • R Offline
              roramirez Core Contributors
              last edited by Feb 21, 2017, 9:54 PM

              A little update and I requests ideas and help

              Today I’m playing with a test for newsfeed module. Its not functional. I’m using the same MagicMirror as backend for response a feed (in the future can be good idea a fake server for testing purposes).

              The patch can you find on
              https://github.com/roramirez/MagicMirror/commit/db87f9e15b79827e947316c3ffba5b4ca49854b7

              The main case is the waiting the tests for module title and titles of news. There a delay around a 1 second after the “loading…” when is show in screen. Somebody have an idea to gets this test?

              Easy module development with MagicMirror Module Template

              R 1 Reply Last reply Mar 11, 2017, 3:49 PM Reply Quote 0
              • R Offline
                roramirez Core Contributors @roramirez
                last edited by Mar 11, 2017, 3:49 PM

                I fixed before mentioned https://github.com/roramirez/MagicMirror/commit/2a94ee55ccb8fa06f4d07c2a67307b5ed0a659a3

                :)

                Easy module development with MagicMirror Module Template

                1 Reply Last reply Reply Quote 0
                • R Offline
                  roramirez Core Contributors
                  last edited by Mar 28, 2017, 4:48 PM

                  The last build of today.

                  0_1490719678643_Screenshot at 2017-03-28 13-42-01.png

                  Easy module development with MagicMirror Module Template

                  R 1 Reply Last reply Apr 9, 2017, 1:39 AM Reply Quote 1
                  • R Offline
                    roramirez Core Contributors @roramirez
                    last edited by Apr 9, 2017, 1:39 AM

                    I mention this here if someone can help

                    If use moment-timezone for a test this fail

                    • Fail in Travis: https://travis-ci.org/roramirez/MagicMirror/builds/220155902
                    • Commit example: https://github.com/roramirez/MagicMirror/commit/05d7c9556e773bf2b941035953200ff327efb476

                    Easy module development with MagicMirror Module Template

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      roramirez Core Contributors
                      last edited by May 3, 2017, 2:45 AM

                      Hi Guys, are you still alive?

                      Sometimes the build failed, an example here
                      https://travis-ci.org/MichMich/MagicMirror/jobs/227577643

                      Someone have some idea how to fix this?

                      cc @qistoph @strawberry-3-141 @morozgrafix

                      Easy module development with MagicMirror Module Template

                      Q 1 Reply Last reply May 4, 2017, 7:31 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 3 / 5
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy