Skip to content

Commit

Permalink
Merge pull request #102 from i-VRESSE/table-index-57
Browse files Browse the repository at this point in the history
Make array and table fields indexable
  • Loading branch information
sverhoeven authored Jul 29, 2022
2 parents ccac3d6 + 422b18c commit 73064be
Show file tree
Hide file tree
Showing 17 changed files with 1,540 additions and 696 deletions.
4 changes: 1 addition & 3 deletions apps/haddock3-download/integration-tests/molecules.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ 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=Input MoleculesThe input molecules that will be used for docking.* >> input[type="file"]')
await page.locator('text=0* >> 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: 2 additions & 1 deletion apps/haddock3-download/integration-tests/topoaamol.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ 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=Input MoleculesThe input molecules that will be used for docking.* >> input[type="file"]')
await page.locator('text=0* >> 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

0 comments on commit 73064be

Please sign in to comment.