Skip to content
Snippets Groups Projects
Unverified Commit 0d87f517 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

Merge pull request #699 from HumanBrainProject/bugfix_e2e_conBrwsr

Bugfix e2e test and conn browser regression
parents 213cd1a7 f8114405
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ describe('> dataset browser', () => {
await iavPage.selectSearchRegionAutocompleteWithText()
await retry(async () => {
await iavPage.dismissModal()
await iavPage.toggleExpansionPanelState(`${CONST.REGIONAL_FEATURES}`)
await iavPage.toggleExpansionPanelState(`${CONST.REGIONAL_FEATURES}`, true)
}, {
timeout: 2000,
retries: 10
......
......@@ -199,7 +199,11 @@
<!-- single-region-wrapper -->
<ng-template [ngIf]="selectedRegions.length === 1" [ngIfElse]="multiRegionWrapperTmpl">
<ng-container *ngTemplateOutlet="singleRegionTmpl; context: { region: selectedRegions[0] }">
<!-- a series of bugs result in requiring this hacky -->
<!-- see https://github.com/HumanBrainProject/interactive-viewer/issues/698 -->
<ng-container *ngFor="let region of selectedRegions">
<ng-container *ngTemplateOutlet="singleRegionTmpl; context: { region: region }">
</ng-container>
</ng-container>
</ng-template>
......@@ -212,7 +216,7 @@
<!-- This is a wrapper for multiregion consisting of {{ selectedRegions.length }} regions -->
</ng-template>
<!-- place holder if length < 0 -->
<!-- place holder if length === 0 -->
<ng-container *ngIf="selectedRegions.length === 0">
<ng-container *ngTemplateOutlet="singleRegionTmpl; context: { region: false }">
</ng-container>
......@@ -329,10 +333,8 @@
</mat-expansion-panel-header>
<!-- content -->
<ng-template matExpansionPanelContent>
<ng-container *ngTemplateOutlet="content; context: { expansionPanel: expansionPanel }">
</ng-container>
</ng-template>
<ng-container *ngTemplateOutlet="content; context: { expansionPanel: expansionPanel }">
</ng-container>
</mat-expansion-panel>
</ng-template>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment