Sei-calendar: Page NOT stable

Posted by: rsikarwar on 7 April 2020, 1:08 am EST

    • Post Options:
    • Link

    Posted 7 April 2020, 1:08 am EST - Updated 3 October 2022, 7:32 am EST

    Hi Team,

    We are using angular testabilities to check the page for stability. Looks like when we select a date from previous month, the page becomes UNSTABLE.

    Below is the sample code:

    
    function isPageStable() {
        var testabilities = document.defaultView.getAllAngularTestabilities();
        for (var i=0; i< testabilities.length; i++) {
          var stable = testabilities[i].isStable();
          if(!stable) 
            return false; // Page is UNSTABLE
          }
        return true; // Page is STABLE
      }
    
    

    It returns TRUE if the we select date from the same month.

    When we choose a back date in sei-calendar, and then executes the above script, it returns FALSE.

    Steps to reproduce:

    • "

      Copy/paste the script mentioned on the console.

      Choose any date within the current month.

      Call isPageStable() on the console.It will return True.(See PASSED.jpg attached)

      Choose any date from previous month

      call isPageStable() on the console. It will return FALSE.(See Failed.jpg attached)

      "

    See stackblitz here:

    https://stackblitz.com/edit/wijmo-calendar-not-stable?file=src/app/hello.component.ts

    See screenshots attached.

  • Posted 7 April 2020, 5:45 pm EST - Updated 3 October 2022, 7:31 am EST

    Hi Rohit,

    We were unable to replicate the issue at our end even if we used the steps that you provided. Please refer to the screenshot below:

    Can you please let us know whether we are missing something in order to replicate the issue?

    Regards,

    Ashwin

  • Posted 8 April 2020, 2:25 am EST - Updated 3 October 2022, 7:31 am EST

    Please see the attached gif.

  • Posted 8 April 2020, 10:32 pm EST

    Hi Rohit,

    We were able to replicate the issue this time. We have forwarded this to the dev team with internal tracking id 430772. We will update you as soon as this issue is fixed.

    The issue was actually not by selecting any previous date, but by changing the month.

    ~regards

  • Posted 23 April 2020, 9:29 pm EST

    Hi,

    The issue is fixed in the latest nightly build. You may verify the same using the sample below:

    https://stackblitz.com/edit/wijmo-calendar-not-stable-djzpqt

    I have already added the isPageStable method to the window object so you may directly verify the stability using the console.

    PS: Nightly builds have not passed through the QA cycles as all of our release builds do. Therefore, they are not suitable for production.

    ~regards

  • Posted 24 April 2020, 2:44 am EST

    Hi Ashwin,

    In which stable version of wijmo I can expect this fix?

  • Posted 26 April 2020, 2:58 pm EST

    Hi,

    Our stable build has just been release a couple of weeks earlier, so we do not have an ETA on when the next stable build will be released. But, we will update you once it is released.

    ~regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels