Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user enter to the "FAO WIEWS Institute code" text filter text "SYR002"
When get current quantity of filter labels subset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Institute code: SYR002" above the subsets list is displayed
Then list of results on the subset page contains element with name "Durum wheat Salinity FIGS subset"
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user select option "ICRISAT" from "Data provider" filter`s dropdown
When get current quantity of filter labels subset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Data provider: ICRISAT" above the subsets list is displayed
Then list of results on the subset page contains element with name "Fingermillet mini core collection"
Then list of results on the subset page contains element with name "Chickpea mini core"
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user enter to the "Full-text query" text filter text "core"
When get current quantity of filter labels subset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Text: core" above the subsets list is displayed
Then list of results on the subset page contains element with name "Lablab core collection"
Then list of results on the subset page contains element with name "Fingermillet mini core collection"
Then list of results on the subset page contains element with name "Chickpea mini core"
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user enter to the "Title" text filter text "collection"
When get current quantity of filter labels subset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Title: collection" above the subsets list is displayed
Then list of results on the subset page contains element with name "Lablab core collection"
Then list of results on the subset page contains element with name "Fingermillet mini core collection"
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user enter to the "Description" text filter text "Specific accessions"
When get current quantity of filter labels subset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Description: Specific accessions" above the subsets list is displayed
Then list of results on the subset page contains element with name "Accessions for drylands"
Then list of results on the subset page contains element with name "Accessions for highlands"
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user select option "Rice" in block "Crop"
When get current quantity of filter labels subset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Crop: rice" above the subsets list is displayed
Then all results on the subset page contains element with crop name "Rice"
When user exclude option "Rice" in block "Crop"
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Crop: rice" above the subsets list is displayed
Then all results on the subset page ins`t contains element with crop name "Rice"
When user unselect option "Rice" in block "Crop"
When user click on the "Apply filters" button
When wait until filters applied
Then filter labels arn`t displayed on the subset page
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user click on the "Durum wheat Salinity FIGS subset" card with name
Then page "/subsets/6feed6ca-4b58-4920-9dd6-96846ada69f9" is opened
When user click on the "International Centre for Agricultural Research in Dry Areas" link
Then page "/wiews/SYR002" is opened
Then "Genebank details" page header is present
Then article title "International Centre for Agricultural Research in Dry Areas" is present
When user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When set current quantity of filter labels 1
When user click on the "Durum wheat Salinity FIGS subset" card with name
Then page "/subsets/6feed6ca-4b58-4920-9dd6-96846ada69f9" is opened
When user click on the "Filter accessions" button
Then page "/a/v2p5dM4gmZY" is opened
When wait until filters applied
Then default filter label "Excluding Historic" is applied
Then info filter Label "Subset: 6feed6ca-4b58-4920-9dd6-96846ada69f9" above the accessions list is displayed
When user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When set current quantity of filter labels 1
When user click on the "Durum wheat Salinity FIGS subset" card with name
Then page "/subsets/6feed6ca-4b58-4920-9dd6-96846ada69f9" is opened
When user click on the "Accession map" button
Then page "/a/map/v2p5dM4gmZY/@10.807068,22.433000,2z" is opened
Then block with map is present
Then default filter label "Excluding Historic" is applied
Then info filter Label "Subset: 6feed6ca-4b58-4920-9dd6-96846ada69f9" above the accessions list is displayed
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user click on the "Durum wheat Salinity FIGS subset" card with name
Then page "/subsets/6feed6ca-4b58-4920-9dd6-96846ada69f9" is opened
Then button "Download MCPD" is present
Then button "Download MCPD" isn`t clickable
When user login with username "user.username" and password "user.password" by header dropdown
When user click on the "Login" button in login dropdown
Then logged in icon is appeared on the header for standart user
Then button "Download MCPD" is clickable
When user click on the "Download MCPD" button
Then download popup with header "Before you download" is presented
When user click on the "Start download" download button
When downloading of file is successful
Given user go to "/subsets" page
Then user on the page "/subsets"
When wait until filters applied
When user click on the "Durum wheat Salinity FIGS subset" card with name
Then page "/subsets/6feed6ca-4b58-4920-9dd6-96846ada69f9" is opened
When user get current quantity of accession in my list
When user click on the "Add to my list" button
Then expected quantity of accessions was added to My List
Scenario Results (including rows of test data) | Automated | |
---|---|---|
Passing | 9 | 82% |
Pending | 0 | |
Ignored | 0 | |
Skipped | 0 | |
Unsuccessful | ||
Failed | 2 | 18% |
Broken | 0 | |
Compromised | 0 | |
Total | 11 |
Execution Time | Clock Time | Fastest Test | Slowest Test | Average Execution Time |
---|---|---|---|---|
3m 31s | 1h 23m 22s | 12s | 34s | 19s |
Scenario | Steps | Start Time | Duration | Result |
---|---|---|---|---|
17.0001 Left panel DATA PROVIDER filters test. FAO WIEWS Institute code filter. | 9 | |||
17.0002 Left panel DATA PROVIDER filters test. Data provider filter. | 10 | |||
17.0003 Left panel TEXT SEARCH filters test. Full-text query. | 11 | |||
17.0004 Left panel TEXT SEARCH filters test. Title. | 10 | |||
17.0005 Left panel TEXT SEARCH filters test. Description. | 10 | |||
17.0006 Left panel CROP filters test. Crops. | 18 | |||
17.0007 Subset details page. Institute link; | 9 | |||
17.0008 Subset details page. Filter accessions button; | 11 | |||
17.0009 Subset details page. Accession map; | 11 | |||
17.0010 Subset details page. Download MCPD button; | 15 | |||
17.0011 Subset details page. Add all accessions to My list (less then 5000); | 8 |