Skip to content

Commit 696e3a9

Browse files
authored
Merge pull request #11612 from owncloud/e2e-lang-change-enable
2 parents 3c109f0 + dd63f1e commit 696e3a9

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

tests/e2e/cucumber/features/user-settings/languageChange.feature

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Feature: language settings
2020
And "Alice" logs in
2121
And "Alice" opens the user menu
2222
And "Alice" changes the language to "Deutsch - German"
23-
Then "Alice" should see the following account page title "Konto"
23+
Then "Alice" should see the following account page title "Mein Konto"
2424
When "Alice" logs out
2525
And "Alice" logs in
2626
Then "Alice" should see the following notifications
@@ -47,4 +47,4 @@ Feature: language settings
4747
And "Anonymous" unlocks the public link with password "%public%"
4848
And "Anonymous" opens the user menu
4949
And "Anonymous" changes the language to "Deutsch - German"
50-
Then "Anonymous" should see the following account page title "Konto"
50+
Then "Anonymous" should see the following account page title "Mein Konto"

tests/e2e/cucumber/steps/ui/accountMenu.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ Then(
6565
const { page } = this.actorsEnvironment.getActor({ key: stepUser })
6666
const accountObject = new objects.account.Account({ page })
6767
const pageTitle = await accountObject.getTitle()
68-
//TODO: ADJUST WHEN NEW TRANSLATIONS ARE THERE
69-
//expect(pageTitle).toEqual(title)
70-
console.log(title)
71-
expect(pageTitle).toBeDefined()
68+
expect(pageTitle).toEqual(title)
7269
}
7370
)

0 commit comments

Comments
 (0)