Skip to content

Commit 0c759d5

Browse files
committed
test(site/change-lang): integration tests for switching the language
Fix #214
1 parent faf5474 commit 0c759d5

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
*** Settings ***
2+
Documentation Verify change language scenario
3+
Library SeleniumLibrary
4+
Suite Setup Before Test Suite
5+
Suite Teardown Close Browser
6+
Force Tags site change-lang logic
7+
8+
*** Test Cases ***
9+
Verify home page logo text changes after language switch
10+
Element Text Should Be id=logo My stamps
11+
Click Link //*[@href="?lang=ru"]
12+
Element Text Should Be id=logo Мои марки
13+
14+
*** Keywords ***
15+
Before Test Suite
16+
Open Browser ${SITE_URL}/ ${BROWSER}
17+
Register Keyword To Run On Failure Log Source

0 commit comments

Comments
 (0)