kibana/test/functional/apps/context
Kibana Machine e6c75cd1cd
[8.6] fix timepicker default start day (#145947) (#146408)
# Backport

This will backport the following commits from `main` to `8.6`:
- [fix timepicker default start day
(#145947)](https://github.com/elastic/kibana/pull/145947)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Lee
Drengenberg","email":"lee.drengenberg@elastic.co"},"sourceCommit":{"committedDate":"2022-11-28T14:59:09Z","message":"fix
timepicker default start day (#145947)\n\n## Summary\r\n\r\nThis PR is
mainly some cleanup before another PR I have in the works to\r\nshortcut
timepicker.setAbsoluteTime() by checking if we already have
the\r\ndesired time set.\r\n\r\nThis PR changes the timePicker
defaultStartTimeUTC value from September\r\n18th to September 19th to
match the value of defaultStartTimeUTC.\r\nThe variable name
defaultStartTimeUTC implies it's a different timezone\r\nbut actually
it's the same date time but in a different ISO format.\r\nIt seems there
was only 1 place in tests which expected that Sep
18th\r\ndate.\r\n\r\nAnother small change
in\r\n`x-pack/test/functional/apps/lens/group1/text_based_languages.ts`
is to\r\nuse uiSettings.update insteda of uiSettings.replace. `replace`
wipes out\r\nthe default UTC timezone and the defaultTime
settings.\r\n\r\nI added a few calls to cleanStandardList to make sure
any saved objects\r\ncreated by the tests are cleaned up, and to get a
clean run if other\r\ntests left something.\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9c9c66cd0b16f7514b407912d1b0bbcb0cab00ac","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:QA","test_ui_functional","release_note:skip","backport:prev-minor","v8.7.0"],"number":145947,"url":"https://github.com/elastic/kibana/pull/145947","mergeCommit":{"message":"fix
timepicker default start day (#145947)\n\n## Summary\r\n\r\nThis PR is
mainly some cleanup before another PR I have in the works to\r\nshortcut
timepicker.setAbsoluteTime() by checking if we already have
the\r\ndesired time set.\r\n\r\nThis PR changes the timePicker
defaultStartTimeUTC value from September\r\n18th to September 19th to
match the value of defaultStartTimeUTC.\r\nThe variable name
defaultStartTimeUTC implies it's a different timezone\r\nbut actually
it's the same date time but in a different ISO format.\r\nIt seems there
was only 1 place in tests which expected that Sep
18th\r\ndate.\r\n\r\nAnother small change
in\r\n`x-pack/test/functional/apps/lens/group1/text_based_languages.ts`
is to\r\nuse uiSettings.update insteda of uiSettings.replace. `replace`
wipes out\r\nthe default UTC timezone and the defaultTime
settings.\r\n\r\nI added a few calls to cleanStandardList to make sure
any saved objects\r\ncreated by the tests are cleaned up, and to get a
clean run if other\r\ntests left something.\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9c9c66cd0b16f7514b407912d1b0bbcb0cab00ac"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/145947","number":145947,"mergeCommit":{"message":"fix
timepicker default start day (#145947)\n\n## Summary\r\n\r\nThis PR is
mainly some cleanup before another PR I have in the works to\r\nshortcut
timepicker.setAbsoluteTime() by checking if we already have
the\r\ndesired time set.\r\n\r\nThis PR changes the timePicker
defaultStartTimeUTC value from September\r\n18th to September 19th to
match the value of defaultStartTimeUTC.\r\nThe variable name
defaultStartTimeUTC implies it's a different timezone\r\nbut actually
it's the same date time but in a different ISO format.\r\nIt seems there
was only 1 place in tests which expected that Sep
18th\r\ndate.\r\n\r\nAnother small change
in\r\n`x-pack/test/functional/apps/lens/group1/text_based_languages.ts`
is to\r\nuse uiSettings.update insteda of uiSettings.replace. `replace`
wipes out\r\nthe default UTC timezone and the defaultTime
settings.\r\n\r\nI added a few calls to cleanStandardList to make sure
any saved objects\r\ncreated by the tests are cleaned up, and to get a
clean run if other\r\ntests left something.\r\n\r\nCo-authored-by:
Kibana Machine
<42973632+kibanamachine@users.noreply.github.com>","sha":"9c9c66cd0b16f7514b407912d1b0bbcb0cab00ac"}}]}]
BACKPORT-->

Co-authored-by: Lee Drengenberg <lee.drengenberg@elastic.co>
2022-11-28 09:25:22 -07:00
..
classic [Discover] Enable context docs navigation from embeddable using adhoc data views (#142126) 2022-11-03 18:58:22 +03:00
_context_accessibility.ts [Discover] Add focus to h1 on navigate for single document and surrounding document views (#134942) 2022-06-27 14:06:13 -03:00
_context_navigation.ts [8.6] fix timepicker default start day (#145947) (#146408) 2022-11-28 09:25:22 -07:00
_date_nanos.ts [Discover] Cleanup uses of legacy table in functional tests (#134638) 2022-06-23 12:54:28 +03:00
_date_nanos_custom_timestamp.ts [Discover] Cleanup uses of legacy table in functional tests (#134638) 2022-06-23 12:54:28 +03:00
_discover_navigation.ts [Discover] Enable context docs navigation from embeddable using adhoc data views (#142126) 2022-11-03 18:58:22 +03:00
_filters.ts [Discover] Fix flaky test regarding field actions in a flyout (#140415) 2022-09-12 11:01:00 +02:00
_size.ts [Discover] Cleanup uses of legacy table in functional tests (#134638) 2022-06-23 12:54:28 +03:00
config.ts [ftr] automatically determine config run order (#130983) 2022-05-04 17:05:58 -05:00
index.ts [Discover] Add focus to h1 on navigate for single document and surrounding document views (#134942) 2022-06-27 14:06:13 -03:00