MOBILE-3947 behat: Fix behat tests on ionic7 upgrade
parent
ef2cc0c5e1
commit
06e7a0c97a
|
@ -72,6 +72,7 @@
|
|||
"addon.block_starredcourses.nocourses": "block_starredcourses",
|
||||
"addon.block_starredcourses.pluginname": "block_starredcourses",
|
||||
"addon.block_tags.pluginname": "block_tags",
|
||||
"addon.block_timeline.ariadayfilter": "block_timeline",
|
||||
"addon.block_timeline.duedate": "block_timeline",
|
||||
"addon.block_timeline.next30days": "block_timeline",
|
||||
"addon.block_timeline.next3months": "block_timeline",
|
||||
|
|
|
@ -14,7 +14,8 @@
|
|||
</ion-row>
|
||||
<ion-row class="ion-justify-content-between ion-align-items-center addon-block-timeline-filter">
|
||||
<ion-col size="auto">
|
||||
<core-combobox [formControl]="filter" (onChange)="filterChanged($event)">
|
||||
<core-combobox [formControl]="filter" (onChange)="filterChanged($event)"
|
||||
[label]="'addon.block_timeline.ariadayfilter' | translate">
|
||||
<ion-select-option *ngFor="let option of statusFilterOptions; last as last"
|
||||
[attr.class]="'ion-text-wrap' + last ? ' core-select-option-border-bottom' : ''" [value]="option.value">
|
||||
{{ option.name | translate }}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"ariadayfilter": "Filter timeline by date",
|
||||
"duedate": "Due date",
|
||||
"next30days": "Next 30 days",
|
||||
"next3months": "Next 3 months",
|
||||
|
|
|
@ -46,7 +46,7 @@ Feature: Timeline block.
|
|||
| assign | C3 | assign24 | Assignment 24 | ##+1 year## |
|
||||
| assign | C3 | assign25 | Assignment 25 | ##+1 year## |
|
||||
|
||||
@lms_from4.0 @ionic7_failure
|
||||
@lms_from4.0
|
||||
Scenario: See courses inside block
|
||||
Given I entered the app as "student1"
|
||||
Then I should find "Assignment 00" within "Timeline" "ion-card" in the app
|
||||
|
@ -57,7 +57,7 @@ Feature: Timeline block.
|
|||
But I should not find "Assignment 01" within "Timeline" "ion-card" in the app
|
||||
And I should not find "Course 3" within "Timeline" "ion-card" in the app
|
||||
|
||||
When I press "Next 30 days" in the app
|
||||
When I press "Filter timeline by date" in the app
|
||||
And I press "Overdue" in the app
|
||||
Then I should find "Assignment 01" within "Timeline" "ion-card" in the app
|
||||
And I should find "Course 2" within "Timeline" "ion-card" in the app
|
||||
|
@ -66,7 +66,7 @@ Feature: Timeline block.
|
|||
And I should not find "Course 1" within "Timeline" "ion-card" in the app
|
||||
And I should not find "Course 3" within "Timeline" "ion-card" in the app
|
||||
|
||||
When I press "Overdue" in the app
|
||||
When I press "Filter timeline by date" in the app
|
||||
And I press "All" in the app
|
||||
Then I should find "Assignment 19" within "Timeline" "ion-card" in the app
|
||||
And I should find "Course 3" within "Timeline" "ion-card" in the app
|
||||
|
@ -76,7 +76,7 @@ Feature: Timeline block.
|
|||
Then I should find "Assignment 21" within "Timeline" "ion-card" in the app
|
||||
And I should find "Assignment 25" within "Timeline" "ion-card" in the app
|
||||
|
||||
When I press "All" in the app
|
||||
When I press "Filter timeline by date" in the app
|
||||
And I press "Next 7 days" in the app
|
||||
And I press "Sort by" in the app
|
||||
And I press "Sort by courses" in the app
|
||||
|
|
|
@ -19,7 +19,6 @@ Feature: Test basic usage of messages in app
|
|||
| student1 | C1 | student |
|
||||
| student2 | C1 | student |
|
||||
|
||||
@ionic7_failure
|
||||
Scenario: View recent conversations and contacts
|
||||
Given I entered the app as "teacher1"
|
||||
When I press "Messages" in the app
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
</ion-button>
|
||||
<ion-select *ngIf="interface !== 'modal'" class="ion-text-start" [(ngModel)]="selection" (ngModelChange)="onValueChanged(selection)"
|
||||
[interface]="interface" [attr.aria-label]="label + ': ' + selection" [disabled]="disabled" [hidden]="!!icon">
|
||||
[interface]="interface" [attr.aria-label]="label" [disabled]="disabled" [hidden]="!!icon">
|
||||
<ng-content></ng-content>
|
||||
</ion-select>
|
||||
|
||||
|
|
|
@ -1161,7 +1161,7 @@ ion-select-popover {
|
|||
|
||||
ion-item.core-select-option-title {
|
||||
cursor: pointer;
|
||||
ion-radio {
|
||||
ion-radio::part(container) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue