core icon indicating copy to clipboard operation
core copied to clipboard

[full-ci] Test feat editable public link file 20220805

Open phil-davis opened this issue 1 year ago • 1 comments

Test code and adjustments for #40264

This is rebased to current master so as to get some recent enhancements to acceptance test code that I did in the last few days.

phil-davis avatar Aug 05 '22 04:08 phil-davis

Note: the existing acceptance test code has different ways of remembering the details of public links created by an API request and with the webUI.

API requests provide lots of detail in the response, so the tests can save all of it, and thus get back whatever identifying information they need in later Then steps.

But when creating with the webUI, we don't have easy access to the API request-response that the webUI makes. So we save what data we can gather from the UI itself.

Much of the test code has 2 paths for this stuff - test steps that work with the saved API response data, and other test steps that work with the saved webUI data. I patched things up a bit so that some functions are smart enough to look in both places for the information they need. Actually it would be good to refactor this test code so that it works more cleanly, but that is a job for another day. I don't want to add a big refactoring to this PR! I will raise a separate issue for refactoring.

phil-davis avatar Aug 11 '22 10:08 phil-davis

This has been cherry-picked into #40264

phil-davis avatar Aug 12 '22 02:08 phil-davis