feat: add more e2e tests for MPR and add test mode and extension (#3180)

* tests: add various e2e tests for MPR and measurements

wip

add cypress config

feat: add mode and extension for testing

add hp applied through search params

add MPR tests

apply review comments

add more e2e tests

update yarn lock

* fix unit tests failing
This commit is contained in:
Alireza authored and GitHub committed 2023-02-17 15:04:07 -05:00
1 parent ae4183852f
commit 926290f69e
83 files changed
+6286 -6860

No files matched your search

+2 -1
View File
@@ -57,6 +57,7 @@ const Input = ({
};
Input.propTypes = {
id: PropTypes.string,
label: PropTypes.string,
containerClassName: PropTypes.string,
labelClassName: PropTypes.string,
@@ -70,7 +71,7 @@ Input.propTypes = {
readOnly: PropTypes.bool,
onKeyPress: PropTypes.func,
onKeyDown: PropTypes.func,
disabled: PropTypes.bool
disabled: PropTypes.bool,
};
export default Input;
@@ -32,6 +32,7 @@ const Modal = ({
<Typography
variant="h4"
className="flex grow text-primary-light font-light"
data-cy="modal-header"
>
{title}
</Typography>
@@ -79,6 +79,7 @@ const Select = ({
className,
'flex flex-col flex-1 customSelect__wrapper'
)}
data-cy={`input-${id}`}
classNamePrefix="customSelect"
isDisabled={isDisabled}
isClearable={isClearable}
@@ -95,7 +95,11 @@ const ThumbnailTracked = ({
>
<Icon name={trackedIcon} className="w-4 mb-2 text-primary-light" />
</Tooltip>
<div className="text-xl leading-tight text-white text-center">
<div
className="text-xl leading-tight text-white text-center"
data-cy={'thumbnail-viewport-labels'}
>
{renderViewportLabels()}
</div>
</div>