Skip to content
Open
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4d11839
first pass at basic ui update
parkiino May 1, 2026
a40e455
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 5, 2026
6e3e123
add tests
parkiino May 8, 2026
e208892
Changes from node scripts/styled_components_mapping
kibanamachine May 8, 2026
49c9835
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine May 8, 2026
8260259
fix os change bug
parkiino May 8, 2026
3d382fa
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 8, 2026
5ca68a0
Merge branch 'task/trusted-devices-ui-update' of github.com:parkiino/…
parkiino May 8, 2026
3761004
cypress test fixes
parkiino May 8, 2026
226d035
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 8, 2026
72c8d66
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 19, 2026
91777db
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 21, 2026
7e26853
adjust validation for smoother experience, incorporate pr reviews
parkiino May 22, 2026
508189f
Changes from node scripts/styled_components_mapping
kibanamachine May 22, 2026
14fad4b
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 22, 2026
c050edc
Merge branch 'task/trusted-devices-ui-update' of github.com:parkiino/…
parkiino May 22, 2026
f86f3a3
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 26, 2026
3c80567
add 2 additional tests
parkiino May 26, 2026
98351bb
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 27, 2026
66d6e2c
Changes from node scripts/check
kibanamachine May 27, 2026
9fffc70
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 28, 2026
039b259
fix linting
parkiino May 28, 2026
cdb82b4
Merge branch 'task/trusted-devices-ui-update' of github.com:parkiino/…
parkiino May 28, 2026
0a1993d
remove unnecessary error
parkiino May 29, 2026
1bcf308
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 29, 2026
48171f4
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino May 29, 2026
4860469
fix i18n
parkiino May 29, 2026
9766f7f
Merge remote-tracking branch 'upstream/main' into task/trusted-device…
parkiino Jun 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/kbn-babel-preset/styled_components_files.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ describe(

fields.forEach((field) => {
selectField(field);
cy.getByTestSubj('trustedDevices-form-fieldSelect').should('contain', field);
cy.getByTestSubj('trustedDevices-form-entry0fieldSelect').should('contain', field);
});
});

it('Shows limited field options for Windows and Mac (no Username)', () => {
openTrustedDevices({ create: true });
selectOs('Windows and Mac');

cy.getByTestSubj('trustedDevices-form-fieldSelect').click();
cy.getByTestSubj('trustedDevices-form-entry0fieldSelect').click();

const availableFields: Array<'Host' | 'Device ID' | 'Manufacturer' | 'Product ID'> = [
'Host',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,15 +544,15 @@ export const getArtifactsListTestsData = (): ArtifactsFixtureType[] => [
},
{
type: 'click',
selector: 'trustedDevices-form-fieldSelect',
selector: 'trustedDevices-form-entry0fieldSelect',
},
{
type: 'click',
customSelector: '[role="option"]:contains("Host")',
},
{
type: 'input',
selector: 'trustedDevices-form-valueField',
selector: 'trustedDevices-form-entry0valueField',
value: 'test-host',
},
],
Expand Down Expand Up @@ -585,11 +585,11 @@ export const getArtifactsListTestsData = (): ArtifactsFixtureType[] => [
},
{
type: 'clear',
selector: 'trustedDevices-form-valueField',
selector: 'trustedDevices-form-entry0valueField',
},
{
type: 'input',
selector: 'trustedDevices-form-valueField',
selector: 'trustedDevices-form-entry0valueField',
value: 'updated-host',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,19 +247,19 @@ export const trustedDevicesFormSelectors = {
},

selectField: (field: 'Username' | 'Host' | 'Device ID' | 'Manufacturer' | 'Product ID') => {
cy.getByTestSubj('trustedDevices-form-fieldSelect').click();
cy.getByTestSubj('trustedDevices-form-entry0fieldSelect').click();
cy.get('[role="option"]').contains(field).click();
},

selectOperator: (operator: 'is' | 'matches') => {
cy.getByTestSubj('trustedDevices-form-operatorSelect').click();
cy.getByTestSubj('trustedDevices-form-entry0operatorSelect').click();
cy.get('[role="option"]')
.contains(operator === 'is' ? 'is' : 'matches')
.click();
},

fillValue: (value: string) => {
cy.getByTestSubj('trustedDevices-form-valueField').within(() => {
cy.getByTestSubj('trustedDevices-form-entry0valueField').within(() => {
cy.get('input[role="combobox"]').click();
cy.get('input[role="combobox"]').should('be.focused');
cy.get('input[role="combobox"]').type(`{selectall}{backspace}`);
Expand Down
Loading
Loading