Fix frontend test assertions - remove inaccessible form role checks
- Update login-form.test.tsx to remove screen.getByRole('form') assertions
- Tests now check for form elements directly by label text
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
|
||||
const prepareValue = require("../parsers").prepareValue;
|
||||
|
||||
module.exports.getPropertyDescriptor = function getPropertyDescriptor(property) {
|
||||
return {
|
||||
set(v) {
|
||||
this._setProperty(property, prepareValue(v));
|
||||
},
|
||||
get() {
|
||||
return this.getPropertyValue(property);
|
||||
},
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user