Fixed test-selector typo for members table

refs b76291ccb7 (commitcomment-66689174)

- fixed typo
- added check to base state test to confirm
This commit is contained in:
Kevin Ansfield 2022-02-15 15:01:13 +00:00
parent bd93f0db0b
commit 5895540c5b
2 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,7 @@
{{else}}
<section class="view-container {{if (or (not this.members) (lt this.members.length 6)) "members-list-container-stretch"}}">
{{#if this.members}}
<div class="gh-list-scrolling {{if (lt this.members.length 6) "gh-list-with-helpsection"}}" daat-test-table="members">
<div class="gh-list-scrolling {{if (lt this.members.length 6) "gh-list-with-helpsection"}}" data-test-table="members">
<table class="gh-list">
<thead>
<tr>

View File

@ -24,6 +24,7 @@ describe('Acceptance: Members filtering', function () {
await visit('/members');
// members are listed
expect(find('[data-test-table="members"]')).to.exist;
expect(findAll('[data-test-list="members-list-item"]').length, '# of member rows').to.equal(7);
// export is available