forked from josdejong/workerpool
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preview pagination josdejong#27 (josdejong#46)
* specify exact way to table * Had to pause for wait on login Co-authored-by: Aleksey Gerasimov <[email protected]>
- Loading branch information
1 parent
2d2b649
commit 566b4b1
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,19 @@ Feature: Modal window with preview of output document | |
Because I want to be sure that data processed corretly | ||
|
||
Background: | ||
Given I open the url "https://dash-staging.accumatic.com/sign-out" | ||
When I pause for 1000ms | ||
Then I wait on element "form.dash-form" for 5000ms to be displayed | ||
When I open the url "https://dash-staging.accumatic.com/sign-in" | ||
When I set "beepbeep" to the inputfield "#dash-form-field-password" | ||
When I set "[email protected]" to the inputfield "#dash-form-field-email" | ||
And I press "Enter" | ||
Given I authorized as Dealer | ||
|
||
@Verbose | ||
Scenario: Able to switch page of items | ||
Then I wait on element "div.job-item" for 2000ms to be displayed | ||
When I click on the element "div.job-item" | ||
Then I wait on element "a.preview-icon-wrapper" for 2000ms to be displayed | ||
When I click on the element "a.preview-icon-wrapper" | ||
Then I wait on element "div.header-block.header-block-right img.close-button" | ||
When I click on the element "div.dealertrack-preview-table div.select" | ||
And I click on the element "div.dealertrack-preview-table div.select div[class*='-menu'] div[class*='-option']" | ||
When I click on the element "div.dealertrack-preview-table div.pagination-wrapper a:nth-child(4)" | ||
Then I expect that element "div.dealertrack-preview-table div.table-wrapper table tbody tr:nth-child(2) td.cell.read-only span.value-viewer" matches the text "11" | ||
|
||
@Verbose | ||
Scenario: Able to close preview modal window | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters