Page MenuHomePhabricator

[QA task] Testing UI workflows
Closed, ResolvedPublic

Description

All issues refer to the following page: https://wikifunctions.beta.wmflabs.org/wiki/Z10064

Filed in T329982 (1) anon user doesn't have Edit source button available but there is View source tab which will allow anon users to see the page editing mode: https://wikifunctions.beta.wmflabs.org/w/index.php?title=Z10064&action=edit

Screen Shot 2023-04-09 at 5.31.19 PM.png (1×2 px, 220 KB)

The error: { "type": "error", "text": "ZError of type Z557" } is there a reference list of errors?
There is "Not wellformed" (additional work on phrasing may be needed here?) error for anon users - should anon users be informed of such errors since they would not be able to publish anyway?
Screen Shot 2023-04-09 at 5.42.04 PM.png (946×2 px, 194 KB)

N/A (2) A user clicks on "Show label box/Hide label box" - the Console error will be displayed: TypeError: Cannot read properties of undefined (reading 'length')
Screen Shot 2023-04-09 at 3.47.35 PM.png (1×2 px, 336 KB)

DONE (3) https://wikifunctions.beta.wmflabs.org/wiki/Z10064?success=true Multiplying 2*7=14 still produce failed Test results implementation with

Validator error summary:
[Z506/Argument type mismatch]
[Z518/Object type mismatch]
UI issues

N/A (4) There are duplicate links on a page

Screen Shot 2023-04-09 at 5.10.37 PM.png (1×2 px, 185 KB)

N/A (5) Extra white space

Screen Shot 2023-04-09 at 5.21.59 PM.png (606×2 px, 71 KB)
Screen Shot 2023-04-09 at 5.23.58 PM.png (1×1 px, 188 KB)

Event Timeline

About errors:

There is a Reference page for errors: https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Representation_of_errors
However, the user should not see "Error of type Z557" but the human-readable label of the error instead: "User does not have permission to edit"
This should be filed as a bug.

About publish dialog for Anon users:

They should not be able to attempt a save at all. I see three levels of issues that concern me:

  • Should not be able to go to the edit page, or
  • Should not see an active "Publish" button, and if they attempt it,
  • They should be given a Z557 (user cannot edit) even before being returned a Z502 (validation error)

Errors in the label box

Duplicate labels

  • Same as above, this component will be deprecated soon.

Extra white space in the dialog

Change 933646 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/WikiLambda@master] DefaultView: Hard code non-edit mode for logged-out users for now

https://gerrit.wikimedia.org/r/933646

Closing this QA task as Resolved.

About errors:

There is a Reference page for errors: https://meta.wikimedia.org/wiki/Abstract_Wikipedia/Representation_of_errors
However, the user should not see "Error of type Z557" but the human-readable label of the error instead: "User does not have permission to edit"
This should be filed as a bug.

About publish dialog for Anon users:

They should not be able to attempt a save at all. I see three levels of issues that concern me:

  • Should not be able to go to the edit page, or
  • Should not see an active "Publish" button, and if they attempt it,
  • They should be given a Z557 (user cannot edit) even before being returned a Z502 (validation error)

This issue has been addressed in T329982.

Errors in the label box

Duplicate labels

  • Same as above, this component will be deprecated soon.

Extra white space in the dialog

Yes, all those issues are a part of deprecated UI design.

I've updated the task description to reflect that only one issue is still present.

Change 933646 abandoned by Jforrester:

[mediawiki/extensions/WikiLambda@master] DefaultView: Hard code non-edit mode for logged-out users for now

Reason:

https://gerrit.wikimedia.org/r/933646