RE: Problem running the ARIA example regression tests on a windows 10 machine

Valerie,

I deleted all the node_modules directories and even reinstalled NPM and NODEJS, but still get the same error:

This is the output I get:

C:\inetpub\wwwroot\aria-practices>npm run regression

> aria-practices@0.0.0 regression C:\inetpub\wwwroot\aria-practices
> ava test/tests/*.js


× test/tests/*.js does not exist.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! aria-practices@0.0.0 regression: `ava test/tests/*.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aria-practices@0.0.0 regression script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Jon Gunderson\AppData\Roaming\npm-cache\_logs\2019-12-13T22_08_59_509Z-debug.log


Like I said it did work for me before on Windows.

Jon





From: Valerie Young <valerie@bocoup.com>
Sent: Tuesday, December 3, 2019 1:54 PM
To: Gunderson, Jon R <jongund@illinois.edu>
Cc: public-aria-practices@w3.org; spectranaut@gmail.com
Subject: Re: Problem running the ARIA example regression tests on a windows 10 machine

Jon, I think actually that is giving you the npm number.. Carolyn and and Jon, can you run from the root ava-practices directory: ./node_modules/.bin/ava --version

I am asking just in case you still have the old version of ava -- the CLI's API changed in a greenkeeper update. As a sanity check also do the following: deleting everything in `node_modules` directory, then try running `npm install`, then run `npm run regression`.

If that doesn't work I will dig into it locally, just let me know!

On Tue, Dec 3, 2019 at 7:58 AM Gunderson, Jon R <jongund@illinois.edu<mailto:jongund@illinois.edu>> wrote:
Valerie,

This is what I get on my Windows Machine:

C:\inetpub\wwwroot\aria-practices>npm ava --version
5.6.0

On my Apple Mac I get version 6.13.1

Jon




From: Valerie Young <valerie@bocoup.com<mailto:valerie@bocoup.com>>
Sent: Monday, December 2, 2019 6:30 PM
To: Gunderson, Jon R <jongund@illinois.edu<mailto:jongund@illinois.edu>>
Cc: public-aria-practices@w3.org<mailto:public-aria-practices@w3.org>; spectranaut@gmail.com<mailto:spectranaut@gmail.com>
Subject: Re: Problem running the ARIA example regression tests on a windows 10 machine

Hey Jon, can you just verify what version of AVA you have (ava --version)? Also, what branch are you running the regressions on?


On Mon, Dec 2, 2019 at 2:14 PM Gunderson, Jon R <jongund@illinois.edu<mailto:jongund@illinois.edu>> wrote:
Valarie or anyone else who can help,

I didn’t use to have this problem with the regression test on my Windows machine, but now the regression test script cannot find the test/tests/ directory.

It seems to be working fine on my macOS machine.

Here is a command line dump showing the I am in the root of the aria-practices repository and the listing on my machine of the test/tests directory.

When I run “npm run regression” it says it cannot find the tests directory.

What am I doing wrong?

I have done npm install and upgrade and so I should have the latest testing software.

I tried both using Git Bash and Microsoft command line, same results.

Jon


Jon Gunderson@WINDOWS-VLB9UED MINGW64 /c/inetpub/wwwroot/aria-practices (issue1066-combobox-fix-escape-key-and-other-bug                                               s)
$ ls test/tests/*.js
test/tests/accordion_accordion.js              test/tests/listbox_scrollable.js
test/tests/alert_alert.js                      test/tests/menubar_menubar-1.js
test/tests/breadcrumb_index.js                 test/tests/menubar_menubar-2.js
test/tests/button_button.js                    test/tests/menu-button_actions.js
test/tests/carousel_carousel-1.js              test/tests/menu-button_actions-active-descendant.js
test/tests/checkbox_checkbox-1.js              test/tests/menu-button_links.js
test/tests/checkbox_checkbox-2.js              test/tests/meter_meter.js
test/tests/combobox_autocomplete-both.js       test/tests/radio_radio-1.js
test/tests/combobox_autocomplete-list.js       test/tests/radio_radio-2.js
test/tests/combobox_autocomplete-none.js       test/tests/slider_multithumb.js
test/tests/combobox_grid-combo.js              test/tests/slider_slider-1.js
test/tests/dialog-modal_datepicker.js          test/tests/slider_slider-2.js
test/tests/dialog-modal_dialog.js              test/tests/spinbutton_datepicker.js
test/tests/disclosure_faq.js                   test/tests/table_table.js
test/tests/disclosure_img-long-description.js  test/tests/tabs_tabs-1.js
test/tests/disclosure_navigation.js            test/tests/tabs_tabs-2.js
test/tests/feed_feed.js                        test/tests/toolbar_toolbar.js
test/tests/grid_dataGrids.js                   test/tests/treegrid_treegrid-1.js
test/tests/grid_LayoutGrids.js                 test/tests/treeview_treeview-1a.js
test/tests/link_link.js                        test/tests/treeview_treeview-1b.js
test/tests/listbox_collapsible.js              test/tests/treeview_treeview-2a.js
test/tests/listbox_grouped.js                  test/tests/treeview_treeview-2b.js
test/tests/listbox_rearrangeable.js

Jon Gunderson@WINDOWS-VLB9UED MINGW64 /c/inetpub/wwwroot/aria-practices (issue1066-combobox-fix-escape-key-and-other-bug                                               s)
$ npm run regression

> aria-practices@0.0.0<mailto:aria-practices@0.0.0> regression C:\inetpub\wwwroot\aria-practices
> ava test/tests/*.js


× test/tests/*.js does not exist.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! aria-practices@0.0.0<mailto:aria-practices@0.0.0> regression: `ava test/tests/*.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aria-practices@0.0.0<mailto:aria-practices@0.0.0> regression script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Jon Gunderson\AppData\Roaming\npm-cache\_logs\2019-12-02T22_06_08_068Z-debug.log

Jon Gunderson@WINDOWS-VLB9UED MINGW64 /c/inetpub/wwwroot/aria-practices (issue1066-combobox-fix-escape-key-and-other-bug                                               s)
$



Jon Gunderson, Ph.D., CPWA
Coordinator of Accessible IT Group
University of Illinois at Urbana/Champaign
1207 S. Oak Street
Champaign, IL 61820

www: https://go.illinois.edu/jongund

Received on Friday, 13 December 2019 22:20:32 UTC