w3c / aria-at-app

Test runner and results reporter for ARIA-AT
http://aria-at.w3.org/
Other
35 stars 15 forks source link

fix: add test for decimal rowNumber test automation (See #1106) #1114

Closed gnarf closed 1 month ago

gnarf commented 1 month ago

Thanks for adding that data @howard-e - here is the test case for decimal rowNumber in automation.

I did test this with a reverted #1105

 FAIL  tests/integration/automation-scheduler.test.js (24.564 s)
  ● Automation controller › should update job results with decimal presentationNumber

    expect(received).toEqual(expected) // deep equality

    Expected: "ZmE3YeyIyIjoiMTYwIn0zFmMD"
    Received: "YzM3MeyIyIjoiMTYwIn0TFmNj"

      637 |             expect(testResults.length).toEqual(testResultsNumber + 1);
      638 |             testResults.forEach(testResult => {
    > 639 |                 expect(testResult.test.id).toEqual(selectedTest.id);
          |                                            ^
      640 |                 expect(testResult.atVersion.name).toEqual(
      641 |                     at.atVersions[0].name
      642 |                 );

      at toEqual (tests/integration/automation-scheduler.test.js:639:44)
          at Array.forEach (<anonymous>)
      at forEach (tests/integration/automation-scheduler.test.js:638:25)
      at Object.sessionAgentDbCleaner (tests/util/api-server.js:62:5)
      at Object.<anonymous> (tests/integration/automation-scheduler.test.js:571:9)