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

Revert "Use molecule filename as index" #108

Merged
merged 1 commit into from
Jul 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/haddock3-download/integration-tests/molecules.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ test.describe('given 1 molecule and a flexref node with seg parameter defined',
await page.locator('select').selectOption('http://localhost:3000/catalog/haddock3.expert.yaml')
// Click button:has-text("Global parameters")
await page.locator('button:has-text("Global parameters")').click()
// Click text=Input MoleculesThe input molecules that will be used for docking.* >> input[type="file"]
await page.locator('text=Input MoleculesThe input molecules that will be used for docking.* >> input[type="file"]').click()
// Upload e2a-hpr_1GGR.pdb
const file1 = await readFile('./integration-tests/data/e2a-hpr_1GGR.pdb')
await page.locator('text=0* >> input[type="file"]')
await page.locator('text=Input MoleculesThe input molecules that will be used for docking.* >> input[type="file"]')
.setInputFiles({ name: 'e2a-hpr_1GGR.pdb', mimeType: 'chemical/x-pdb', buffer: file1 })
// Click input[type="text"]
await page.locator('input[type="text"]').click()
Expand Down
3 changes: 1 addition & 2 deletions apps/haddock3-download/integration-tests/topoaamol.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,14 @@ test.describe('given 1 molecule and a topoaa node with segment id defined', () =
await page.locator('input[type="text"]').fill('x')
// Upload e2a-hpr_1GGR.pdb
const file1 = await readFile('./integration-tests/data/e2a-hpr_1GGR.pdb')
await page.locator('text=0* >> input[type="file"]')
await page.locator('text=Input MoleculesThe input molecules that will be used for docking.* >> input[type="file"]')
.setInputFiles({ name: 'e2a-hpr_1GGR.pdb', mimeType: 'chemical/x-pdb', buffer: file1 })
// Click text=Submit
await page.locator('text=Submit').click()
// Click text=Cancel
await page.locator('button:has-text("Cancel")').click()
// Click button:has-text("topoaa")
await page.locator('button:has-text("topoaa")').click()

// Click #expander4molecule svg
await page.locator('#expander4molecule svg').click()
// Click #expander4input_molecules svg
Expand Down
Loading