Audit scenario - Only 1 page tested

Hello,
I’m trying to run a scenario audit under Asqatasun V5 (Docker desktop), my scenario works fine while running it under Selenium IDE before exporting it, I made sure I visited different pages. Once I launch the audit on Asqatasun, I don’t have any error or audit fail, but I only have 1 page tested and the audit is over.
I saw that there was already one similar topic but there was no answer yet!

Hi @oanass,

Could you please provide us with more information:

  • Version of Firefox used —> see: asqatasun-docker repository (default is 78.14esr, but 91.1.0esr is also available)
  • can you provide us a URL? (here or by private message)
  • can you provide us a .side file? (here or by private message)
  • can you specify front-end technologies used (html/css only, html/css/js, react, vujs or angular)?
  • can you try your basic scenario wikipedia.org.json (2.7 KB)? If it’s works, we can provide you more complex scenario files.

Hi @fabrice,
The version I’m using is 78.15.0esr.
the Url I’m testing : https://amadeus.com/en
I tried the basic scenario and it did work once! I tried to launch the same file again and it kept failing!

I’m a new user so I couldn’t upload the json file. I have to paste in here :
Sorry if it’s too long.

{
  "id": "34bc939b-2b4e-42ec-ae34-f4150f785aa6",
  "version": "2.0",
  "name": "NewDemo",
  "url": "https://amadeus.com",
  "tests": [{
    "id": "31ddad35-ad63-44b7-a8cb-0d27ecb03a3a",
    "name": "NewTest",
    "commands": [{
      "id": "4847f0d5-2132-474f-85de-ed966cf15bd9",
      "comment": "",
      "command": "open",
      "target": "/en",
      "targets": [],
      "value": ""
    }, {
      "id": "97fffe87-352b-4b0e-bfdb-d51943c16f0d",
      "comment": "",
      "command": "setWindowSize",
      "target": "1550x838",
      "targets": [],
      "value": ""
    }, {
      "id": "14b3033a-738e-40fd-9dc3-09a19075de01",
      "comment": "",
      "command": "click",
      "target": "css=.nav-item:nth-child(4) > .navMainLinks > div",
      "targets": [
        ["css=.nav-item:nth-child(4) > .navMainLinks > div", "css:finder"],
        ["xpath=//li[4]/a/div", "xpath:position"]
      ],
      "value": ""
    }, {
      "id": "f4771917-0bb3-4392-8359-a96976da8770",
      "comment": "",
      "command": "runScript",
      "target": "window.scrollTo(0,102.4000015258789)",
      "targets": [],
      "value": ""
    }, {
      "id": "044f265a-e6a8-46a2-881c-a28cb9c00bf0",
      "comment": "",
      "command": "click",
      "target": "linkText=Read More",
      "targets": [
        ["linkText=Read More", "linkText"],
        ["css=.bg-primary:nth-child(4)", "css:finder"],
        ["xpath=(//a[contains(text(),'Read More')])[3]", "xpath:link"],
        ["xpath=//main[@id='content-main']/div/div/div/div[2]/div/div/div/article/div[2]/div/div/a", "xpath:idRelative"],
        ["xpath=//a[contains(@href, '/en/insights/blog/business-is-better-in-real-life')]", "xpath:href"],
        ["xpath=//article/div[2]/div/div/a", "xpath:position"]
      ],
      "value": ""
    }]
  }],
  "suites": [{
    "id": "0525acb6-e0d9-4a22-b5e5-075d0dbd2533",
    "name": "Default Suite",
    "persistSession": false,
    "parallel": false,
    "timeout": 300,
    "tests": ["31ddad35-ad63-44b7-a8cb-0d27ecb03a3a"]
  }],
  "urls": ["https://amadeus.com/"],
  "plugins": []
}

Hi @oanass,

First of all, I notice this website is not very fast to display the 1st time (for me, between 5s to 12 seconds). I invite you to test it with webpagetest.org to have more information on this point.

Then, I tested your asqa_amadeus.com_1.side.json scenario file in Selenium IDE. With several repetitions, scenario fails several times and succeeds other times. It seems that scenario in Selenium IDE does not fail when it was played just before (firefox cache or server, I don’t know).

Sélection_035