Skip to content

Automate tests for camera API endpoints#1073

Closed
sbelhaik wants to merge 4 commits intorelease-2026.0from
sbel/automate-camera-api
Closed

Automate tests for camera API endpoints#1073
sbelhaik wants to merge 4 commits intorelease-2026.0from
sbel/automate-camera-api

Conversation

@sbelhaik
Copy link
Contributor

@sbelhaik sbelhaik commented Feb 23, 2026

📝 Description

Automate API test scenarios for camera endpoints.

JIRA: ITEP-87644

✨ Type of Change

Select the type of change your PR introduces:

  • 🐞 Bug fix – Non-breaking change which fixes an issue
  • 🚀 New feature – Non-breaking change which adds functionality
  • 🔨 Refactor – Non-breaking change which refactors the code base
  • 💥 Breaking change – Changes that break existing functionality
  • 📚 Documentation update
  • 🔒 Security update
  • 🧪 Tests
  • 🚂 CI

🧪 Testing Scenarios

Describe how the changes were tested and how reviewers can test them too:

cd tests/api && pytest -s test_sscape_api.py --file scenarios/camera_api.json --junitxml=test-results.xml

  • ✅ Tested manually
  • 🤖 Ran automated end-to-end tests

✅ Checklist

Before submitting the PR, ensure the following:

  • 🔍 PR title is clear and descriptive
  • 📝 For internal contributors: If applicable, include the JIRA ticket number (e.g., ITEP-123456) in the PR title. Do not include full URLs
  • 💬 I have commented my code, especially in hard-to-understand areas
  • 📄 I have made corresponding changes to the documentation
  • ✅ I have added tests that prove my fix is effective or my feature works

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds automated API test scenarios for camera endpoints in the SceneScape API test framework. The tests are defined in a JSON scenario file that will be executed by the existing data-driven test runner (test_sscape_api.py).

Changes:

  • Added comprehensive camera API test scenarios covering CRUD operations (Create, Read, Update, Delete)
  • Included both positive test cases (valid payloads) and negative test cases (missing required fields, invalid UIDs)
  • Implemented 16 test scenarios covering camera creation, update, retrieval, and deletion operations

@sbelhaik sbelhaik marked this pull request as ready for review February 24, 2026 11:09
@sbelhaik sbelhaik changed the base branch from main to release-2026.0 February 25, 2026 12:18
@Irakus Irakus deleted the branch release-2026.0 February 25, 2026 15:41
@Irakus Irakus closed this Feb 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants