feat(install): build the Flutter web app in Docker, optional ./install --apk, chosen web password, startup report
This commit is contained in:
@@ -2,9 +2,29 @@ import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:pipelines_app/features/updates/app_updates.dart';
|
||||
|
||||
void main() {
|
||||
test('builds live beside the server, under the preview origin', () {
|
||||
test('builds live on the server\'s own web origin', () {
|
||||
expect(
|
||||
updatesBaseFor(Uri.parse('wss://host.ts.net:8443/connect')).toString(),
|
||||
updatesBaseFor(
|
||||
Uri.parse('wss://host.ts.net:8443/connect'),
|
||||
configured: '',
|
||||
).toString(),
|
||||
'https://host.ts.net:8443/updates/',
|
||||
);
|
||||
expect(
|
||||
updatesBaseFor(
|
||||
Uri.parse('ws://192.168.1.5:8082/connect'),
|
||||
configured: '',
|
||||
).toString(),
|
||||
'http://192.168.1.5:8082/updates/',
|
||||
);
|
||||
});
|
||||
|
||||
test('a build can name another update feed', () {
|
||||
expect(
|
||||
updatesBaseFor(
|
||||
Uri.parse('wss://host.ts.net:8443/connect'),
|
||||
configured: 'https://host.ts.net:8096/updates',
|
||||
).toString(),
|
||||
'https://host.ts.net:8096/updates/',
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user