[PR #534] [MERGED] server: Initial stab at e2e tests #805

Closed
opened 2026-02-27 09:09:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lldap/lldap/pull/534
Author: @pixelrazor
Created: 4/7/2023
Status: Merged
Merged: 4/14/2023
Merged by: @pixelrazor

Base: mainHead: feature/integration


📝 Commits (10+)

📊 Changes

18 files changed (+940 additions, -62 deletions)

View changed files

📝 Cargo.lock (+190 -62)
📝 server/Cargo.toml (+26 -0)
server/tests/common/auth.rs (+27 -0)
server/tests/common/env.rs (+37 -0)
server/tests/common/fixture.rs (+240 -0)
server/tests/common/graphql.rs (+121 -0)
server/tests/common/mod.rs (+4 -0)
server/tests/graphql.rs (+70 -0)
server/tests/integrations.rs (+57 -0)
server/tests/ldap.rs (+112 -0)
server/tests/queries/add_user_to_group.graphql (+5 -0)
server/tests/queries/create_group.graphql (+6 -0)
server/tests/queries/create_user.graphql (+5 -0)
server/tests/queries/delete_group.graphql (+5 -0)
server/tests/queries/delete_user.graphql (+5 -0)
server/tests/queries/get_user_details.graphql (+16 -0)
server/tests/queries/list_groups.graphql (+9 -0)
server/tests/queries/list_users.graphql (+5 -0)

📄 Description

Basic test for starting point. They run sequentially and generate unique users and groups. Contributes to #18


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lldap/lldap/pull/534 **Author:** [@pixelrazor](https://github.com/pixelrazor) **Created:** 4/7/2023 **Status:** ✅ Merged **Merged:** 4/14/2023 **Merged by:** [@pixelrazor](https://github.com/pixelrazor) **Base:** `main` ← **Head:** `feature/integration` --- ### 📝 Commits (10+) - [`06412fb`](https://github.com/lldap/lldap/commit/06412fb4e9a6ae69a410e2ccdbf8f75b34a9c294) Initial stab at tests - [`0534eb9`](https://github.com/lldap/lldap/commit/0534eb969442e461ba3cec76d0eb521e0bcd590b) Reorganize and tidy up - [`69b7e7e`](https://github.com/lldap/lldap/commit/69b7e7e8b5a8ad3dd7aca7c63a2427060be64ecf) Change expect message - [`c1d22d1`](https://github.com/lldap/lldap/commit/c1d22d1176f06db122d73de932bca33b143cd997) clippy feedback - [`e0987dd`](https://github.com/lldap/lldap/commit/e0987dd1137063a0b697bdf4af0dbabdf1ff9a36) More clippy fixes - [`57b1346`](https://github.com/lldap/lldap/commit/57b1346ce660a934c7ce904dde96b284a49ad83c) Partial feedback - [`401ba17`](https://github.com/lldap/lldap/commit/401ba1726b1a3ee39f0d2d7b39310d0f7da79416) Add ldap and grapql admin user/group test - [`e822269`](https://github.com/lldap/lldap/commit/e8222695b41c40913323c0ac0664d20080e7911d) Clippy fixes - [`a4a7247`](https://github.com/lldap/lldap/commit/a4a724766b8267780e64b948fd78f75482ca615d) feedback - [`7a4ab63`](https://github.com/lldap/lldap/commit/7a4ab6358a54808b9944eb1223ab17f496a47deb) Merge branch 'main' into feature/integration ### 📊 Changes **18 files changed** (+940 additions, -62 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+190 -62) 📝 `server/Cargo.toml` (+26 -0) ➕ `server/tests/common/auth.rs` (+27 -0) ➕ `server/tests/common/env.rs` (+37 -0) ➕ `server/tests/common/fixture.rs` (+240 -0) ➕ `server/tests/common/graphql.rs` (+121 -0) ➕ `server/tests/common/mod.rs` (+4 -0) ➕ `server/tests/graphql.rs` (+70 -0) ➕ `server/tests/integrations.rs` (+57 -0) ➕ `server/tests/ldap.rs` (+112 -0) ➕ `server/tests/queries/add_user_to_group.graphql` (+5 -0) ➕ `server/tests/queries/create_group.graphql` (+6 -0) ➕ `server/tests/queries/create_user.graphql` (+5 -0) ➕ `server/tests/queries/delete_group.graphql` (+5 -0) ➕ `server/tests/queries/delete_user.graphql` (+5 -0) ➕ `server/tests/queries/get_user_details.graphql` (+16 -0) ➕ `server/tests/queries/list_groups.graphql` (+9 -0) ➕ `server/tests/queries/list_users.graphql` (+5 -0) </details> ### 📄 Description Basic test for starting point. They run sequentially and generate unique users and groups. Contributes to #18 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 09:09:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#805
No description provided.