mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 18:43:44 -05:00
[PR #1788] [MERGED] feat: add basic cypress test as initial work towards e2e tests #7576
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1788
Author: @cheahjs
Created: 4/27/2024
Status: ✅ Merged
Merged: 4/27/2024
Merged by: @tjbck
Base:
dev← Head:feat/cypress-tests📝 Commits (1)
730befcfeat: add basic cypress test as initial work towards e2e tests📊 Changes
13 files changed (+1995 additions, -38 deletions)
View changed files
📝
.eslintrc.cjs(+1 -0)➕
.github/workflows/integration-test.yml(+55 -0)📝
.gitignore(+5 -1)➕
cypress.config.ts(+8 -0)➕
cypress/e2e/chat.cy.ts(+46 -0)➕
cypress/e2e/registration.cy.ts(+52 -0)➕
cypress/e2e/settings.cy.ts(+88 -0)➕
cypress/support/e2e.ts(+73 -0)➕
cypress/support/index.d.ts(+11 -0)➕
cypress/tsconfig.json(+7 -0)📝
package-lock.json(+1644 -35)📝
package.json(+4 -1)📝
src/lib/apis/streaming/index.ts(+1 -1)📄 Description
Pull Request Checklist
Description
This a basic implementation of the Cypress test framework and a GitHub Actions workflow for running the test.
At the moment, the tests are very basic and minimal, but should have enough plumbing set up to allow for additional tests to be written relatively painlessly. An example of a workflow run can be found at https://github.com/cheahjs/open-webui-fork/actions/runs/8860092359
https://github.com/open-webui/open-webui/assets/818368/40402ec7-30b6-42de-b9ea-40258df5f158
https://github.com/open-webui/open-webui/assets/818368/34243ea1-ccee-4364-81e9-c20a477041ba
https://github.com/open-webui/open-webui/assets/818368/e7a9eaee-69f8-477e-b081-da4609ef5503
Changelog Entry
Added
Fixed
Changed
Removed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.