Update UI Tests to Run with Flutter 3 / In Drone
#621
Merged
dan
merged 25 commits from uitests
into trunk
2 months ago
Reviewers
Request review
No reviewers
Labels
This issue requires effort from an external organization to move forward bug
Something is not working bugbash component/bindings component/bine component/connectivity component/cwtch component/tapir component/ui cwtch-beta-1.1 cwtch-beta-1.10
Changes Planned for Cwtch Beta 1.10 cwtch-beta-1.11 cwtch-beta-1.2 cwtch-beta-1.3 cwtch-beta-1.4 cwtch-beta-1.5 cwtch-beta-1.5.x
point release vug fixes for 1.5 cwtch-beta-1.6 cwtch-beta-1.7 cwtch-beta-1.8 cwtch-beta-1.9 design duplicate
This issue or pull request already exists enhancement
New feature flutter funding-needed help wanted
Need some help in-nightly in-progress invalid
Something is wrong ios linux mac need-replication-or-investigation ops question
More information is needed requires-more-effort-than-we-can-spare rust scheduled testing-needed tor waiting-on-fix-confirmation waiting-on-new-flutter-feature windows wontfix
This won't be fixed
Apply labels
Clear labels
android
arch
backlog
blocked-on-external
This issue requires effort from an external organization to move forward bug
Something is not working bugbash component/bindings component/bine component/connectivity component/cwtch component/tapir component/ui cwtch-beta-1.1 cwtch-beta-1.10
Changes Planned for Cwtch Beta 1.10 cwtch-beta-1.11 cwtch-beta-1.2 cwtch-beta-1.3 cwtch-beta-1.4 cwtch-beta-1.5 cwtch-beta-1.5.x
point release vug fixes for 1.5 cwtch-beta-1.6 cwtch-beta-1.7 cwtch-beta-1.8 cwtch-beta-1.9 design duplicate
This issue or pull request already exists enhancement
New feature flutter funding-needed help wanted
Need some help in-nightly in-progress invalid
Something is wrong ios linux mac need-replication-or-investigation ops question
More information is needed requires-more-effort-than-we-can-spare rust scheduled testing-needed tor waiting-on-fix-confirmation waiting-on-new-flutter-feature windows wontfix
This won't be fixed
No Label
android
arch
backlog
blocked-on-external
bug
bugbash
component/bindings
component/bine
component/connectivity
component/cwtch
component/tapir
component/ui
cwtch-beta-1.1
cwtch-beta-1.10
cwtch-beta-1.11
cwtch-beta-1.2
cwtch-beta-1.3
cwtch-beta-1.4
cwtch-beta-1.5
cwtch-beta-1.5.x
cwtch-beta-1.6
cwtch-beta-1.7
cwtch-beta-1.8
cwtch-beta-1.9
design
duplicate
enhancement
flutter
funding-needed
help wanted
in-nightly
in-progress
invalid
ios
linux
mac
need-replication-or-investigation
ops
question
requires-more-effort-than-we-can-spare
rust
scheduled
testing-needed
tor
waiting-on-fix-confirmation
waiting-on-new-flutter-feature
windows
wontfix
Milestone
Set milestone
Clear milestone
No items
No Milestone
Projects
Clear projects
No project
Assignees
Assign users
Clear assignees
No Assignees
3 Participants
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: cwtch.im/cwtch-ui#621
Reference in new issue
There is no content yet.
Delete Branch 'uitests'
Deleting a branch is permanent. It CANNOT be undone. Continue?
No
Yes
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/119
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/120
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/121
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/122
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/123
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/124
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/125
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/126
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/127
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/128
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/129
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/131
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/132
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/133
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/134
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/135
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/136
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/138
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/139
418c773078
tobd3856fb27
2 months agobd3856fb27
to154d1f1cfc
2 months ago- name: deps
path: /root/.pub-cache
commands:
# - flutter config --enable-linux-desktop
delete
commands:
# - flutter config --enable-linux-desktop
- sudo apt update
- sudo apt-get install -y xvfb
add comment
#todo: add xvfb to openpriv/flutter-desktop:linux-fstable-3.3.9
- sudo apt-get install -y xvfb
- ./fetch-tor.sh
- export PATH=$PATH:$PWD/linux/Tor
- export LD_LIBRARY_PATH="$PWD/linux/Tor/"
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./linux/:linux/Tor"
prolly?
WidgetsFlutterBinding.ensureInitialized();
print("runApp()");
runApp(Flwtch());
print("Testing");
default isn't testing this is main for running too
Future<dynamic> shutdownDirect(MethodCall call) async {
print(call);
await cwtch.Shutdown();
await cwtch.Shutdown().timeout(Duration(seconds: 1));
ah a cool way to bypass the fact we cant properly stop cwtch cus deep 2 min connection attempts...
On the other hand, part of me wants to ask if this will prevent anything in profiles being saved proply but a) prolly not and b) in practice i just force close it if it's being slow.... I don't totally love this tho
removed timeout - it was a debugging artifact.
Future<void> shutdown() async {
globalAppState.SetModalState(ModalState.shutdown);
await cwtch.Shutdown();
print("shutting down");
debut println
await cwtch.Shutdown().timeout(Duration(seconds: 1));
// Wait a few seconds as shutting down things takes a little time..
Future.delayed(Duration(seconds: 1)).then((value) {
print("done");
debug println
xdg-open integration_test/gherkin/reports/cucumber_report.html
fi
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./linux/"
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"./linux/:linux/Tor"
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/140
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/141
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/145
Drone Build Status: failure
https://build.openprivacy.ca/cwtch.im/cwtch-ui/146
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch-ui/149
8417204a24
into trunk 2 months agoReviewers
8417204a24
.