()
| 755 | ] |
| 756 | let ignoredInputParameters = [] |
| 757 | const validateCustomCommand = () => { |
| 758 | commandIgnoredBooleanInputs.forEach((input) => { |
| 759 | const inputParameter = input[0] |
| 760 | const inputDefault = input[1] |
| 761 | if (getInputBool(inputParameter) !== inputDefault) { |
| 762 | ignoredInputParameters.push(inputParameter) |
| 763 | } |
| 764 | }) |
| 765 | commandIgnoredStringInputs.forEach((input) => { |
| 766 | if (core.getInput(input)) { |
| 767 | ignoredInputParameters.push(input) |
| 768 | } |
| 769 | }) |
| 770 | if (ignoredInputParameters.length > 0) { |
| 771 | core.warning( |
| 772 | `command parameter is used and the following other parameters are ignored: ${ignoredInputParameters |
| 773 | .sort() |
| 774 | .join(', ')}.` |
| 775 | ) |
| 776 | } |
| 777 | } |
| 778 | |
| 779 | /** |
| 780 | * Run Cypress tests by collecting input parameters |
no test coverage detected