* fix issue with labeledSelect in mode multiple by allowing the binding of the attribute to the element v-select
* Add test for component to emit the correct value as array
---------
Co-authored-by: cnotv <giuseppe.leo@suse.com>
* Add container resource limit tests
Add real case scenario for unit input component
Add input test for container resource limit
Add base unit to unit input test
Add blur test for container resource limit and unit input
Extend input tests to all cases
Add test case with parent passing value and update on emission
Update tests
Update tests to match emitters
* Add emitters for unit input
* Accept ID pairing with data suggestion fix
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* Enable tests after fix
---------
Co-authored-by: Phillip Rak <rak.phillip@gmail.com>
* remove $set from AKS validators
* fix cruGKE not rendering
* fix most aks unit tests
* fix crueks and eks config unit tests
* fix eks networking and nodegroup unit tests
* fix gke unit tests
* fix consumption gauge test
* fix namespacefilter tests
* fix command and taints unit tests
* fix questions unit tests
* fix hpa and service unit tests
* fix registryconfigs unit tests
* fix job unit tests
* fix longhorn unit tests
* fix addextensionsrepos unit tests
* fix rke2 basics unit tests
* fix container shell unit tests
* fix last aks pool test
* fix mount tests
* fix namespace and pv unit tests
* fix codemirror unit tests
* clean up aks, boolean, namespacefilter unit tests
* fix namespacefilter test
* remove redundant test case
* update gke node pools to use NO_SCHEDULE PREFER_NO_SCHEDULE and NO_EXECUTE as taint effect options
* fix gke node pool test
* fix taints default add value and tests
* remove legacy items except for project config-maps and secrets
* add kv test
* add a watcher to keyvalue to ensure that it updates when the parent component changes the value being displayed
* add keyvalue unit tests to cover add and remove buttons
* remove testing code
* remove more test code
* use isequal instead of json stringify
---------
Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
* remove labeledselect ability to detect stale option labels in order to improve performance
* add key rerender hack to fix psa dropdown option labels not refreshing
* fix lint
* Correct file test naming
* Correct test files import and names
* Restructure TS configuration with shared path
* Copied TS configuration for shell due current architecture state
* Remove duplication in Editor story, preventing to be loaded
* Add all ArrayList cases
* Correct percentage typo
* Allow to past single line in array list input; Create related tests
* Add slot cases for ArrayList
* Add values to display disabled add/remove buttons
* Remove focused tests
* imrpove labeledSelect getOptionLabel performance when options are strings
* refactor labeledselect getOptionLabel and write test
* remove redundant if block in ls getOPtionLabel
* refactor getUpdatedOption
* HARVESTER: only change priority by select component
* apply weight input fix to node affinity and add unit tests
* fix node affinity unit test name
---------
Co-authored-by: Nancy Butler <42977925+mantis-toboggan-md@users.noreply.github.com>
* Added test for preventDefault
* Added test for prevent default event on keypress Enter in CruResource component
* Removed test console log
* Fixed lint
* Added data-testid to form
* Fixed lint
* Add new line on pressing enter
* Test enter new line
* Test textarea Enter button in CruResource form
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
---------
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
Co-authored-by: Francesco Torchia <francesco.torchia@suse.com>
* porting Neils poc work
* add all namespaces to pod affinity ui + add banners to for windows warning and no defaults for limits area + set namespaces as input as default for agent configuration + add node selector to agent configuration
* update banner copy in affinity section for windows + add visual separator between node and pod affinity
* added weight input for node affinity - preferred + made weight input for pod affinity appear only for preferred + changed MatchExpressions component to cover matchFields and matchExpressions in node affinityupdate banner copy in affinity section for windows + add visual separator between node and pod affinity
* fix lint errors
* working on e2e tests for agent configuration on rke2
* e2e tests work in progress
* working on e2e tests
* fix issue with Tolerations component where data wasnt being propagated because some inputs were missing a connection with the update method
* finish missing bits of e2e tests + fix height of inputs + revert back default affinity fetch
* disable no arbitrary waits in cypress
* fix broken e2e and unit tests
* fix e2e tests again
* fix lint issue
* set timeout for intercepting request to 10 seconds
* update path for default setting in agent configuration
* fix issue in dark mode in group panel + update strings to match rke1 interface + remove label from namespace input on pod affinity + clean up agent config data on save and restore it if it fails + change order of ui blocks in agent config interface
* address low hanging fruit PR comments
* remove console log
* move agent config po to components folder
* remove select.po in favour of labeledselect.po + fix data-testid in arrayList component and also its unit tests + make unit-input po leverage the use of LabeledInputPo + fix title assertion
* address final comments on e2e tests
* fix issues with PodAffinity component + update e2e test payload check
* final PR fixes
* addressing PR comments
* remove log
* reverting changes to ClusterManagerCreateRke2CustomPagePo as it was impacting other tests + add a method to go to custom cluster creation page
* e2e test updates
* updating banners copy
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
* Add tests to namespace picker for resources
* Get namespaces from state and map to options
* Add comment to the Namespace getter logic in the store
* Hide Rancher System namespaces
* Update existing test
* Add tests for namespaces getter
* Create getter to retrieve readonly namespaces
* Split active namespaces function
* Add fleet filtering logic
* Correct mode for NS component
* Add comment information about restriction for read only