Edit account translation

As a LedgerSMB user I want to be able to specify account descriptions in multiple languages.

Add translations for an account description

screenshot
screenshot (1)
pre step:
a standard test company success
screenshot
screenshot (1)
pre step:
a logged in admin user
loading URL: http://proxy:80/login.pl
loading URL: http://proxy:80/login.pl (1)
waiting for condition
getting tag name
find body.done-parsing
waiting for condition
pattern: body.done-parsing
found 1 elements for body.done-parsing scheme, css - PageObject::App::Login (body)
waiting for condition (PageObject::App::Login=HASH(0x55e95b2bf360))
find body.done-parsing (PageObject::App::Login=HASH(0x55e95b2bf360))
waiting for condition (1)
find body.done-parsing
waiting for condition
pattern: body.done-parsing
found 1 elements for body.done-parsing scheme, css - PageObject::App::Login (body)
waiting for condition (PageObject::App::Login=HASH(0x55e95b2bfa60))
find body.done-parsing (PageObject::App::Login=HASH(0x55e95b2bfa60))
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, User Name - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95ba2d318))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95ba2d318))
clicking element
clicking element (1)
clearing input element
clearing input element (1)
sending keys: 1
sending keys: 1 (1)
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, Password - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95bba9050))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95bba9050))
clicking element
clicking element (1)
clearing input element
clearing input element (1)
sending keys: 1
sending keys: 1 (1)
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, Company - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95b82b260))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95b82b260))
clicking element
clicking element (1)
clearing input element
clearing input element (1)
sending keys: 1
sending keys: 1 (1)
find *button
waiting for condition
pattern: *button
found 1 elements for *button text, Login - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e95b82b380))
find *button (Weasel::Element=HASH(0x55e95b82b380))
clicking element
clicking element (1)
waiting for condition
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
found tag with name body
getting tag name
find body.done-parsing
waiting for condition
pattern: body.done-parsing
found 1 elements for body.done-parsing scheme, css - PageObject::App (body)
waiting for condition (PageObject::App=HASH(0x55e95bba9e70))
find body.done-parsing (PageObject::App=HASH(0x55e95bba9e70))
waiting for condition (1)
find body.done-parsing
waiting for condition
pattern: body.done-parsing
found 1 elements for body.done-parsing scheme, css - PageObject::App (body)
waiting for condition (PageObject::App=HASH(0x55e95bba9e40))
success
screenshot
screenshot (1)
pre step:
I navigate the menu and select the item at "General Journal > Chart of Accounts"
find *app-menu
waiting for condition
pattern: *app-menu
found 1 elements for *app-menu - PageObject::App::Menu (div)
waiting for condition (PageObject::App::Menu=HASH(0x55e95bbaa368))
find *app-menu (PageObject::App::Menu=HASH(0x55e95bbaa368))
find //*[@id='top_menu']
waiting for condition
pattern: //*[@id='top_menu']
found 1 elements for //*[@id='top_menu'] - Weasel::Element (div)
waiting for condition (Weasel::Element=HASH(0x55e95bb46028))
find //*[@id='top_menu'] (Weasel::Element=HASH(0x55e95bb46028))
waiting for condition
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='General Journal']]
waiting for condition
pattern: .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='General Journal']]
found 1 elements for .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='General Journal']] - Weasel::Element (div)
waiting for condition (Weasel::Element=HASH(0x55e95bb46c10))
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='General Journal']] (Weasel::Element=HASH(0x55e95bb46c10))
waiting for condition (Weasel::Element=HASH(0x55e95bb46c10))
element attribute 'id'
element attribute 'id' (dijit__TreeNode_11)
find //*[@id='dijit__TreeNode_11_label']
waiting for condition
pattern: //*[@id='dijit__TreeNode_11_label']
found 1 elements for //*[@id='dijit__TreeNode_11_label'] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e95bb52168))
find //*[@id='dijit__TreeNode_11_label'] (Weasel::Element=HASH(0x55e95bb52168))
element text
element text (General Journal)
clicking element
clicking element (1)
waiting for condition
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Chart of Accounts']]
waiting for condition
pattern: .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Chart of Accounts']]
found 1 elements for .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Chart of Accounts']] - Weasel::Element (div)
waiting for condition (Weasel::Element=HASH(0x55e95bb52000))
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Chart of Accounts']] (Weasel::Element=HASH(0x55e95bb52000))
waiting for condition (Weasel::Element=HASH(0x55e95bb52000))
element attribute 'id'
element attribute 'id' (dijit__TreeNode_27)
find //*[@id='dijit__TreeNode_27_label']
waiting for condition
pattern: //*[@id='dijit__TreeNode_27_label']
found 1 elements for //*[@id='dijit__TreeNode_27_label'] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e95bb56310))
find //*[@id='dijit__TreeNode_27_label'] (Weasel::Element=HASH(0x55e95bb56310))
element text
element text
clicking element
clicking element (1)
find *app-main
waiting for condition
pattern: *app-main
found 1 elements for *app-main - PageObject::App::Main (div)
waiting for condition (PageObject::App::Main=HASH(0x55e95bb485c8))
find *app-main (PageObject::App::Main=HASH(0x55e95bb485c8))
waiting for condition
find #maindiv.done-parsing
waiting for condition
pattern: #maindiv.done-parsing
found 1 elements for #maindiv.done-parsing scheme, css - PageObject::App::Main (div)
waiting for condition (PageObject::App::Main=HASH(0x55e95bb51700))
find #maindiv.done-parsing (PageObject::App::Main=HASH(0x55e95bb51700))
query is_displayed
query is_displayed (true)
waiting for condition (1)
pattern: ./*
success
screenshot
screenshot (1)
pre step:
I should see the Chart of Accounts screen
waiting for condition
getting tag name
found tag with name form
success
screenshot
screenshot (1)
pre step:
I click Account Number "1060"
getting tag name
found tag with name form
find .//td[contains(@class,"accno")]/a[.="1060"]
waiting for condition
pattern: .//td[contains(@class,"accno")]/a[.="1060"]
found 1 elements for .//td[contains(@class,"accno")]/a[.="1060"] - Weasel::Element (a)
waiting for condition (Weasel::Element=HASH(0x55e95bb46b38))
find .//td[contains(@class,"accno")]/a[.="1060"] (Weasel::Element=HASH(0x55e95bb46b38))
clicking element
success
screenshot
screenshot (1)
pre step:
I should see the Account screen
waiting for condition
getting tag name
pattern: ./*
found 1 elements for ./* - PageObject::App::GL::Account (div)
success
screenshot
screenshot (1)
pre step:
I select the "Translations" tab
find .//*[@role='tab' and text()='Translations']
waiting for condition
pattern: .//*[@role='tab' and text()='Translations']
found 1 elements for .//*[@role='tab' and text()='Translations'] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e95bb51b38))
find .//*[@role='tab' and text()='Translations'] (Weasel::Element=HASH(0x55e95bb51b38))
clicking element
success
screenshot
screenshot (1)
pre step:
I expect the "Spanish" field to contain ""
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, Spanish - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95bb55ad0))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95bb55ad0))
element attribute 'value'
success
screenshot
screenshot (1)
pre step:
I expect the "French" field to contain ""
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, French - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95bb477a0))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95bb477a0))
element attribute 'value'
success
screenshot
screenshot (1)
pre step:
I enter "Cuenta de cheques" into "Spanish"
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, Spanish - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95b9ab570))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95b9ab570))
clicking element
clicking element (1)
clearing input element
clearing input element (1)
sending keys: 1
success
screenshot
screenshot (1)
pre step:
I enter "Compte courant" into "French"
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, French - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95bb5da98))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95bb5da98))
clicking element
clicking element (1)
clearing input element
clearing input element (1)
sending keys: 1
success
screenshot
screenshot (1)
pre step:
I press "Save Translations"
find *button
waiting for condition
pattern: *button
found 1 elements for *button text, Save Translations - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e95bb5d7e0))
find *button (Weasel::Element=HASH(0x55e95bb5d7e0))
clicking element
success
screenshot
screenshot (1)
pre step:
I should see the Account screen
waiting for condition
getting tag name
found tag with name div
success
screenshot
screenshot (1)
pre step:
I select the "Translations" tab
find .//*[@role='tab' and text()='Translations']
waiting for condition
pattern: .//*[@role='tab' and text()='Translations']
found 1 elements for .//*[@role='tab' and text()='Translations'] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e95bb4abb8))
find .//*[@role='tab' and text()='Translations'] (Weasel::Element=HASH(0x55e95bb4abb8))
clicking element
success
screenshot
screenshot (1)
pre step:
I expect the "Spanish" field to contain "Cuenta de cheques"
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, Spanish - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95bb4b728))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95bb4b728))
element attribute 'value'
success
screenshot
screenshot (1)
pre step:
I expect the "French" field to contain "Compte courant"
find *labeled
waiting for condition
pattern: *labeled
found 1 elements for *labeled text, French - Weasel::Widgets::HTML::Input (input)
waiting for condition (Weasel::Widgets::HTML::Input=HASH(0x55e95bb4b320))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95bb4b320))
element attribute 'value'
success