Current time: 11-29-2020, 06:36 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
All requests not being fetched during testing
11-19-2020, 04:38 PM
Post: #1
All requests not being fetched during testing
We have a test for our SPA that should make 22 calls to the server to get information (in parts). During testing it fetches a lot less and in actual fact, our test never properly progresses to the next stage of the test (apparently due to incomplete data, but it is hard to say for sure). The WPT test continues with the next step, but in reality the view is still stuck on the previous step (based on the screenshots).

If I take a clean instance of Chrome on my machine, access the same server, using exactly the same script (triggering it step by step with the console) it works perfectly.

What could cause this discrepancy?
Find all posts by this user
Quote this message in a reply
11-20-2020, 12:30 AM
Post: #2
RE: All requests not being fetched during testing
By default it will wait for 2 seconds of network idle after onload and then terminate the test. You can force it to wait for at least X seconds using "time" parameter (minimum test duration in the advanced tab of the advanced settings) or you can change the idle period threshold using the setActivityTimeout script command: https://github.com/WPO-Foundation/webpag...itytimeout
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)