Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
Then text in header is equals "Datasets"
When user click on the "LG0505 - Characterization of CAC lentil" card with name
Then page "/datasets/4c51e5c5-c507-47bb-8f74-e9dc683ca6e7" is opened
Then header containing the text "Dataset details" is present
Then title of page is "LG0505 - Characterization of CAC lentil"
When user click on the "Back" button
Then page "/datasets" is opened
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "Overview" button
Then user on the page "/datasets/overview"
Then section "Crop names" on the overview page is present
Then section "Data provider" on the overview page is present
Then section "Licence" on the overview page is present
When get current quantity of filter labels dataset page
When user click on the option "barley" from the block "Crop names"
When wait until filters applied
Then info filter Label "Crop: barley" above the dataset list is displayed
When get current quantity of filter labels dataset page
When user click on the option "ICARDA" from the block "Data provider"
When wait until filters applied
Then info filter Label "Crop: barley" above the dataset list is displayed
Then info filter Label "Provider: ICARDA" above the dataset list is displayed
When get current quantity of filter labels dataset page
When user click on the option "CC BY-NC-ND 4.0" from the block "Licence"
When wait until filters applied
Then info filter Label "Crop: barley" above the dataset list is displayed
Then info filter Label "Provider: ICARDA" above the dataset list is displayed
Then info filter Label "License: CC BY-NC-ND 4.0" above the dataset list is displayed
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user select option "Title" from Sort by dropdown on the datasets page
Then user on the page "/datasets?d=ASC&s=title"
When user select option "Data provider" from Sort by dropdown on the datasets page
Then user on the page "/datasets?d=ASC&s=owner.shortName"
When user select option "Accession count (low to high)" from Sort by dropdown on the datasets page
Then user on the page "/datasets?d=ASC&s=accessionCount"
When user select option "Accession count (high to low)" from Sort by dropdown on the datasets page
Then user on the page "/datasets?s=accessionCount"
When user select option "Descriptor count (low to high)" from Sort by dropdown on the datasets page
Then user on the page "/datasets?d=ASC&s=descriptorCount"
When user select option "Descriptor count (high to low)" from Sort by dropdown on the datasets page
Then user on the page "/datasets?s=descriptorCount"
When user select option "Experiment start date" from Sort by dropdown on the datasets page
Then user on the page "/datasets?d=ASC&s=startDate"
When user select option "Experiment end date" from Sort by dropdown on the datasets page
Then user on the page "/datasets?d=ASC&s=endDate"
When user select option "Version" from Sort by dropdown on the datasets page
Then user on the page "/datasets?d=ASC&s=versionTag"
When user select option "Created date" from Sort by dropdown on the datasets page
Then user on the page "/datasets?s=createdDate"
When user select option "Last updated" from Sort by dropdown on the datasets page
Then user on the page "/datasets"
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user enter to the "Full-text query" text filter text "LG0505"
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Text: LG0505" above the dataset list is displayed
Then dataset with title "LG0505 - Characterization of CAC lentil" is presented
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user select option "IRRI" from "Data provider" filter`s dropdown
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Provider: IRRI" above the dataset list is displayed
Then dataset with title "Rice characterization" is presented
When user enter to the "FAO WIEWS Institute code" text filter text "PHL001"
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Owner WIEWS institute code: PHL001" above the dataset list is displayed
Then dataset with title "Rice characterization" is presented
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user enter to the "Country evaluation" text filter text "Philippines"
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Evaluated in: Philippines" above the dataset list is displayed
Then dataset with title "Rice characterization" is presented
Then dataset with title "Characterization data of NPGRL yam accessions" is presented
Then dataset with title "Characterization data of NPGRL mung bean accessions (2016-2017)" is presented
When enter "15" text to "Latitude" filter to "At least (min)" field
When enter "1" text to "Latitude" filter to "At most (max)" field
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Evaluated in: Philippines" above the dataset list is displayed
Then info filter Label "Latitude ≥ 1" above the dataset list is displayed
Then info filter Label "Latitude ≤ 15" above the dataset list is displayed
Then dataset with title "Rice characterization" is presented
Then dataset with title "Characterization data of NPGRL yam accessions" is presented
Then dataset with title "Characterization data of NPGRL mung bean accessions (2016-2017)" is presented
When enter "130" text to "Longitude" filter to "At least (min)" field
When enter "-11" text to "Longitude" filter to "At most (max)" field
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Evaluated in: Philippines" above the dataset list is displayed
Then info filter Label "Latitude ≥ 1" above the dataset list is displayed
Then info filter Label "Latitude ≤ 15" above the dataset list is displayed
Then info filter Label "Longitude ≥ -11" above the dataset list is displayed
Then info filter Label "Longitude ≤ 130" above the dataset list is displayed
Then dataset with title "Rice characterization" is presented
Then dataset with title "Characterization data of NPGRL yam accessions" is presented
Then dataset with title "Characterization data of NPGRL mung bean accessions (2016-2017)" is presented
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user select option "Rice" in block "Crop"
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Crop: rice" above the dataset list is displayed
Then all results on the dataset page is contains element with crop name "Rice"
Then dataset with title "Rice characterization" is presented
When user remove filter label with text "Crop: rice"
When wait until filters applied
Then info filter Label "Crop: rice" above the dataset list isn`t displayed
When get current quantity of filter labels dataset page
When user exclude option "Barley" in block "Crop"
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Excluding Crop: barley" above the dataset list is displayed
Then all results on the dataset page isn`t contains element with crop name "Barley"
When user unselect option "Barley" in block "Crop"
When user click on the "Apply filters" button
When wait until filters applied
Then filter labels arn`t displayed on the dataset page
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When collapse "Data provider" filter
Then Data provider filter items aren't visible
When user enter to the "Genus" text filter text "Oryza"
When get current quantity of filter labels dataset page
When user click on the "Apply filter" button
When wait until filters applied
Then info filter Label "Accession genus: Oryza" above the dataset list is displayed
Then list of datasets isn`t empty
When user remove filter label with text "Accession genus: Oryza"
When wait until filters applied
When user enter to the "Accession number" text filter text "IG 5843"
When user click on the "Apply filter" button
When wait until filters applied
Then info filter Label "Accession number: IG 5843" above the dataset list is displayed
Then dataset with title "LG9101 - Chickpea germplasm evaluation" is presented
When user remove filter label with text "Accession number: IG 5843"
When wait until filters applied
When user enter to the "FAO WIEWS Institute code" text filter text "SYR002"
When user click on the "Apply filter" button
When wait until filters applied
Then info filter Label "Accession holder: SYR002" above the dataset list is displayed
Then data provider in the all cards is "ICARDA" the datasets list
When user remove filter label with text "Accession holder: SYR002"
When wait until filters applied
When user enter to the "Accession DOI" text filter text "10.18730/5R6F$"
When user click on the "Apply filter" button
When wait until filters applied
Then info filter Label "Accession DOI: 10.18730/5R6F$" above the dataset list is displayed
Then data provider in the all cards is "ICARDA" the datasets list
Then all results on the dataset page isn`t contains element with crop name "Lentil"
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user select licence "CC0"
When get current quantity of filter labels dataset page
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "License: CC0" above the dataset list is displayed
Then list of datasets is empty
When user remove filter label with text "License: CC0"
When wait until filters applied
When get current quantity of filter labels dataset page
When user exclude licence "CC BY 4.0"
When user click on the "Apply filters" button
When wait until filters applied
Then info filter Label "Excluding License: CC BY 4.0" above the dataset list is displayed
Then list of datasets isn`t empty
When get current quantity of filter labels dataset page
When user unselect licence "CC BY 4.0"
When user click on the "Apply filters" button
When wait until filters applied
Then list of datasets isn`t empty
Then info filter Label "License: CC0" above the dataset list isn`t displayed
Then info filter Label "Excluding License: CC BY 4.0" above the dataset list isn`t displayed
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "LG0505 - Characterization of CAC lentil" card with name
Then page "/datasets/4c51e5c5-c507-47bb-8f74-e9dc683ca6e7" is opened
Then header containing the text "Dataset details" is present
Then title of page is "LG0505 - Characterization of CAC lentil"
Then field "Crop name" is presented
Then field "Number of accessions" is presented
Then field "Number of traits" is presented
Then field "Start of evaluation" is presented
Then field "End of evaluation" is presented
When user click on the link on the "Data provider" field
Then page "/partners/9dafd826-60a4-4382-8582-7d993a4f02a6" is opened
Then header containing the text "Data provider details" is present
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "LG0202 -Lentil germplasm evaluation" card with name
Then page "/datasets/5801b1c3-8e71-4675-8768-d6aa13209bed" is opened
Then header containing the text "Dataset details" is present
Then title of page is "LG0202 -Lentil germplasm evaluation"
Then field "Licensed under" is presented
When user click on the link on the "More information" field
Then page "https://creativecommons.org/licenses/by-nc-nd/4.0/" is opened on the new tab
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "LG9802 - Chickpea new acc. characterization from VIR (Larissa)" card with name
Then page "/datasets/2ccf187c-ec7c-4355-a857-d2c03e6f65d4" is opened
Then header containing the text "Dataset details" is present
Then title of page is "LG9802 - Chickpea new acc. characterization from VIR (Larissa)"
When user click download button for "Dataset file" file
Then download popup with header "Before you download" is presented
When user click on the "Start download" download button
Then downloading of file is successful
When user click download button for "Dataset metadata" file
Then download popup with header "Before you download" is presented
When user click on the "Start download" download button
Then downloading of file is successful
Then download button for file "MCPD passport data" 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 download button for file "MCPD passport data" is clickable
When user click download button for "MCPD passport data" file
Then download popup with header "Before you download" is presented
When user click on the "Start download" download button
Then downloading of file is successful
When set current quantity of filter labels 1
When user click on the "Filter accessions" button
Then page "/a/v2ZWxq2O6D4" is opened
When wait until filters applied
Then info filter Label "Dataset: 2ccf187c-ec7c-4355-a857-d2c03e6f65d4" above the accessions list is displayed
Then info filter Label "Excluding Historic" above the accessions list is displayed
When user go to "/datasets/2ccf187c-ec7c-4355-a857-d2c03e6f65d4" page
When user click on the "Accession map" button
Then page "/a/map/v2ZWxq2O6D4" is opened
Then block with map is present
Then info filter Label "Dataset: 2ccf187c-ec7c-4355-a857-d2c03e6f65d4" above the accessions list is displayed
Then info filter Label "Excluding Historic" above the accessions list is displayed
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "LG9801 - Chickpea evaluation (numbers IG 69596-114172)" card with name
Then page "/datasets/d5797a87-eb07-46aa-9cec-5de2e66267d1" is opened
Then header containing the text "Dataset details" is present
Then title of page is "LG9801 - Chickpea evaluation (numbers IG 69596-114172)"
Then field "Date of dataset" is presented
Then field "Metadata create date" is presented
Then field "Metadata updated date" is presented
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "LG9101 - Chickpea germplasm evaluation" card with name
Then page "/datasets/ecb16cc4-aa34-4d46-8156-19fa75c2e4d2" is opened
Then header containing the text "Dataset details" is present
Then title of page is "LG9101 - Chickpea germplasm evaluation"
Then map in the location block is presented
Then field "Location" is presented
Then field "Date of evaluation" is presented
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "LG9101 - Chickpea germplasm evaluation" card with name
Then page "/datasets/ecb16cc4-aa34-4d46-8156-19fa75c2e4d2" is opened
Then header containing the text "Dataset details" is present
Then title of page is "LG9101 - Chickpea germplasm evaluation"
Then check that descriptors is presented on the traits observed block
When user click on the "First pod height" descriptor on the traits observation list
Then page "/descriptors/8d16fc85-6799-4d5a-bce4-78927161d6af" is opened
Then header containing the text "Descriptor details" is present
Then title of page is "First pod height"
Given user go to "/datasets" page
Then user on the page "/datasets"
When wait until filters applied
When user click on the "LG9802 - Chickpea new acc. characterization from VIR (Larissa)" card with name
Then page "/datasets/2ccf187c-ec7c-4355-a857-d2c03e6f65d4" 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
Given user go to "/datasets/overview" page
Then user on the page "/datasets/overview"
Then wait until filters applied
When click on the "chickpea" options link in the block "Crop names"
Then page "/c/chickpea" is opened
Then header containing the text "General information" is present
When user click browser`s back button
Then page "/datasets/overview" is opened
When click on the "CATIE" options link in the block "Data provider"
Then page "/partners/2dec78d0-2347-4493-8df9-334570774bb8" is opened
Then header containing the text "Data provider details" is present
Scenario Results (including rows of test data) | Automated | |
---|---|---|
Passing | 15 | 88% |
Pending | 0 | |
Ignored | 0 | |
Skipped | 0 | |
Unsuccessful | ||
Failed | 2 | 12% |
Broken | 0 | |
Compromised | 0 | |
Total | 17 |
Execution Time | Clock Time | Fastest Test | Slowest Test | Average Execution Time |
---|---|---|---|---|
7m 8s | 1h 12m 51s | 13s | 1m 19s | 25s |
Scenario | Steps | Start Time | Duration | Result |
---|---|---|---|---|
16.0001 Check that dataset is opened. Datasets page; | 10 | |||
16.0002 Datasets overview page test; | 23 | |||
16.0003 Sort by sorting test; | 25 | |||
16.0003 Left panel filters tests. FULL_TEXT_QUERY ; | 9 | |||
16.0004 Left panel filters tests. DATA PROVIDER tests ; | 15 | |||
16.0006 Left panel filters tests. EVALUATION SIDE tests ; | 35 | |||
16.0007 Left panel filters tests. CROP filters tests ; | 23 | |||
16.0007 Left panel filters tests. ACCESSIONS filters tests ; | 33 | |||
16.0008 Left panel filters tests. LICENCE tests ; | 24 | |||
16.0009 Dataset details page tests. General info bock tests ; | 15 | |||
16.0010 Dataset details page tests. DATASET METADATA bock tests (Dataset use and licensing) ; | 10 | |||
16.0011 Dataset details page tests. DATASET METADATA bock tests (Data and resources) ; | 35 | |||
16.0012 Dataset details page tests. DATASET METADATA bock tests (Other Metadata) ; | 10 | |||
16.0013 Dataset details page tests. LOCATIONS bock tests; | 10 | |||
16.0013 Dataset details page tests. TRAITS OBSERVED bock tests; | 12 | |||
16.0015 Dataset details page tests. Add all accessions to My list (less then 5000); | 8 | |||
16.0017 Check that expected pages is opened when user clicks on the "Open in new" icon; | 11 |