Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
siibra-explorer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiao Gui
siibra-explorer
Commits
aed8566f
Commit
aed8566f
authored
4 years ago
by
Xiao Gui
Browse files
Options
Downloads
Patches
Plain Diff
bugfix: pmap no longer appear in regional features
parent
4b09ff2e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
e2e/src/advanced/favDatasets.prod.e2e-spec.js
+6
-6
6 additions, 6 deletions
e2e/src/advanced/favDatasets.prod.e2e-spec.js
with
6 additions
and
6 deletions
e2e/src/advanced/favDatasets.prod.e2e-spec.js
+
6
−
6
View file @
aed8566f
...
...
@@ -12,7 +12,7 @@ const templates = [
const
area
=
'
Area hOc1 (V1, 17, CalcS)
'
const
receptorName
=
`Density measurements of different receptors for Area hOc1 (V1, 17, CalcS) [human, v1.0]`
const
pmapName
=
`Probabilistic cytoarchitectonic map of Area hOc1 (V1, 17, CalcS) (v2.4)
`
const
ieegDatasetName
=
`Human Intracranial EEG Database (HID) [cohort I]
`
// TODO finish writing tests
describe
(
`fav'ing dataset`
,
()
=>
{
...
...
@@ -56,7 +56,7 @@ describe(`fav'ing dataset`, () => {
const
datasets
=
await
iavPage
.
getVisibleDatasets
()
const
receptorIndex
=
datasets
.
indexOf
(
receptorName
)
const
probMap
=
datasets
.
indexOf
(
pmap
Name
)
const
probMap
=
datasets
.
indexOf
(
ieegDataset
Name
)
expect
(
receptorIndex
).
toBeGreaterThanOrEqual
(
0
)
expect
(
probMap
).
toBeGreaterThanOrEqual
(
0
)
...
...
@@ -68,7 +68,7 @@ describe(`fav'ing dataset`, () => {
await
iavPage
.
togglePinNthDataset
(
probMap
)
await
iavPage
.
wait
(
500
)
const
txt2
=
await
iavPage
.
getSnackbarMessage
()
expect
(
txt2
).
toEqual
(
`Pinned dataset:
${
pmap
Name
}
`
)
expect
(
txt2
).
toEqual
(
`Pinned dataset:
${
ieegDataset
Name
}
`
)
})
describe
(
'
> fav dataset list
'
,
()
=>
{
...
...
@@ -77,7 +77,7 @@ describe(`fav'ing dataset`, () => {
const
datasets
=
await
iavPage
.
getVisibleDatasets
()
const
receptorIndex
=
datasets
.
indexOf
(
receptorName
)
const
probMap
=
datasets
.
indexOf
(
pmap
Name
)
const
probMap
=
datasets
.
indexOf
(
ieegDataset
Name
)
await
iavPage
.
togglePinNthDataset
(
receptorIndex
)
await
iavPage
.
togglePinNthDataset
(
probMap
)
...
...
@@ -190,7 +190,7 @@ describe(`fav'ing dataset`, () => {
const
datasets
=
await
iavPage
.
getVisibleDatasets
()
const
receptorIndex
=
datasets
.
indexOf
(
receptorName
)
const
probMap
=
datasets
.
indexOf
(
pmap
Name
)
const
probMap
=
datasets
.
indexOf
(
ieegDataset
Name
)
await
iavPage
.
togglePinNthDataset
(
receptorIndex
)
await
iavPage
.
togglePinNthDataset
(
probMap
)
...
...
@@ -204,7 +204,7 @@ describe(`fav'ing dataset`, () => {
expect
(
textsArr
.
length
).
toEqual
(
2
)
expect
(
textsArr
).
toContain
(
receptorName
)
expect
(
textsArr
).
toContain
(
pmap
Name
)
expect
(
textsArr
).
toContain
(
ieegDataset
Name
)
})
it
(
'
> dataset detail can be launched via collection
'
,
async
()
=>
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment