Page MenuHomePhabricator

E2E test for CUJ 2: Create a function definition
Closed, ResolvedPublic

Description

Context
We currently have a suite of end-to-end (E2E) tests that run on every patch merge request. We'd like to add test cases for the 7 critical user journeys (CUJs).

User flow

  1. Find the function creation page in the Wikifunctions landing page
  2. Go to the function creation page
  3. Name my function
  4. Define my function inputs
    1. Add/remove input fields
    2. Define each input type
    3. Define each input label
  5. Define my function output type
    1. Optionally provide multilingual options for any of these fields
  6. Function name, function aliases, input labels
  7. Get educational information about optional/mandatory fields
  8. Publish my function
    1. Visualize function definition successfully saved
    2. IF ERROR: Visualize function saving errors in a clear way for me to correct and re-save

Hints

Event Timeline

SDunlap triaged this task as High priority.Oct 28 2022, 6:59 PM
SDunlap created this task.

Change 868787 had a related patch set uploaded (by Teleosteen; author: Teleosteen):

[mediawiki/extensions/WikiLambda@master] CUJ 2: Create a function definition

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

@SDunlap Is this the kind of scenario you had in mind?

Also could you please help me to fulfill this:

B. IF ERROR: Visualize function saving errors in a clear way for me to correct and re-save

I have no clue about a scenario which can lead to the rejection of the function creation. Thanks in advance!

Change 868787 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] CUJ 2: Create a function definition

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