Customer History Report

As a LedgerSMB user I want to be able to search the purchase history of customers to generate a report, filtering by various parameters.

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(0x55e958789398))
find body.done-parsing (PageObject::App::Login=HASH(0x55e958789398))
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(0x55e95837c628))
find body.done-parsing (PageObject::App::Login=HASH(0x55e95837c628))
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(0x55e958748560))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e958748560))
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(0x55e95876ade0))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e95876ade0))
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(0x55e9587528a0))
find *labeled (Weasel::Widgets::HTML::Input=HASH(0x55e9587528a0))
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(0x55e95876db58))
find *button (Weasel::Element=HASH(0x55e95876db58))
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
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(0x55e958c75328))
find body.done-parsing (PageObject::App=HASH(0x55e958c75328))
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(0x55e9588971b0))
success
screenshot
screenshot (1)
pre step:
a vendor 'Vendor A' success
screenshot
screenshot (1)
pre step:
I navigate the menu and select the item at "AR > Reports > Customer History"
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(0x55e958c7ef78))
find *app-menu (PageObject::App::Menu=HASH(0x55e958c7ef78))
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(0x55e958b56088))
find //*[@id='top_menu'] (Weasel::Element=HASH(0x55e958b56088))
waiting for condition
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='AR']]
waiting for condition
pattern: .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='AR']]
found 1 elements for .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='AR']] - Weasel::Element (div)
waiting for condition (Weasel::Element=HASH(0x55e958b59510))
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='AR']] (Weasel::Element=HASH(0x55e958b59510))
waiting for condition (Weasel::Element=HASH(0x55e958b59510))
element attribute 'id'
element attribute 'id' (dijit__TreeNode_2)
find //*[@id='dijit__TreeNode_2_label']
waiting for condition
pattern: //*[@id='dijit__TreeNode_2_label']
found 1 elements for //*[@id='dijit__TreeNode_2_label'] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e958c812e8))
find //*[@id='dijit__TreeNode_2_label'] (Weasel::Element=HASH(0x55e958c812e8))
element text
element text (AR)
clicking element
clicking element (1)
waiting for condition
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Reports']]
waiting for condition
pattern: .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Reports']]
found 1 elements for .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Reports']] - Weasel::Element (div)
waiting for condition (Weasel::Element=HASH(0x55e958c80bb0))
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Reports']] (Weasel::Element=HASH(0x55e958c80bb0))
waiting for condition (Weasel::Element=HASH(0x55e958c80bb0))
element attribute 'id'
element attribute 'id' (dijit__TreeNode_31)
find //*[@id='dijit__TreeNode_31_label']
waiting for condition
pattern: //*[@id='dijit__TreeNode_31_label']
found 1 elements for //*[@id='dijit__TreeNode_31_label'] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e958c813c0))
find //*[@id='dijit__TreeNode_31_label'] (Weasel::Element=HASH(0x55e958c813c0))
element text
element text
clicking element
clicking element (1)
waiting for condition
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Customer History']]
waiting for condition
pattern: .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Customer History']]
found 1 elements for .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Customer History']] - Weasel::Element (div)
waiting for condition (Weasel::Element=HASH(0x55e958b59978))
find .//div[contains(@class, 'dijitTreeNodeContainer')]//div[contains(@class, 'dijitTreeNode') and .//span[@role='treeitem' and text()='Customer History']] (Weasel::Element=HASH(0x55e958b59978))
waiting for condition (Weasel::Element=HASH(0x55e958b59978))
element attribute 'id'
element attribute 'id' (dijit__TreeNode_34)
find //*[@id='dijit__TreeNode_34_label']
waiting for condition
pattern: //*[@id='dijit__TreeNode_34_label']
found 1 elements for //*[@id='dijit__TreeNode_34_label'] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e958759858))
find //*[@id='dijit__TreeNode_34_label'] (Weasel::Element=HASH(0x55e958759858))
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(0x55e958bd2688))
find *app-main (PageObject::App::Main=HASH(0x55e958bd2688))
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(0x55e958aea3c0))
find #maindiv.done-parsing (PageObject::App::Main=HASH(0x55e958aea3c0))
query is_displayed
query is_displayed (true)
waiting for condition (1)
pattern: ./*
success
screenshot
screenshot (1)
pre step:
I should see the Purchase History Search screen
waiting for condition
getting tag name
found tag with name div
success
screenshot
screenshot (1)
pre step:
I press "Continue"
find *button
waiting for condition
pattern: *button
found 1 elements for *button text, Continue - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e958b55a10))
find *button (Weasel::Element=HASH(0x55e958b55a10))
clicking element
success
screenshot
screenshot (1)
pre step:
I should see the Purchase History Report screen
waiting for condition
getting tag name
pattern: ./*
found 1 elements for ./* - PageObject::App::Search::ReportDynatable (form)
success
screenshot
screenshot (1)
pre step:
I should see these headings:
getting tag name
found tag with name form
find //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Report Name:"]]/span[@class="report_header" and normalize-space(.)="Purchase History"]
waiting for condition
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Report Name:"]]/span[@class="report_header" and normalize-space(.)="Purchase History"]
found 1 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Report Name:"]]/span[@class="report_header" and normalize-space(.)="Purchase History"] - Weasel::Element (span)
waiting for condition (Weasel::Element=HASH(0x55e958b4f5f0))
find //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Report Name:"]]/span[@class="report_header" and normalize-space(.)="Purchase History"] (Weasel::Element=HASH(0x55e958b4f5f0))
find //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
waiting for condition
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
pattern: //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
found 0 elements for //form[@id="search-report-dynatable"]/div[@class="heading_section"]/div[label[.="Company:"]]/span[@class="report_header" and normalize-space(.)="standard-0"]
waiting for condition
success