fix(curriculum): split up test in lab job application form (#60350)

This commit is contained in:
Clarence Bakosi
2025-05-15 03:09:32 +01:00
committed by GitHub
parent fa1577e832
commit 3531f02963
@@ -113,12 +113,24 @@ The `button` element should have a `:hover` pseudo-class that changes the backgr
assert.isNotEmpty(new __helpers.CSSHelp(document).getStyle('button:hover').getPropertyValue('background-color'))
```
You should use the `:checked` pseudo-class on `.radio-group input[type="radio"]` to add a border color, background color and a box shadow when the radio button is selected.
You should use the `:checked` pseudo-class on `.radio-group input[type="radio"]` to add a border color when the radio button is selected.
```js
const style = new __helpers.CSSHelp(document).getStyle('.radio-group input[type="radio"]:checked');
assert.isNotEmpty(style.getPropertyValue('border-color'));
```
You should use the `:checked` pseudo-class on `.radio-group input[type="radio"]` to add a background color when the radio button is selected.
```js
const style = new __helpers.CSSHelp(document).getStyle('.radio-group input[type="radio"]:checked');
assert.isNotEmpty(style.getPropertyValue('background-color'));
```
You should use the `:checked` pseudo-class on `.radio-group input[type="radio"]` to add a box shadow when the radio button is selected.
```js
const style = new __helpers.CSSHelp(document).getStyle('.radio-group input[type="radio"]:checked');
assert.isNotEmpty(style.getPropertyValue('box-shadow'));
```