Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
97f45ce
feat(ci): add GitHub Step Summary to all workflows and standardize na…
teodorciuraru Oct 2, 2025
41fb8b6
feat(ci): extract seed document logic into reusable composite action
teodorciuraru Oct 2, 2025
66ffba3
fix(javascript-web): use ORDER BY _id ASC instead of ORDER BY done
teodorciuraru Oct 2, 2025
6bec5bf
fix: use ORDER BY title ASC for consistency across all apps
teodorciuraru Oct 2, 2025
1be6a8c
fix(javascript-web): correct document ID matching in BrowserStack test
teodorciuraru Oct 2, 2025
b49e294
fix: portable head command and exact doc ID matching in tests
teodorciuraru Oct 2, 2025
9daf1c6
refactor(ci): standardize KMP workflow to use single seed job after b…
teodorciuraru Oct 2, 2025
1a444ed
refactor(ci): standardize seed job name to seed-ditto-cloud
teodorciuraru Oct 2, 2025
32d3110
refactor(ci): extract inline seed to seed-ditto-cloud job in android-…
teodorciuraru Oct 2, 2025
88b3184
refactor(ci): extract inline seed to seed-ditto-cloud job in android-…
teodorciuraru Oct 2, 2025
8d999e3
refactor(ci): standardize seed-ditto-cloud job in swift and flutter
teodorciuraru Oct 2, 2025
efec197
refactor(ci): extract inline seed to seed-ditto-cloud job in java-spring
teodorciuraru Oct 2, 2025
75e718e
fix: remove redundant job dependencies from summary jobs
teodorciuraru Oct 2, 2025
b52d6e7
fix(java-spring): ensure Ditto cloud sync is enabled at runtime
teodorciuraru Oct 2, 2025
57c7d96
fix(ci): remove retry logic from android-java and fix kotlin-multipla…
teodorciuraru Oct 2, 2025
b4a63aa
refactor(ci): move seed steps inline to BrowserStack test jobs
teodorciuraru Oct 2, 2025
a899b26
fix(ci): use specific BrowserStack links in android-cpp and java-spri…
teodorciuraru Oct 3, 2025
4db35d8
feat(ci): standardize BrowserStack naming across all workflows
teodorciuraru Oct 3, 2025
45d628f
feat(ci): remove branch restrictions to allow workflows on all branches
teodorciuraru Oct 3, 2025
7adef7f
feat(ci): standardize javascript-web BrowserStack naming and links
teodorciuraru Oct 3, 2025
c515ea0
feat(ci): move seed action into React Native test jobs
teodorciuraru Oct 3, 2025
4b29854
feat(ci): refactor javascript-web workflow to standard structure
teodorciuraru Oct 3, 2025
a8bae9e
fix(ci): add Node.js setup to javascript-web browserstack-test job
teodorciuraru Oct 3, 2025
ecd89a0
fix(ci): pre-install http-server to avoid race condition
teodorciuraru Oct 3, 2025
575f56c
fix(ci): increase BrowserStack Local tunnel wait time to 20s
teodorciuraru Oct 3, 2025
8de19ef
chore(ci): standardize summary job naming across all workflows
teodorciuraru Oct 3, 2025
158ef9b
chore(ci): add critical production-readiness fixes
teodorciuraru Oct 3, 2025
06a8389
refactor(ci): reorganize device config by SDK/app instead of framework
teodorciuraru Oct 3, 2025
de46e27
refactor(ci): standardize BrowserStack job names to browserstack-{pla…
teodorciuraru Oct 4, 2025
a5c0fba
fix(ci): remove Google Pixel 6-12.0 from Kotlin Multiplatform tests
teodorciuraru Oct 4, 2025
1366496
refactor(ci): standardize instrumentationOptions key and fix javascri…
teodorciuraru Oct 4, 2025
8664c6e
refactor(ci): standardize MAX_WAIT_TIME to 30 minutes across all work…
teodorciuraru Oct 4, 2025
847e744
refactor(ci): remove concurrency and add retry mechanism to BrowserSt…
teodorciuraru Oct 4, 2025
f8610e0
refactor(ci): add retry to javascript-web and dotnet-maui BrowserStac…
teodorciuraru Oct 4, 2025
d423c2a
refactor(ci): add retry mechanism to all remaining BrowserStack workf…
teodorciuraru Oct 4, 2025
3fa8259
fix(ci): correct browserstack script filename in javascript-web workflow
teodorciuraru Oct 4, 2025
20de0ba
refactor(ci): load BrowserStack devices from centralized JSON config
teodorciuraru Oct 4, 2025
bb20bdb
fix(ci): add 60-minute timeout to all BrowserStack retry blocks
teodorciuraru Oct 4, 2025
64774d8
refactor(ci): standardize BrowserStack timeout and test parameters
teodorciuraru Oct 4, 2025
48546a6
fix(tests): standardize test parameter to GITHUB_TEST_DOC_TITLE
teodorciuraru Oct 4, 2025
ffdc771
fix(build): standardize GITHUB_TEST_DOC_TITLE in build configs and sc…
teodorciuraru Oct 4, 2025
1e74f9f
refactor(ci): standardize all env variables to GITHUB_TEST_DOC_TITLE
teodorciuraru Oct 4, 2025
6e97b5d
refactor(tests): standardize Maestro env variable to GITHUB_TEST_DOC_…
teodorciuraru Oct 4, 2025
0b9d051
Revert "refactor(tests): standardize Maestro env variable to GITHUB_T…
teodorciuraru Oct 4, 2025
635fe44
refactor(tests): standardize Maestro variable to MAESTRO_GITHUB_TEST_…
teodorciuraru Oct 4, 2025
9b1c218
fix(tests): standardize dotnet-tui to use GITHUB_TEST_DOC_TITLE
teodorciuraru Oct 4, 2025
23aa9f9
fix(tests): standardize Flutter to use GITHUB_TEST_DOC_TITLE
teodorciuraru Oct 4, 2025
3d072e9
refactor(ci): standardize env vars and centralize device configs
teodorciuraru Oct 4, 2025
2097ce3
refactor(ci): combine Execute and Wait steps in retry blocks for andr…
teodorciuraru Oct 5, 2025
b7ce532
refactor(ci): rename Execute steps to Execute and wait for flutter/sw…
teodorciuraru Oct 5, 2025
05ec9d4
refactor(ci): combine Execute and Wait logic into single retry blocks
teodorciuraru Oct 5, 2025
bcfc3ea
refactor(ci): centralize android-cpp and dotnet-maui device configs
teodorciuraru Oct 5, 2025
9b3bea1
fix(ci): format workflow files with prettier
teodorciuraru Oct 5, 2025
d2149a2
fix(lint): format Flutter and Rust TUI code
teodorciuraru Oct 5, 2025
848a002
refactor(ci): standardize workflow triggers
teodorciuraru Oct 5, 2025
b497a0d
fix(ci): restore missing push triggers
teodorciuraru Oct 5, 2025
17af6bc
ci: trigger all workflows with empty .citest files
teodorciuraru Oct 5, 2025
a0219a3
Revert "ci: trigger all workflows with empty .citest files"
teodorciuraru Oct 5, 2025
ec2e296
refactor(ci): move dotnet-maui seeding inline to retry block
teodorciuraru Oct 5, 2025
9321f1f
refactor(ci): move android-cpp and dotnet-maui seeding inline to retr…
teodorciuraru Oct 5, 2025
bc45b5b
refactor(ci): move seed AND upload into retry blocks for android-cpp …
teodorciuraru Oct 5, 2025
ebb2383
refactor(ci): move ALL seed+upload into retry blocks for 8 workflows
teodorciuraru Oct 5, 2025
4f20d38
refactor(ci): move app/test uploads OUTSIDE retry blocks
teodorciuraru Oct 5, 2025
6a2ffb9
refactor(ci): standardize inline seeding for react-native-expo and swift
teodorciuraru Oct 5, 2025
4fd800e
debug(ci): add flutter seed API response logging
teodorciuraru Oct 5, 2025
ea58fbd
fix(ci): add -L flag to curl for following redirects in seed API calls
teodorciuraru Oct 5, 2025
3040e03
fix(ci): update all seed API calls from v1 to v4
teodorciuraru Oct 5, 2025
e27cf59
fix(ci): add branch filter to push triggers to prevent duplicate runs
teodorciuraru Oct 5, 2025
34090b7
refactor(ci): remove push triggers to optimize CI costs
teodorciuraru Oct 5, 2025
de1df22
refactor(ci): remove push triggers from TUI/WinForms workflows
teodorciuraru Oct 5, 2025
2f0650f
fix(ci): use inverted timestamp for seeded tasks
teodorciuraru Oct 5, 2025
637fa6c
fix(ci): remove backslash escaping from INVERTED_TIMESTAMP variables
teodorciuraru Oct 5, 2025
ab557a1
fix(swift): handle local network permission dialog in XCUITests
teodorciuraru Oct 5, 2025
57c7794
feat(ci): add concurrency control to all BrowserStack workflows
teodorciuraru Oct 5, 2025
009840b
fix(swift): wait for permission dialog instead of tapping random element
teodorciuraru Oct 5, 2025
dfd977f
fix(ci): standardize BrowserStack project and build names in test code
teodorciuraru Oct 5, 2025
58e16b1
fix(ci): add autoGrantPermissions for Flutter Android tests
teodorciuraru Oct 5, 2025
79037de
fix(ci): improve error handling and fix workflow dependencies
teodorciuraru Oct 5, 2025
12eb5b0
fix(ci): skip tests during Java Spring bootJar build
teodorciuraru Oct 5, 2025
7f81528
fix(ci): increase all BrowserStack job timeouts to 150 minutes
teodorciuraru Oct 5, 2025
383e5c8
fix(java-spring): add missing BrowserStack browser/OS capabilities
teodorciuraru Oct 5, 2025
12fdd61
refactor(java-spring): read BrowserStack config from browserstack-dev…
teodorciuraru Oct 5, 2025
ec0158c
docs(ci): add BrowserStack device format documentation
teodorciuraru Oct 5, 2025
3c89a4a
fix(ci): remove timeout_minutes from retry actions to fix wait behavior
teodorciuraru Oct 5, 2025
8ce0192
Revert "fix(ci): remove timeout_minutes from retry actions to fix wai…
teodorciuraru Oct 5, 2025
8589fa3
fix(ci): increase retry_wait_seconds to 900 (15 min) for BrowserStack…
teodorciuraru Oct 5, 2025
f242d9c
fix(flutter-ci): move seed+build+upload+test inside retry blocks for …
teodorciuraru Oct 6, 2025
7986963
debug: add logging for dart-define values in Flutter workflow
teodorciuraru Oct 6, 2025
b22a58e
fix(flutter-ci): remove unnecessary iOS app upload and debug logging
teodorciuraru Oct 6, 2025
0c41ad7
fix(flutter-ci): use absolute path for iOS test package upload
teodorciuraru Oct 6, 2025
f9f9160
fix(flutter-ci): add clean step before Android build
teodorciuraru Oct 6, 2025
60991cd
fix(ci): improve Flutter iOS paths and BrowserStack wait loop detection
teodorciuraru Oct 6, 2025
f1f9415
debug(ci): add extensive logging for Flutter Android dart-defines
teodorciuraru Oct 6, 2025
094357b
debug(flutter): add logging for dart-define environment variables
teodorciuraru Oct 6, 2025
5d4415d
fix(ci): export TASK_TITLE and ENCODED_TASK for subprocess visibility
teodorciuraru Oct 6, 2025
95ef047
fix(ci): correct path to browserstack-devices.json for iOS tests
teodorciuraru Oct 6, 2025
e459c37
refactor(ci): remove retry mechanism from Flutter Android tests
teodorciuraru Oct 6, 2025
5a36c61
refactor(flutter): remove retry mechanism, match PR #181 structure
teodorciuraru Oct 6, 2025
347d447
fix(flutter): correct iOS artifact name to include run number
teodorciuraru Oct 6, 2025
586c8ba
ci: retry Flutter workflow (BrowserStack capacity)
teodorciuraru Oct 6, 2025
2b37bbb
fix(flutter): revert to TASK_TO_FIND to match PR #181
teodorciuraru Oct 6, 2025
125f02d
fix(flutter): add autoGrantPermissions for Android tests
teodorciuraru Oct 6, 2025
e5499dd
Merge branch 'main' into teodorciuraru/standardize-browserstack-ci
teodorciuraru Oct 6, 2025
dec3b5a
fix(flutter): add missing INTEGRATION_TEST_MODE for Android and iOS
teodorciuraru Oct 6, 2025
b806176
feat(flutter): add retry mechanism for BrowserStack Android and iOS t…
teodorciuraru Oct 6, 2025
b8f8759
fix(flutter): move seed+build into retry block for both Android and iOS
teodorciuraru Oct 6, 2025
e798483
fix(ci): standardize BrowserStack workflow configurations
teodorciuraru Oct 6, 2025
61ca2b8
fix(ci): rename Swift workflow to Swift CI for consistency
teodorciuraru Oct 6, 2025
b59985a
fix(dotnet-maui): remove default device fallbacks, require centralize…
teodorciuraru Oct 6, 2025
fc1514b
fix(rust-tui): require DITTO_CLOUD_TASK_TITLE, no default fallback
teodorciuraru Oct 6, 2025
c0d4451
refactor(ci): migrate BrowserStack config from JSON to YAML
teodorciuraru Oct 7, 2025
7598661
refactor(ci): standardize timeout patterns and cleanup config
teodorciuraru Oct 7, 2025
3f59203
feat(ci): add PR and commit context to BrowserStack dashboard names
teodorciuraru Oct 7, 2025
fd2bb66
feat(ci): add PR context to java-spring and android-cpp workflows
teodorciuraru Oct 7, 2025
ec2517a
fix(ci): add -p=json flag to all yq eval commands parsing JSON responses
teodorciuraru Oct 7, 2025
df2b616
fix(ci): use empty string instead of 'empty' keyword in yq fallback
teodorciuraru Oct 7, 2025
f911cb0
fix(ci): truncate PR titles to 75 chars to keep BrowserStack project …
teodorciuraru Oct 7, 2025
8ee9914
chore(ci): remove unused retry-browserstack.sh script
teodorciuraru Oct 7, 2025
98613c0
fix(android-cpp): require BROWSERSTACK_DEVICE, no default fallback
teodorciuraru Oct 7, 2025
55bd4f3
feat(ci): add repo and platform to BrowserStack project names
teodorciuraru Oct 7, 2025
7226038
fix(ci): use commit message in BrowserStack build names and fix test …
teodorciuraru Oct 8, 2025
2b181dc
fix(ci): replace # with - in BrowserStack build names for compatibility
teodorciuraru Oct 8, 2025
6696c23
feat(ci): add PR title and commit message to BrowserStack build names…
teodorciuraru Oct 8, 2025
a836877
fix(ci): fix sed quote escaping in sanitization regex
teodorciuraru Oct 8, 2025
ed78f99
fix(ci): escape forward slash in sed character class for BSD sed comp…
teodorciuraru Oct 8, 2025
3597b5f
fix(ci): remove spaces in GitHub Actions variable expansion syntax
teodorciuraru Oct 8, 2025
9da89e5
fix(ci): remove # character from fallback build names
teodorciuraru Oct 8, 2025
71cb5dc
fix(ci): fetch PR info for push events to populate build names correctly
teodorciuraru Oct 8, 2025
33f4adc
refactor(ci): simplify PR info fetching to always use gh CLI
teodorciuraru Oct 8, 2025
ddffabb
feat(ci): add reusable composite action for BrowserStack build info
teodorciuraru Oct 8, 2025
e006261
fix(ci): use correct branch reference for PR info fetching
teodorciuraru Oct 8, 2025
6ef6a8c
fix(ci): update BrowserStack summary links to use project-only filter
teodorciuraru Oct 8, 2025
0a71f33
refactor(ci): migrate all workflows to use composite action for build…
teodorciuraru Oct 9, 2025
48a2ad7
refactor(ci): standardize BrowserStack summary links to use dynamic B…
teodorciuraru Oct 9, 2025
e744da2
feat(ci): add BUILD_ID extraction to all BrowserStack workflows
teodorciuraru Oct 9, 2025
fed68d9
refactor(ci): standardize BrowserStack summary links and fix project …
teodorciuraru Oct 9, 2025
58f4b1a
fix(ci): only show BrowserStack section when build_id exists
teodorciuraru Oct 9, 2025
083de99
fix(ci): add GH_TOKEN to build-info action and fix Espresso build names
teodorciuraru Oct 9, 2025
81dcf7f
refactor(ci): improve BrowserStack buildName sanitization
teodorciuraru Oct 9, 2025
c57c7ab
refactor(ci): standardize JavaScript Web to use build-info action
teodorciuraru Oct 13, 2025
5fc68d5
refactor(ci): auto-derive BrowserStack project names from workflow co…
teodorciuraru Oct 13, 2025
bfab9fe
fix(ci): add Android platform suffix to Kotlin Multiplatform workflow
teodorciuraru Oct 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
63 changes: 63 additions & 0 deletions .github/actions/generate-browserstack-names/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: 'Generate BrowserStack Names'
description: 'Auto-generates BrowserStack project name from workflow context'
inputs:
platform-suffix:
description: 'Optional platform suffix to append to build name (e.g., " (Android)", " (iOS)")'
required: false
default: ''
outputs:
project-name:
description: 'BrowserStack project name (auto-derived from workflow)'
value: ${{ steps.generate.outputs.project-name }}
build-name:
description: 'BrowserStack build name (currently returns empty - FIXME)'
value: ${{ steps.generate.outputs.build-name }}

runs:
using: 'composite'
steps:
- name: Generate BrowserStack names
id: generate
shell: bash
run: |
# Auto-derive project name from workflow file name
# Pattern: <workflow-name>-ci.yml -> quickstart - <Workflow Name>
WORKFLOW_FILE="${{ github.workflow }}"

echo "🔍 Workflow: $WORKFLOW_FILE"

# Extract platform name from workflow name and convert to title case
# Examples:
# "JavaScript Web CI" -> "JavaScript Web"
# "Android Kotlin CI" -> "Android Kotlin"
# "React Native Expo CI" -> "React Native Expo"
PLATFORM_NAME=$(echo "$WORKFLOW_FILE" | sed 's/ CI$//')

# Special case mappings for non-standard names
case "$PLATFORM_NAME" in
"Android C++")
PLATFORM_NAME="Android CPP"
;;
esac

PROJECT_NAME="quickstart - $PLATFORM_NAME"

# FIXME: Build name generation is currently broken and doesn't work properly
# For now, we return an empty string. This needs to be fixed in a future PR.
# The build name should ideally include PR context and commit info, but the
# current implementation using GitHub CLI and event context is unreliable.
#
# TODO: Implement proper build name generation that:
# 1. Reliably fetches PR information
# 2. Sanitizes strings for BrowserStack requirements
# 3. Handles both PR and non-PR contexts
# 4. Includes platform suffix when provided
BUILD_NAME=""

# Output values
echo "project-name=$PROJECT_NAME" >> $GITHUB_OUTPUT
echo "build-name=$BUILD_NAME" >> $GITHUB_OUTPUT

# Debug output
echo "📦 Project: $PROJECT_NAME"
echo "🏗️ Build: $BUILD_NAME (empty - FIXME)"
115 changes: 115 additions & 0 deletions .github/browserstack-devices.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
---
# BrowserStack Device Configuration
#
# Centralized configuration for all BrowserStack testing across CI workflows.
# Each SDK/app has its own configuration section below.
#
# Device Selection Criteria:
# - Coverage: Test across multiple OS versions (latest, current-1, current-2)
# - Market share: Focus on popular devices (Pixel, Samsung Galaxy, iPhone)
# - OS baseline: Ensure minimum supported OS versions are tested
#
# References:
# - Mobile devices: https://www.browserstack.com/docs/app-automate/api-reference/appium/devices
# - Desktop browsers: https://www.browserstack.com/docs/automate/api-reference/selenium/list-of-browsers-and-platforms

# Android C++ QuickStart
android-cpp:
devices:
- "Google Pixel 7-13.0" # Android 13 baseline

# Android Java QuickStart
android-java:
devices:
- "Google Pixel 8-14.0" # Latest Android 14
- "Samsung Galaxy S23-13.0" # Popular flagship, Android 13
- "Google Pixel 6-12.0" # Android 12 support
- "OnePlus 9-11.0" # Android 11 minimum baseline

# Android Kotlin QuickStart
android-kotlin:
devices:
- "Google Pixel 8-14.0" # Latest Android 14
- "Samsung Galaxy S23-13.0" # Popular flagship, Android 13
- "Google Pixel 6-12.0" # Android 12 support
- "OnePlus 9-11.0" # Android 11 minimum baseline

# Flutter QuickStart (multi-platform)
flutter:
android:
devices:
- "Google Pixel 7-13.0" # Android 13 baseline
- "Samsung Galaxy S23-13.0" # Popular flagship
- "Google Pixel 6-12.0" # Android 12 support
ios:
devices:
- "iPhone 13-15" # iOS 15 support
- "iPhone 14-16" # iOS 16 current
- "iPhone 12-17" # iOS 17 latest

# Kotlin Multiplatform QuickStart
kotlin-multiplatform:
android:
devices:
- "Google Pixel 8-14.0" # Latest Android 14
- "Samsung Galaxy S23-13.0" # Popular flagship

# React Native QuickStart
react-native:
android:
devices:
- "Samsung Galaxy S22-12.0" # Android 12
- "Google Pixel 7-13.0" # Android 13
ios:
devices:
- "iPhone 15-17.0" # Latest iOS 17
- "iPhone 14-16.0" # iOS 16 support

# React Native Expo QuickStart
react-native-expo:
android:
devices:
- "Samsung Galaxy S22-12.0" # Android 12
- "Google Pixel 7-13.0" # Android 13
ios:
devices:
- "iPhone 15-17.0" # Latest iOS 17
- "iPhone 14-16.0" # iOS 16 support

# .NET MAUI QuickStart (multi-platform)
dotnet-maui:
android:
devices:
- "Google Pixel 8-14.0" # Latest Android 14
- "Samsung Galaxy S23-13.0" # Popular flagship
ios:
devices:
- "iPhone 15-17.0" # Latest iOS 17
- "iPhone 14-16.0" # iOS 16 support

# Swift/iOS QuickStart
swift:
devices:
- "iPhone 15 Pro-17" # Latest flagship with iOS 17

# Java Spring (web application)
# Tests web app in desktop browsers using Selenium WebDriver
java-spring:
platforms:
- os: "Windows"
osVersion: "11"
browserName: "Chrome"
browserVersion: "latest" # Always test latest Chrome

# JavaScript Web (React web application)
# Tests web app in multiple desktop browsers
javascript-web:
browsers:
- browser: "Chrome"
browser_version: "120.0"
os: "Windows"
os_version: "11"
- browser: "Firefox"
browser_version: "121.0"
os: "Windows"
os_version: "11"
36 changes: 16 additions & 20 deletions .github/scripts/browserstack-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"""

import time
import json
import sys
import os
import yaml
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
Expand Down Expand Up @@ -58,14 +58,18 @@ def run_test(browser_config):
f"Starting test on {browser_config['browser']} {browser_config['browser_version']} on {browser_config['os']}"
)

# Set up BrowserStack options
# Get BrowserStack project and build names from environment
# These are now generated by the get-browserstack-build-info action
project_name = os.environ.get('BROWSERSTACK_PROJECT', 'quickstart - JavaScript Web')
build_name = os.environ.get('BROWSERSTACK_BUILD_NAME', f"Build-{os.environ.get('GITHUB_RUN_NUMBER', '0')}")

bs_options = {
"browserVersion": browser_config["browser_version"],
"os": browser_config["os"],
"osVersion": browser_config["os_version"],
"sessionName": f"Ditto Tasks Test - {browser_config['browser']} {browser_config['browser_version']}",
"buildName": f"Ditto JavaScript Web Build #{os.environ.get('GITHUB_RUN_NUMBER', '0')}",
"projectName": "Ditto JavaScript Web",
"buildName": build_name,
"projectName": project_name,
"local": "true",
"debug": "true",
"video": "true",
Expand Down Expand Up @@ -125,7 +129,7 @@ def run_test(browser_config):
time.sleep(3)

# Check for GitHub test document
github_doc_id = os.environ.get("GITHUB_TEST_DOC_ID")
github_doc_id = os.environ.get("DITTO_CLOUD_TASK_TITLE")
if github_doc_id:
print(f"Checking for GitHub test document: {github_doc_id}")
if wait_for_sync_document(driver, github_doc_id):
Expand Down Expand Up @@ -226,21 +230,13 @@ def run_test(browser_config):

def main():
"""Main function to run all browser tests."""
# Browser configurations to test
browsers = [
{
"browser": "Chrome",
"browser_version": "120.0",
"os": "Windows",
"os_version": "11",
},
{
"browser": "Firefox",
"browser_version": "121.0",
"os": "Windows",
"os_version": "11",
},
]
# Load browser configurations from centralized config
config_path = os.path.join(
os.path.dirname(__file__), "..", "browserstack-devices.yml"
)
with open(config_path, "r") as f:
config = yaml.safe_load(f)
browsers = config["javascript-web"]["browsers"]

# Run tests on all browsers
results = []
Expand Down
79 changes: 0 additions & 79 deletions .github/scripts/retry-browserstack.sh

This file was deleted.

Loading
Loading