Commit Graph

43 Commits

Author SHA1 Message Date
Pawel.Paprocki
73ff1752c5 [EGD-5898] Fix test send message
Added extra time to send message
2021-03-01 16:43:58 +01:00
Mateusz Grzegorzek
9832365ca2 [EGD-5698] Add pagination for messages
Add pagination for messages
2021-02-26 18:37:56 +01:00
Radoslaw Wicik
d5174215eb [EGD-5819] Fix count
Fix wrong "count" key word in contacts, and add test for variables in
device info endpoint.
Disabled test jira:
5906 - test_calendar_events.py
5907 - test_connection_security.py
5908 - test_dom_dump.py
5909 - test_usb_echo.py
2021-02-26 14:06:00 +01:00
Michał Kamoń
8907669795 [EGD-5489] Add Bluetooth pairing test
This PR provides a harness test of a current stage `Bluetooth` pairing
functionality. That is provided a `Bluetooth` device name, test logic:
* navigates to a appropriate window
* scans for devices available
* navigates over appropriate device and check's if it is focused
2021-02-26 08:59:13 +01:00
Roman Kubiak
2a29e27996 [EGD-5757] Fix backup API
Fix backup endpoint to work with new paths and FS api
The flow is based on the design in confluence.
2021-02-25 16:04:04 +01:00
Piotr Tański
d5c3d41ca4 [EGD-5204] Secure USB communication
Secure all endpoints by returning 403(Forbidden) when USB is connected.
Request screen passcode to enable secured endpoints.
2021-02-24 19:49:07 +01:00
Wiktor S. Ovalle Correa
a76e4c88f7 [EGD-5737] Temporary fix
Check if we have a race here
2021-02-23 18:11:50 +01:00
Wiktor S. Ovalle Correa
fe72169338 [EGD-5737] Merge master into experimental
Synchronize with master before merging
2021-02-23 18:10:52 +01:00
Tomasz Langowski
3fd296c50d [EGD-5845] Fix broken harness messages tests
Fix broken harness messages tests
2021-02-23 14:22:00 +01:00
Pawel.Paprocki
366b03aa37 [EGD-5560] Add pagination for Calendar EP
Implement calendar EP pagination based on PagedContext
2021-02-22 13:08:29 +01:00
Tomasz Langowski
ecfcdf0913 [EGD-5720] Add send message via new message by using contact
Add send message via new message by using contact
2021-02-22 11:50:18 +01:00
mkamonMdt
5ad30d6c4a [EGD-5488] Add BT pairing test plan
Test plan for following cases:
-pairing "happy path"
-pairing with device that cannot be reached
-forgetting pair
2021-02-19 13:55:58 +01:00
Adam Dobrowolski
f724d9074b [EGD-5701] Added DOM dump to harness
* Added generic handler to developerMode
* Added DOM message handling
2021-02-18 16:53:07 +01:00
RobertPiet
800a2735a4 [EGD-5802] Enable harness for calllog and messages
Handle properly RecordQuery and CalllogGet parameters
2021-02-18 10:55:48 +01:00
Wiktor S. Ovalle Correa
c7b7cc4c27 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:10:32 +01:00
Wiktor S. Ovalle Correa
3b141041e9 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:09:37 +01:00
Wiktor S. Ovalle Correa
06d0a276f5 [EGD-5463] Fix CI emulator log and timeout
Fix wrong log stream redirection in CI
Use real value from --timeout option and seto it to 30s
so emulator have enough time to start properly
2021-02-17 17:08:18 +01:00
Jakub Pyszczak
7797a2eaf0 [EGD-5266] Fix test harness
Covers harness issues that occures on experimental branch
due to the new filesystem implementation.
2021-02-17 17:08:18 +01:00
RobertPiet
2c3965df18 [EGD-5557] Contact Endpoint pagination
Pagination added for contact endpoint.
Introduced PagedContext and query message for contacts that returns
the required contacts together with the number of all contacts in db.
2021-02-17 15:13:27 +01:00
Pawel Olejniczak
f5a24d1272 [EGD-5788] Fix json formatting in message endpoint responses
Responses had redundant anonymous objects which impeded parsing jsons.
2021-02-16 14:32:18 +01:00
Pawel Olejniczak
f535268624 [EGD-5586] Clean up messages endpoint API
Introducing changes according to new messages endpoint api
proposal doc. All request have been updated, and some new were added.
Harness tests were updated too. These changes will be followed up with
pagination implementation.
2021-02-16 09:19:50 +01:00
Tomasz Langowski
d3e51fb7cd [EGD-5319] Add test related to cold and hot start of cellular
Add harness test related to cold and hot start of cellular service
2021-02-12 08:00:49 +01:00
SP2FET
a30887bb40 [EGD-5666] Add BT off function
Turning BT off was impossible thus there was the need of fixing it
Updated harness test
2021-02-11 12:01:58 +01:00
SP2FET
fa24dcc829 [EGD-5483] Updated BT harness tests
Added harness test for BT scan in order to be able
to test regression
2021-02-11 11:48:07 +01:00
Tomasz Langowski
6b02f54c69 [EGD-5601] Add harness send message tests
Includes following test scenarios:
EGD-5568: Test longpress exit from messages to home
EGD-5570: Test input basic emoji to text and then text - and
verify text is right
EGD-5571: Test add special character to SMS body
EGD-5601: Test forward message
EGD-5602: Test write long message
EGD-5603: Test click send template
EGD-5604: Test select and resend not send sms
EGD-5605: Test send sms via phonebook
2021-02-10 12:50:09 +01:00
Radoslaw Wicik
e1400aee90 [EGD-5685] Add version field in DeviceInfo EP
Adding field required by Mudita Center in DeviceInfo Endpoint.
Updated harnes test.
2021-02-10 08:47:05 +01:00
Tomasz Langowski
fbc28f4cfe [EGD-5322] Add send message test (long sms, special characters)
Add send message test (long sms, special characters)

[EGD-5322] Add send message test (long sms, special characters)

Add send message test (long sms, special characters)
2021-02-09 09:17:52 +01:00
Wojtek Rzepecki
8204cba1ab [EGD-5575] Add battery file test
Battery file existence test for
harness test suit. Minor changes to
file saving applied.
2021-02-08 15:57:17 +01:00
Tomasz Langowski
3d3f0b649c [EGD-5323] Add change sim card test to harness
Add change sim card test to harness
2021-02-02 11:10:43 +01:00
mkamonMdt
fac27c747a [EGD-4955] Add on-off test harness for simulator
This PR provides CI test for turning on and off PurePhone
simulator.
2021-02-02 10:01:51 +01:00
SP2FET
0fad723135 [EGD-5457] Add harness test for bluetooth on/off
There is no functional tests related to the Bluetooth. As the
refactor is on the way,we need to have a tool to check if it works
By the way fixed worker deinit
2021-01-28 17:14:59 +01:00
Tomas Rogala
80768bf4a5 [EGD-4708] Add backend of multiday events handling
-sql req for multiday events handling
-Add UT
-Add markEventsInDays method
-Add new query for day filter
2021-01-26 06:34:12 +01:00
Mateusz Grzywacz
7b52b85e0d [EGD-5348] Test harness - verbose keymap error
Be more verbose on KeyError.
Relates to `--sms_text` argument
2021-01-22 14:42:32 +01:00
SP2FET
103af76459 [EGD-4836] Add firmware update test
Add test utility to update firmware via USB (service-desktop API)
Add timeout to harness port discovery

[EGD-5240] Add common timeout to python test harness
General purpose timeout based on signals library

[EGD-5239] Preserve 1Phone testing
In the long run test harness requires two phones,
but allow for one phone to still pass some test cases
2021-01-15 08:57:31 +01:00
Mateusz Grzywacz
7ed1380e20 [EGD-4837] Add 2 phones test cases (call & call-back)
A test asserts, that the first phone can call the second phone by
the number.
Another test asserts, that the seconds phone can call the first phone
back
2021-01-14 18:15:41 +01:00
Tomas Rogala
7dee85f011 [EGD-4711] Change calendar events endpoints
-Create providers object
-Change endpoints data message structure to json object
-Extend ical format validation
-Extend service desktop tests for calendar endpoints
2021-01-13 21:20:50 +01:00
Mateusz Grzywacz
3a793437ea [EGD-4835] Fix HIL Readme, code, so it works, rename, random GCC 10 fix
Polish README, so it works 1:1.
Rename method, so it blends better with its calls.
Delete old code, leave phone unlock.
Try not to see this random GCC 10 fix here.
2021-01-13 12:34:29 +01:00
Mateusz Grzywacz
859f17c9ff [EGD-4846] Change default HIL to autodetect Pure phone
No need to pass --port argument by default.
--port still needs to be passed if you want to use specific
phone or Linux simulator
2021-01-13 12:34:29 +01:00
Piotr Tański
31df1ce788 [EGD-4921] Add next harness test cases
Test harness extended with additional tests:
- Making a call to a specific phone number.
- Calling back to the last number from the call log.
- Searching for SMSes with a phone number filter.
2020-12-23 11:02:43 +01:00
Marek Niepieklo
b92c40237d [EGD-5004] Add USB-CDC echo mechanism
Added echo mechanism to USB-CDC, update usb_stack submodule
and added a test case to test harness
2020-12-22 23:05:04 +01:00
Bartosz Cichocki
c42f977fd8 [EGD-4752] tests: fixed contact offset bug, sliced contact test into batches (#1154)
Fix contact offset bug
Slice contact test into batches

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-12-08 11:44:52 +01:00
Tomek Sobkowiak
0d80a71a5d [EDG-4494] Exclude contacts from temporary group (#1109)
* [EDG-4494] Exclude contacts from temporary group
2020-12-06 20:42:24 +01:00
Bartosz Cichocki
cdfadba379 [EGD-4510] testing: added pytest tests, updated documentation (#1096)
Add pytest test and functional tests, update documentation

[EGD-4510] rewritten service-desktop tests into pytest manner

[EGD-4510] updated docs, rewritten FT to pytest manner

Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-27 16:03:02 +01:00