Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge develop into master (remove gRPC, basic group()s) #1703

Merged
merged 125 commits into from
Sep 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
f5af8ca
Add schema and empty package
zltnDC Aug 11, 2023
9abecbb
Add schema definition, and resolveSchema function
zltnDC Aug 11, 2023
8bcfe72
Add dart generator
zltnDC Aug 11, 2023
a809e5e
Add simple swift message builder
zltnDC Aug 11, 2023
fce81a6
Extend schema
zltnDC Aug 11, 2023
c1ba157
Add NativeAutomator to schema
zltnDC Aug 11, 2023
4b39776
Fix schema and dart generator
zltnDC Aug 11, 2023
051250f
Add simple telegraph generator
zltnDC Aug 11, 2023
0913afb
Add list support in schema
zltnDC Aug 17, 2023
3123f5d
Add json_serializable to patrol. Add script to generate models from s…
zltnDC Aug 17, 2023
64cdc96
Add type mapping to ios generator
zltnDC Aug 17, 2023
25345b7
Add enums to ios output
zltnDC Aug 17, 2023
c6c2bc8
Add telegraph dependency
zltnDC Aug 17, 2023
70161a9
Comment PatrolAppService in contracts.proto
zltnDC Aug 18, 2023
ae36c7f
Add shelf server generator
zltnDC Aug 18, 2023
5a4ec9d
Fix url path
zltnDC Aug 18, 2023
11b6889
Migrate ios generator
zltnDC Aug 21, 2023
26d0840
Fix schema
zltnDC Aug 22, 2023
4a0496a
Migrate swift PatrolAppServiceClient
zltnDC Aug 22, 2023
ab4851f
Print address details
zltnDC Aug 22, 2023
f0359cd
Improve shelf handler
zltnDC Aug 22, 2023
63f50a0
Add dart client generation
zltnDC Aug 22, 2023
fe25e8e
Get rid of grpc on the dart side
zltnDC Aug 22, 2023
a2b671a
Migrate telegraph generator api to new style
zltnDC Aug 22, 2023
9cc9c5d
Remove grpc, migrate to new contracts
zltnDC Aug 23, 2023
3ff0978
Generate telegraph routes and handlers
zltnDC Aug 23, 2023
8b71239
Add telegraph server
zltnDC Aug 24, 2023
ad55462
Fix dart deserialization
zltnDC Aug 24, 2023
f9d4f6f
Fix app crash when using dark mode on iOS simulators
zltnDC Aug 24, 2023
aedf943
Change Swift client address
zltnDC Aug 24, 2023
127a801
Add more logs
zltnDC Aug 24, 2023
7dbfb15
Change shelf config
zltnDC Aug 24, 2023
babd1d2
Throw exception for CI logs
zltnDC Aug 24, 2023
02dce75
Fix macro
zltnDC Aug 25, 2023
c399cb5
Comment using DispatchGroup
zltnDC Aug 25, 2023
4f26b3a
Verify race condition theory
zltnDC Aug 25, 2023
950e875
Change timeouts
zltnDC Aug 25, 2023
97c224e
Downgrade http
zltnDC Aug 25, 2023
b36b435
Change dart client default timeout
zltnDC Aug 25, 2023
0dc056b
Add android contracts generation
zltnDC Aug 28, 2023
c052f9b
Fix ios client generation
zltnDC Aug 28, 2023
1583d53
Remove grpc and protobuf dependencies and contracts
zltnDC Aug 28, 2023
2c6c4e4
Add contracts generator
zltnDC Aug 28, 2023
279e42d
Add http4k server generator
zltnDC Aug 28, 2023
6d12854
Update schema
zltnDC Aug 29, 2023
22d061d
Migrate AutomatorServer and ContractsExtensions
zltnDC Aug 29, 2023
ddf551d
Update schema, migrate automator
zltnDC Aug 29, 2023
5ee8c41
Generate client and setup PatrolServer
zltnDC Aug 29, 2023
41d774e
Remove gradlewrapper
zltnDC Aug 30, 2023
9a3edb5
Fix build and runtimes problems
zltnDC Aug 30, 2023
de94685
Add generator
zltnDC Sep 5, 2023
cdf408c
Update generated client
zltnDC Sep 5, 2023
79d3887
Switch server
zltnDC Sep 5, 2023
6b1cb73
Merge branch 'master' into feature/stop-depending-on-gRPC-code-generator
zltnDC Sep 12, 2023
5689bdf
Fix errors arising from merging master to branch
zltnDC Sep 12, 2023
3c1e1be
Improve timeouts
zltnDC Sep 12, 2023
f2ed04a
Remove comments
zltnDC Sep 12, 2023
7dfea5c
Remove throws from MainActivityTest
zltnDC Sep 12, 2023
fd79cc3
Add support for Dart-side `group()`s (#1634)
bartekpacia Sep 13, 2023
e94fbba
Release patrol 2.3.0-dev.1, patrol_cli 2.2.0-dev.1 (#1686)
bartekpacia Sep 13, 2023
9e12135
Change android dependencies
zltnDC Sep 13, 2023
808ef97
Fix klint and swift-format issues
zltnDC Sep 13, 2023
b587fb2
Fix macro
zltnDC Sep 13, 2023
46066ee
Fix klint issues
zltnDC Sep 13, 2023
3d1cb37
Downgrade packages
zltnDC Sep 13, 2023
2f973d4
Downgrade http package
zltnDC Sep 13, 2023
b8b0594
Merge branch 'master' into feature/stop-depending-on-gRPC-code-generator
zltnDC Sep 13, 2023
5db187c
Merge branch 'develop' into feature/stop-depending-on-gRPC-code-gener…
zltnDC Sep 14, 2023
8cc4ff9
Update contracts
zltnDC Sep 14, 2023
5789630
Fix dart tests (Add equatable)
zltnDC Sep 14, 2023
6212a5a
Fix ios
zltnDC Sep 14, 2023
386c199
Fix android build errors
zltnDC Sep 14, 2023
94694dc
Fix tests
zltnDC Sep 14, 2023
ae1f78d
Fix ktlint issues in ContractsExtensions
zltnDC Sep 14, 2023
b889655
Fix dart lint issues
zltnDC Sep 14, 2023
0d0a6eb
Remove task.sleep from runDartTest
zltnDC Sep 14, 2023
98f1122
Revert change
zltnDC Sep 14, 2023
ed40050
Merge pull request #1693 from leancodepl/master
zltnDC Sep 14, 2023
cc40e85
Merge branch 'develop' into feature/stop-depending-on-gRPC-code-gener…
zltnDC Sep 14, 2023
42a52f5
Fix pr issues
zltnDC Sep 14, 2023
e49cc22
Add simple documentation to schema
zltnDC Sep 15, 2023
13fc1f5
Add analysis_options to patrol_gen
zltnDC Sep 15, 2023
4bc2ac9
Add patrol_gen-prepare
zltnDC Sep 15, 2023
e3934e4
Fix prepare
zltnDC Sep 15, 2023
fdde272
Merge pull request #1697 from leancodepl/master
zltnDC Sep 15, 2023
7980197
Merge branch 'develop' into feature/stop-depending-on-gRPC-code-gener…
zltnDC Sep 15, 2023
937da39
Fix swift-format
zltnDC Sep 15, 2023
2d82c88
Apply ktlint format to ContractsExtensions.kt
zltnDC Sep 15, 2023
75ca305
Downgrade dart style
zltnDC Sep 15, 2023
9e6d5d1
Downgrade analyzer
zltnDC Sep 15, 2023
2e2bba2
Revert package versions, change dartsdk
zltnDC Sep 15, 2023
3925324
Fix ktlint manually
zltnDC Sep 15, 2023
3950c72
Merge pull request #1681 from leancodepl/feature/stop-depending-on-gR…
zltnDC Sep 15, 2023
a42a17e
sync `develop` with `master`
bartekpacia Sep 15, 2023
92f5bfa
Merge pull request #1702 from leancodepl/sync_with_master
bartekpacia Sep 15, 2023
0945cc5
Merge branch 'master' into develop
bartekpacia Sep 15, 2023
e5f117c
patrol: bump version to 2.3.0-dev.2
bartekpacia Sep 15, 2023
6dd4f1b
patrol_cli: bump version to 2.2.0-dev.2
bartekpacia Sep 15, 2023
521baf7
Merge pull request #1704 from leancodepl/release_new_dev_versions
bartekpacia Sep 15, 2023
3d176e8
Switch ios server to telegraph
zltnDC Sep 15, 2023
d482fe5
Fix deprecated warning
zltnDC Sep 15, 2023
002b613
Fix swift-format issues
zltnDC Sep 15, 2023
da25d25
Merge pull request #1705 from leancodepl/feature/switch-ios-server-to…
zltnDC Sep 18, 2023
e1f1115
Replace HTTP server (#1709)
bartekpacia Sep 18, 2023
3e23ba5
remove unneded lines in `packagingOptions {}` (#1710)
bartekpacia Sep 18, 2023
31fad79
Remove coroutines-guava dependency, use ConditionVariable instead of …
zltnDC Sep 18, 2023
e31e1c2
Remove unused import
zltnDC Sep 18, 2023
1a41d01
Merge pull request #1712 from leancodepl/task/remove-coroutines-depen…
zltnDC Sep 19, 2023
b0b579f
Use OkHttp client in instrumentation app (#1711)
bartekpacia Sep 19, 2023
652cd51
patrol: bump version to 2.3.0-dev.3 (#1720)
bartekpacia Sep 19, 2023
7a232ab
Fix test name label blocking hit testing (#1731)
bartekpacia Sep 20, 2023
cdd2df8
patrol: bump version to 2.3.0-dev.4 (#1734)
bartekpacia Sep 20, 2023
4211399
Merge master into develop (#1740)
bartekpacia Sep 21, 2023
9d37377
add a demo test that is failing
bartekpacia Sep 29, 2023
0965b9e
refactor in preparation for the workaround
bartekpacia Sep 29, 2023
b412a88
modify example_test to demo failing
bartekpacia Sep 29, 2023
44d6818
make `isCurrentTestPassing` into a getter
bartekpacia Sep 29, 2023
848b12c
create good reproducer
bartekpacia Sep 29, 2023
9e07f26
start trying to make the fix (FAILS)
bartekpacia Sep 29, 2023
0fab546
apply the workaround - it seems to work in simple cases
bartekpacia Sep 29, 2023
9307e4e
fix CI
bartekpacia Sep 29, 2023
fcc1007
Merge branch 'master' into develop
bartekpacia Sep 30, 2023
9648795
fix dart formatting
bartekpacia Sep 30, 2023
08e7d37
Merge pull request #1753 from leancodepl/fix/long_test_names
bartekpacia Sep 30, 2023
ff8dab3
Fix and update CI workflows (#1756)
bartekpacia Sep 30, 2023
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
3 changes: 2 additions & 1 deletion .github/workflows/patrol-prepare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,14 @@ jobs:
- name: Run unit tests
working-directory: packages/patrol/example/ios
run: |
set -o pipefail
xcodebuild test \
-workspace Runner.xcworkspace \
-scheme Runner \
-only-testing RunnerTests \
-configuration Debug \
-sdk iphoneos -destination 'platform=iOS Simulator,name=iPhone 14' \
-derivedDataPath ../build/ios_unit | xcbeautify
-derivedDataPath ../build/ios_unit | xcbeautify --renderer github-actions

prepare-flutter:
name: Flutter ${{ matrix.flutter-version }}
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/patrol_gen-prepare.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: patrol_gen prepare

on:
workflow_dispatch:
pull_request:
paths:
- 'packages/patrol_gen/**'

jobs:
prepare:
name: Flutter ${{ matrix.flutter-version }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
sdk: ['3.0.0', stable]

defaults:
run:
working-directory: packages/patrol_gen

steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Set up Dart
uses: dart-lang/setup-dart@v1
with:
sdk: ${{ matrix.sdk }}

- name: dart pub get
run: dart pub get

- name: dart analyze
if: success() || failure()
run: dart analyze

- name: dart format
if: success() || failure()
run: dart format --set-exit-if-changed .
2 changes: 1 addition & 1 deletion .github/workflows/test-android-device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
uses: google-github-actions/setup-gcloud@v1

- name: Gradle cache
uses: gradle/gradle-build-action@v2.8.0
uses: gradle/gradle-build-action@v2
with:
generate-job-summary: false

Expand Down
128 changes: 0 additions & 128 deletions .github/workflows/test-android-emulator-2.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/test-android-emulator-webview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2.8.0
uses: gradle/gradle-build-action@v2
with:
generate-job-summary: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-android-emulator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
java-version: 17

- name: Gradle cache
uses: gradle/gradle-build-action@v2.8.0
uses: gradle/gradle-build-action@v2
with:
generate-job-summary: false

Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/test-ios-device.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
matrix:
flutter_version: ['3.13.x']
device_model: ['iphone14pro']
os_version: ['16.5']
os_version: ['16.6']
os: [iOS]

defaults:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
- name: Authenticate to Google Cloud
uses: google-github-actions/auth@v1
with:
credentials_json: '${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY_JSON }}'
credentials_json: ${{ secrets.GOOGLE_SERVICE_ACCOUNT_KEY_JSON }}

- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v1
Expand Down Expand Up @@ -99,10 +99,6 @@ jobs:
- name: Build tests
run: patrol build ios --release --exclude ${{ env.EXCLUDED_TESTS }} --verbose

- name: Compress test files to zip
working-directory: packages/patrol/example/build/ios_integ/Build/Products
run: zip -r ios_tests.zip Release-iphoneos/*.app *.xctestrun

- name: Upload APKs to Firebase Test Lab and wait for tests to finish
id: tests_step
env:
Expand Down
Loading
Loading