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.
Co-authored-by: Aleksey Gerasimov <[email protected]>
- Loading branch information
1 parent
b4787b0
commit da83d5f
Showing
1 changed file
with
10 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -30,10 +30,19 @@ Feature: Page of the job | |
And I expect that element "div.job-details div.job-documents-wrapper p" matches the text "Creator: [email protected]" | ||
And I expect that element "div.division-item div.division-item-name a" matches the text "101 - Bud Clary Chevrolet Subaru" | ||
|
||
@Verbose | ||
Scenario: Button for rerun and delete job is exist | ||
Then I wait on element "label.file-upload-button" for 2000ms to be displayed | ||
When I upload file | ||
Then I wait on element "div.info-box.success div.info-box-content a:nth-child(2)" for 10000ms to be displayed | ||
And I expect that element "div.info-box.success div.info-box-content a:nth-child(3)" does exist | ||
And I expect that button "div.info-box.success div.info-box-content a:nth-child(2)" contains the text "RERUN" | ||
And I expect that button "div.info-box.success div.info-box-content a:nth-child(3)" contains the text "DELETE DOCUMENTS" | ||
|
||
@Verbose | ||
Scenario: Product table is showed | ||
Then I wait on element "label.file-upload-button" for 3000ms to be displayed | ||
When I upload "dump-input-gm-warranty.txt" file | ||
Then I wait on element "table.data-grid.table-datasheet" for 10000ms to be displayed | ||
And I expect that element "table.data-grid.table-datasheet tbody tr:nth-child(2) td:nth-child(2)" does exist | ||
And I expect that element "table.data-grid.table-datasheet tbody tr:nth-child(2) td:nth-child(2)" is not empty | ||
And I expect that element "table.data-grid.table-datasheet tbody tr:nth-child(2) td:nth-child(2)" is not empty |