diff --git a/src/features/job-page.feature b/src/features/job-page.feature index ecc564c6..0de8ccff 100644 --- a/src/features/job-page.feature +++ b/src/features/job-page.feature @@ -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: aleksey.gerasimov@akvelon.com" 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 \ No newline at end of file