Merged
Conversation
…ersions in requirements
| CHAT_HISTORY = "(//div[@style='padding: 8px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; background-color: transparent; border: 1px solid transparent; border-radius: 6px; margin-left: -8px; margin-right: -8px; transition: background-color 0.15s, border-color 0.15s; opacity: 1; pointer-events: auto;'])[1]" | ||
| MORE_OPTIONS = "(//button[@style='min-width: 24px; height: 24px; padding: 2px; color: var(--colorNeutralForeground3);'])[2]" | ||
| MORE_OPTIONS_DELETE = "(//button[@style='min-width: 24px; height: 24px; padding: 2px; color: var(--colorNeutralForeground3);'])[3]" | ||
| RENAME_OPTION = "//span[normalize-space()='Rename']" |
| @@ -0,0 +1,1625 @@ | |||
| """Home page object module for Fabric SQL automation tests.""" | |||
| import logging | |||
| import json | |||
|
|
||
| from PIL import Image | ||
| from base.base import BasePage | ||
| from config.constants import HELLO_PROMPT, GOOD_MORNING_PROMPT, RAI_PROMPT, OUT_OF_SCOPE_PROMPT |
Comment on lines
+201
to
+207
| # def pytest_runtest_makereport(item, call): | ||
| # outcome = yield | ||
| # report = outcome.get_result() | ||
| # report.description = str(item.function.__doc__) | ||
| # os.makedirs("logs", exist_ok=True) | ||
| # extra = getattr(report, "extra", []) | ||
| # report.extra = extra |
Roopan-Microsoft
approved these changes
Mar 2, 2026
Contributor
|
🎉 This PR is included in version 2.2.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request introduces a new end-to-end testing framework for the project using Playwright and pytest. It adds comprehensive configuration, utilities, and documentation to support automated browser-based testing, including enhanced logging, reporting, and test data management. Additionally, there are minor improvements to backend logging and settings handling.
End-to-End Test Framework Introduction:
tests/e2e-test/, including base page objects (base/base.py), configuration constants (config/constants.py), shared utilities for logging and summaries (tests/test_utils.py), and a pytest configuration file (pytest.ini). [1] [2] [3] [4]conftest.pyfor login/logout session management, enhanced HTML reporting with screenshots and step-by-step details, and post-run report column renaming..gitignoreto exclude Python environment, build, and test artifacts from version control in the E2E test directory.README.md) for setup, running tests, and environment configuration, along with a sample dotenv file for credentials. [1] [2]requirements.txtlisting all necessary dependencies for running the E2E tests.Backend Improvements:
app.pyby setting its log level to WARNING.settings.pyto explicitly setprotected_namespacesto an empty tuple in the_AIFoundrySettingsclass.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information