Skip to content

Commit cfc6fcb

Browse files
committed
test(spinner): improve tests
1 parent cce4383 commit cfc6fcb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

elements/pf-v6-spinner/test/pf-v6-spinner.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ describe('<pf-v6-spinner>', function() {
4646
(child: { role: string }) => child.role === 'progressbar'
4747
);
4848
expect(spinnerNode).to.exist;
49+
expect(spinnerNode?.name).to.equal('Loading...');
50+
expect(spinnerNode?.valuetext).to.equal('Loading...');
4951
});
5052
});
5153

@@ -68,6 +70,7 @@ describe('<pf-v6-spinner>', function() {
6870
);
6971
expect(spinnerNode).to.exist;
7072
expect(spinnerNode?.name).to.equal('Loading results');
73+
expect(spinnerNode?.valuetext).to.equal('Loading results');
7174
});
7275
});
7376

0 commit comments

Comments
 (0)