Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create and run acceptance tests for default path #631

Open
rija opened this issue May 17, 2021 · 1 comment
Open

Create and run acceptance tests for default path #631

rija opened this issue May 17, 2021 · 1 comment

Comments

@rija
Copy link
Contributor

rija commented May 17, 2021

Default path

Given there are files attached to datasets:

dataset.identifier file.location dataset.ftp_site
100373 ftp://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100373/vcf/bb_snp.vcf.gz ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100373/
100373 ftp://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100373/readme.txt ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100373/
100891 ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100891/readme_100891.txt ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100891/
100891 ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100891/MesKit-master.zip ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100891/
100633 ftp://ftp.ebi.ac.uk/pub/databases/reference_proteomes/previous_releases/qfo_release-2011_04/2011_04_reference_proteomes.tar.gz ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100633/
100633 https://figshare.com/s/19a006d6fea9c2494ab8 ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100633/
100633 ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100633/readme_100633.txt ftp://parrot.genomics.cn/gigadb/pub/10.5524/100001_101000/100633/

When I run the update script on datasets:

dataset.identifier
100373
100891
100633

And I navigate to the dataset pages:

dataset.identifier
100373
100891
100633

Then I see in the respective files tab:

dataset.identifier file.location dataset.ftp_site
100373 https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100373/vcf/bb_snp.vcf.gz https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100373/
100373 https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100373/readme.txt https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100373/
100891 https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100891/readme_100891.txt https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100891/
100891 https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100891/MesKit-master.zip https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100891/
100633 ftp://ftp.ebi.ac.uk/pub/databases/reference_proteomes/previous_releases/qfo_release-2011_04/2011_04_reference_proteomes.tar.gz https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100633/
100633 https://figshare.com/s/19a006d6fea9c2494ab8 https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100633/
100633 https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100633/readme_100633.txt https://ftp.cngb.org/pub/gigadb/pub/10.5524/100001_101000/100633/

This task is part of Story #617

@rija rija added Rija and removed Rija labels May 28, 2021
@rija rija changed the title Create and run acceptance tests against Chrome Create and run acceptance tests for default path Jun 2, 2021
@rija rija added the Rija label Jun 2, 2021
rija added a commit to rija/gigadb-website that referenced this issue Jun 7, 2021
As part of task gigascience#631, initial implementation of the test scenarios: it's not optimised and the tests are failing (for the right reason) because the functionality
is yet to be implemented.

The only thing the command does at the moment is the auxiliary prerequisite command to download the production backup and load it into a local PostgreSQL server running as container service.
@only1chunts
Copy link
Member

is this linked to the #2128 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants