aria-at icon indicating copy to clipboard operation
aria-at copied to clipboard

Refactor Actions Menu Button Example Using element.focus() Test Plan to V2 Test Format

Open IsaDC opened this issue 1 year ago • 2 comments

Preview Tests

IsaDC avatar Aug 28 '24 23:08 IsaDC

@mcking65 This Pull Request includes the feedback we discussed in today's CG meeting.

IsaDC avatar Aug 28 '24 23:08 IsaDC

@mcking65 All done :)

IsaDC avatar Sep 11 '24 16:09 IsaDC

@IsaDC

There's a bug in the setup script for tests 8. If you first run setup for test 7, the test 8 setup will set focus to the wrong item. If you refresh browser cache, the test 8 script will then work correctly and set focus to the first item.

To reproduce:

  1. Open the test plan in Chrome.
  2. Open the test 7 test window.
  3. Run the setup script for test 7.
  4. Close the test 7 window .
  5. Open the test 8 test window.
  6. Run the test 8 setup.

Expected behavior: Focus is set on action 1.

Actual behavior: Focus is set on action 4.

mcking65 avatar Oct 23 '24 07:10 mcking65

@IsaDC

There's a bug in the setup script for tests 8. If you first run setup for test 7, the test 8 setup will set focus to the wrong item. If you refresh browser cache, the test 8 script will then work correctly and set focus to the first item.

To reproduce:

  1. Open the test plan in Chrome.
  2. Open the test 7 test window.
  3. Run the setup script for test 7.
  4. Close the test 7 window .
  5. Open the test 8 test window.
  6. Run the test 8 setup.

Expected behavior: Focus is set on action 1.

Actual behavior: Focus is set on action 4.

Thank you, @mcking65, for reporting this. I haven’t been able to reproduce the issue so far, as both setup scripts seem to be working correctly and setting focus as expected. @jscholes, could you take a look when you have a chance?

IsaDC avatar Oct 23 '24 13:10 IsaDC