Page MenuHomePhabricator

[LEX] [TECH] Set up Cypress in WikibaseLexeme
Closed, ResolvedPublic

Description

As part of porting our browser tests to Cypress, we first need to create an initial setup.

To check that it works, we can port the simple “hello world” test spec that was initially added to set up Selenium (T189677).

EntitySchema has a working Cypress setup - see T333427 for the change that introduced that.

Acceptance criteria:

  • developers can run Cypress locally
  • at least one Cypress test (even if it doesn’t do much) runs in CI, and blocks merges if it fails

Event Timeline

ArthurTaylor renamed this task from [LEX] [TECH] Set up Cypress in WikibaseLexeme to [LEX] [SW] [TECH] Set up Cypress in WikibaseLexeme.Feb 26 2024, 10:40 AM
ArthurTaylor renamed this task from [LEX] [SW] [TECH] Set up Cypress in WikibaseLexeme to [LEX] [TECH] Set up Cypress in WikibaseLexeme.Feb 28 2024, 10:19 AM
ArthurTaylor updated the task description. (Show Details)
ArthurTaylor updated the task description. (Show Details)

Change #1060407 had a related patch set uploaded (by Audrey Penven; author: Audrey Penven):

[mediawiki/extensions/WikibaseLexeme@master] Add hello world cypress test

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

Change #1060407 merged by jenkins-bot:

[mediawiki/extensions/WikibaseLexeme@master] Add initial Cypress setup and first test

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