-
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): add Cypress E2E tests to cover hidden columns, closes #250
- row selection internally have their column definition set to have the "excludeFromColumnPicker" and "excludeFromGridMenu" set to true. We need to make sure that they are hidden from these pickers and that also the hiding/showing columns are not affected by this - also fix Grid Menu (example 9) Cypress flaky test
- Loading branch information
Ghislain Beaulac
authored and
Ghislain Beaulac
committed
Aug 1, 2019
1 parent
d9a2325
commit 22868f5
Showing
5 changed files
with
126 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,20 @@ | ||
<div class="container-fluid"> | ||
<h2>{{title}}</h2> | ||
<div class="subtitle" | ||
[innerHTML]="subTitle"></div> | ||
<div class="subtitle" [innerHTML]="subTitle"></div> | ||
|
||
<button class="btn btn-default btn-sm" | ||
(click)="toggleGridMenu($event)" | ||
data-test="external-gridmenu"> | ||
<button class="btn btn-default btn-sm" (click)="toggleGridMenu($event)" data-test="external-gridmenu"> | ||
<i class="fa fa-bars"></i> | ||
Grid Menu | ||
</button> | ||
<button class="btn btn-default btn-sm" | ||
(click)="switchLanguage()" | ||
data-test="language"> | ||
<button class="btn btn-default btn-sm" (click)="switchLanguage()" data-test="language"> | ||
<i class="fa fa-language"></i> | ||
Switch Language | ||
</button> | ||
<b>Locale:</b> <span style="font-style: italic" data-test="selected-locale">{{selectedLanguage + '.json'}}</span> | ||
|
||
<div class="col-sm-12"> | ||
<angular-slickgrid gridId="grid9" | ||
(onAngularGridCreated)="angularGridReady($event)" | ||
[columnDefinitions]="columnDefinitions" | ||
[gridOptions]="gridOptions" | ||
[dataset]="dataset"> | ||
<angular-slickgrid gridId="grid9" (onAngularGridCreated)="angularGridReady($event)" | ||
[columnDefinitions]="columnDefinitions" [gridOptions]="gridOptions" [dataset]="dataset"> | ||
</angular-slickgrid> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters