Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
adjust my to personal
Browse files Browse the repository at this point in the history
  • Loading branch information
odalys-dataport committed Apr 10, 2024
1 parent f1d972f commit 06643b8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions features/navigation_bar_left/leftNavigationBar.feature
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Feature: Test set to check the left side menu items
And <userRole> clicks left navigation item 'private homework'
And <userRole> clicks left navigation item 'archived homework'
And <userRole> clicks left navigation item 'files'
And <userRole> clicks left navigation item 'my files'
And <userRole> clicks left navigation item 'personal files'
And <userRole> clicks left navigation item 'course files'
And <userRole> clicks left navigation item 'team files'
And <userRole> clicks left navigation item 'shared files'
Expand Down Expand Up @@ -47,7 +47,7 @@ Feature: Test set to check the left side menu items
And <userRole> clicks left navigation item 'private homework'
And <userRole> clicks left navigation item 'archived homework'
And <userRole> clicks left navigation item 'files'
And <userRole> clicks left navigation item 'my files'
And <userRole> clicks left navigation item 'personal files'
And <userRole> clicks left navigation item 'course files'
And <userRole> clicks left navigation item 'team files'
And <userRole> clicks left navigation item 'shared files'
Expand Down
10 changes: 5 additions & 5 deletions page-objects/pages/NavigationLeftPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const navItemsEnum = {
TEAMS: 'teams',
TASKS: 'tasks',
FILES: 'files',
MYFILES: 'my files',
PERSONALFILES: 'personal files',
COURSEFILES: 'course files',
TEAMFILES: 'team files',
SHAREDFILES: 'shared files',
Expand Down Expand Up @@ -48,7 +48,7 @@ const navItemRoomsOverview = navItemString1stLevel.replace('XXX', 'Course-Overvi
const navItemTeams = navItemString1stLevel.replace('XXX', 'Teams');
const navItemTasks = navItemString1stLevel.replace('XXX', 'Aufgaben');
const navItemFiles = navItemString1stLevel.replace('XXX', 'Dateien');
const navItemFilesMy = navItemString2ndLevel.replace('XXX', 'persönliche Dateien');
const navItemFilesPersonal = navItemString2ndLevel.replace('XXX', 'persönliche Dateien');
const navItemFilesCourses = navItemString2ndLevel.replace('XXX', 'Kurse');
const navItemFilesTeams = navItemString2ndLevel.replace('XXX', 'Teams');
const navItemFilesShared = navItemString2ndLevel.replace('XXX', 'geteilte Dateien');
Expand Down Expand Up @@ -95,8 +95,8 @@ async function clickNavItemFiles() {
await clickElementFromNavigation(navItemFiles);
}

async function clickNavItemFilesMy() {
await clickElementFromNavigation(navItemFilesMy);
async function clickNavItemFilesPersonal() {
await clickElementFromNavigation(navItemFilesPersonal);
}

async function clickNavItemFilesCourses() {
Expand Down Expand Up @@ -217,7 +217,7 @@ module.exports = {
clickNavItemTeams,
clickNavItemTasks,
clickNavItemFiles,
clickNavItemFilesMy,
clickNavItemFilesPersonal,
clickNavItemFilesCourses,
clickNavItemFilesTeams,
clickNavItemFilesShared,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ Then(/^.*clicks left navigation item '([^']*)'$/, function (string) {
return leftNavigation.clickNavItemTasks();
case leftMenuItems.FILES:
return leftNavigation.clickNavItemFiles();
case leftMenuItems.MYFILES:
return leftNavigation.clickNavItemFilesMy();
case leftMenuItems.PERSONALFILES:
return leftNavigation.clickNavItemFilesPersonal();
case leftMenuItems.COURSEFILES:
return leftNavigation.clickNavItemFilesCourses();
case leftMenuItems.TEAMFILES:
Expand Down Expand Up @@ -56,7 +56,7 @@ Then(/^.*clicks left navigation item '([^']*)'$/, function (string) {
/* add after the rooms-overview element is ready
case leftMenuItems.ROOMS_OVERVIEW::
return leftNavigation.clickNavItemHelpRoomsOverview();
*/
*/
default:
return Error("no such element found in 'click left navigation item {string}' " + navigationItem);
}
Expand Down

0 comments on commit 06643b8

Please sign in to comment.