(Open) One effect of timeouts.allScriptsTimeout in uiveri5

There is an issue

A smart table loads data in reuse component endlessly, the page needs to be reloaded in uiveri5 before this bug is fixed.

Setps to reproduce the issue

1.Click button on Object Page A;
2.Navigate to Canvas Page 'B', contans a smart table, will request data from backend endlessly ;

The solution of reload the page in uiveri5

Insert "2. waiting action" before call the "3. should reload the page ", otherwise will reload the Object Page A.
The uiveri5 spec was passed.

But the setp2 wastes 3.5 mins.
The reason is that timeouts.allScriptsTimeout is 200000(near about 3.5 mins) .
Question 1: why the step 2 needs so long time, it is existing on the page header.
Maybe the smart table keep loading issue affects it, they are on the on page(Canvas Page B).

Then I changed the timeouts.allScriptsTimeout to 20000.
As expected, the execution time of step 2 greatly reduced.

The parameter 'allScriptsTimeout' is under the 'timeouts' .
Question 2:why there is no time out error for step 2?

it("1. should click button on Object  Page A", async () => {

  //Click button 'Simulate' 
  When.onThePageA.iClickButtonByID(
    sId
  );
});

it("2. waiting action", async () => {

  //This step is just for waiting the Canvas Page displays, then reload the page 'B', otherwise will reload the Object Page 'A'
  Then.onTheCanvasPageB.iWatingAction();

});

it("3. should reload the page ", async () => {

  await browser.driver.navigate().refresh();
  await browser.loadUI5Dependencies();

});
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容