Fix other fields being editable in password reprompt for Arc (#14117)

This commit is contained in:
Charles Gagnon
2021-01-29 16:27:20 -08:00
committed by GitHub
parent 667c12abdc
commit f6e39a7211
5 changed files with 10 additions and 65 deletions

View File

@@ -43,16 +43,6 @@ describe('filePicker', function (): void {
it('component getter', () => {
should(filePicker.component()).not.be.undefined();
});
[true, false].forEach(testValue => {
it(`Test readOnly with testValue: ${testValue}`, () => {
filePicker.readOnly = testValue;
filePicker.readOnly!.should.equal(testValue);
});
it(`Test enabled with testValue: ${testValue}`, () => {
filePicker.enabled = testValue;
filePicker.enabled!.should.equal(testValue);
});
});
});
});

View File

@@ -61,17 +61,6 @@ describe('radioOptionsGroup', function (): void {
it(`component getter`, () => {
should(radioOptionsGroup.component()).not.be.undefined();
});
[true, false].forEach(testValue => {
it(`Test readOnly with testValue: ${testValue}`, () => {
radioOptionsGroup.readOnly = testValue;
radioOptionsGroup.readOnly!.should.equal(testValue);
});
it(`Test enabled with testValue: ${testValue}`, () => {
radioOptionsGroup.enabled = testValue;
radioOptionsGroup.enabled!.should.equal(testValue);
});
});
});
});