From 7661208862a44575808efde22f51c0e5c66ed47e Mon Sep 17 00:00:00 2001 From: Noel De Martin Date: Wed, 16 Nov 2022 12:16:36 +0100 Subject: [PATCH] MOBILE-4176 grades: Test viewing grades --- src/core/classes/site.ts | 1 + .../features/grades/pages/course/course.html | 7 +- .../grades/pages/course/course.page.ts | 2 +- .../grades/tests/behat/navigation.feature | 2 +- .../features/grades/tests/behat/view.feature | 75 +++++++++++++++++++ 5 files changed, 81 insertions(+), 6 deletions(-) create mode 100644 src/core/features/grades/tests/behat/view.feature diff --git a/src/core/classes/site.ts b/src/core/classes/site.ts index bc20704b5..b90932cd3 100644 --- a/src/core/classes/site.ts +++ b/src/core/classes/site.ts @@ -107,6 +107,7 @@ export class CoreSite { '3.10': 2020110900, '3.11': 2021051700, '4.0': 2022041900, + '4.1': 2022111100, // @todo [4.1] replace with right value when released. Using a tmp value to be able to test new things. }; // Possible cache update frequencies. diff --git a/src/core/features/grades/pages/course/course.html b/src/core/features/grades/pages/course/course.html index 3919f3926..3cbbfc4af 100644 --- a/src/core/features/grades/pages/course/course.html +++ b/src/core/features/grades/pages/course/course.html @@ -27,7 +27,7 @@ - + + *ngIf="row.itemtype !== 'leader'"> - +