fix(curriculum): Updated test to allow both slategray and slategrey for border color (#58746)

This commit is contained in:
agilan11
2025-02-13 01:10:52 +05:30
committed by GitHub
parent c4281858e7
commit 94d56e8971
@@ -206,7 +206,10 @@ assert.exists(document.querySelector('p.company + hr'));
The `hr` elements should have a `1px` dashed top border in `slategray` color.
```js
assert.equal(new __helpers.CSSHelp(document).getStyle('hr').getPropVal('border-top'), '1px dashed slategray');
assert.oneOf(
new __helpers.CSSHelp(document).getStyle('hr').getPropVal('border-top'),
['1px dashed slategray', '1px dashed slategrey']
);
```
After the first `hr` element, there should be a `p` element with an email address as your text.