MOBILE-3947 site: Use ionInput event on sitefinder

main
Pau Ferrer Ocaña 2023-12-14 11:33:13 +01:00
parent 373cf8f549
commit a424923cfc
8 changed files with 2 additions and 15 deletions

View File

@ -105,7 +105,6 @@ Feature: Test usage of forum activity with groups in app
And I should find "Disc vis ALL" in the app
But I should not find "Disc vis G2" in the app
@ionic7_failure
Scenario: Student can only add discussions in his groups
Given I entered the forum activity "Separate groups forum" on course "Course 1" as "student1" in the app
When I press "Add discussion topic" in the app
@ -164,7 +163,6 @@ Feature: Test usage of forum activity with groups in app
And I press "All participants" in the app
Then I should find "My happy subject" in the app
@ionic7_failure
Scenario: Teacher can add discussion to any group
Given I entered the forum activity "Separate groups forum" on course "Course 1" as "teacher1" in the app
And I press "Separate groups" in the app

View File

@ -39,7 +39,6 @@ Feature: Notifications
| Test 29 | student2 | student1 | 1649766628 | 1649766602 |
| Test 30 | student2 | student1 | 1649766629 | null |
@ionic7_failure
Scenario: Mobile navigation
Given I enter the app
And I log in as "student1"

View File

@ -32,7 +32,7 @@
<ng-container *ngIf="siteSelector !== 'url'">
<ion-item lines="inset">
<ion-input name="url" placeholder="{{ 'core.login.siteaddressplaceholder' | translate }}" formControlName="siteUrl"
[core-auto-focus]="showKeyboard && !showScanQR" (ionChange)="searchSite($event, siteForm.value.siteUrl)"
[core-auto-focus]="showKeyboard && !showScanQR" (ionInput)="searchSite($event, siteForm.value.siteUrl)"
labelPlacement="stacked" [label]="'core.login.siteaddress' | translate" [clearInput]="true" />
</ion-item>

View File

@ -42,14 +42,12 @@ Feature: Test basic usage of login in app
And the UI should match the snapshot
But I should not find "Log in" in the app
@ionic7_failure
Scenario: Add a non existing account
When I launch the app
And I set the field "Your site" to "wrongsiteaddress" in the app
And I press "Connect to your site" in the app
Then I should find "Can't connect to site" in the app
@ionic7_failure
Scenario: Add a non existing account from accounts switcher
When I enter the app
And I log in as "student1"
@ -78,7 +76,6 @@ Feature: Test basic usage of login in app
Then I should find "Connect to Moodle" in the app
But I should not find "Acceptance test site" in the app
@ionic7_failure
Scenario: Require minium (previous) version of the app for a site
# Log in with a previous required version
Given the following config values are set as admin:
@ -86,7 +83,6 @@ Feature: Test basic usage of login in app
When I enter the app
Then I should not find "App update required" in the app
@ionic7_failure
Scenario: Require minium (future) version of the app for a site
# Log in with a future required version
Given the following config values are set as admin:
@ -94,7 +90,6 @@ Feature: Test basic usage of login in app
When I enter the app
Then I should find "App update required" in the app
@ionic7_failure
Scenario: Force password change
Given I force a password change for user "student1"
When I enter the app
@ -144,7 +139,7 @@ Feature: Test basic usage of login in app
When I press "Reconnect" in the app
Then I should find "Acceptance test site" in the app
@ionic7_failure @lms_from4.1
@lms_from4.1
Scenario: Forgot password
Given the following config values are set as admin:
| supportavailability | 2 |

View File

@ -8,7 +8,6 @@ Feature: Test signup in app
| auth_instructions | These are the authentication instructions. |
| passwordpolicy | 0 |
@ionic7_failure
Scenario: View auth instructions even if signup is disabled
Given the following config values are set as admin:
| registerauth | |

View File

@ -118,7 +118,6 @@ Feature: Report builder
| username | firstname | lastname | email | city |
| student1 | Lionel | Smith | lionel@example.com | Bilbao |
@ionic7_failure
Scenario: Open report in mobile
Given I enter the app
And I log in as "student1"
@ -132,7 +131,6 @@ Feature: Report builder
And I should find "Lionel Smith" in the app
But I should not find "My report 02" in the app
@ionic7_failure
Scenario: Open report in tablet
Given I enter the app
And I change viewport size to "1200x640" in the app

View File

@ -6,7 +6,6 @@ Feature: Test basic usage of user features
| username | firstname | lastname | timezone |
| student1 | Student | Student | 99 |
@ionic7_failure
Scenario: Complete missing fields
Given the following "custom profile fields" exist:
| datatype | shortname | name | required | param1 |

View File

@ -23,7 +23,6 @@ Feature: It navigates properly using deep links.
| forcelogout | 1 | tool_mobile |
| defaulthomepage | 0 | |
@ionic7_failure
Scenario: Receive a push notification
Given I entered the app as "student2"
When I log out in the app