x-pack/solutions/observability/plugins/synthetics/dev_docs/test_plan.md
Monitor's locations are available in the edge-oblt cluster. To connect to it via cross-cluster search in a development environment, you can utilize oblt-cli with the edge-oblt template. You can interact with oblt-cli directly in your terminal or via the slack integration. The slack integration is preferred for productivity.
Oblt-cli will provide kibana.yml configuration that can be in config/kibana.dev.yml. This configuration will replace your existing kibana.dev.yml configuration. Be sure to uncomment the field elasticsearch.ignoreVersionMismatch: true, as the elasticsearch version often conflicts with the Kibana version.
Inspect configuration button and on the Run test button before clicking on the Create monitor button.Ensure all created monitor cards are displayed.
Click on one of the cards and make sure the monitor details flyout is visible.
Hover over one of the cards and click the Actions button and make sure all the actions are visible and working as expected. The following actions should be shown:
Use the search bar to filter the monitors
Test the Up, Down, Disabled and Pending filters.
Test the Type, Location, Tags and Frequency filters.
For the Location and Tags filters make sure the Use logical AND option works as expected.
Check that the Monitors status panel correctly shows the Up, Down and Disabled monitors.
In the monitors status panel click on the 3 dots icon and test the Add to dashboard functionality.
Make sure the Errors and Alerts panels are visible.
Select All permitted spaces in the Spaces dropdown and make sure all monitors are shown. To test this make sure you are part of another space and that space contains at least 1 monitor.
Test the Add to dashboard button.
Make sure the Sort by dropdown works as expected.
Make sure the Group by dropdown works as expected.
Make sure the buttons to switch between card view and compact view work as expected.
Type, Location, Tags and Frequency filters.Location and Tags filters make sure the Use logical AND option works as expected.Summary and Last 30 days panels are visible.Last 30 days panel hover over the number of test runs and click on Inspect, make sure the flyout opens.Last 30 days panel hover over the graph and click on Inspect, make sure the flyout opens.Edit, Clone, Delete and Disable status alerts actions on the Configuration tile.All permitted spaces in the Spaces dropdown and make sure all monitors are shown. To test this make sure you are part of another space and that space contains at least 1 monitor.To get access to this page from the Overview tab click on one of the monitors and then click on Go to monitor on the flyout.
On a monitor with multiple locations make sure the Location dropdown works as expected.
Click on Edit monitor and update the monitor.
Click on Edit monitor and delete the monitor.
On the Overview tab make sure the following panels are visible:
If it's a journey/page type of monitor on the Last test run panel click on View test run to open the Test run details page. Make sure the View performance breakdown works as expected.
On the History tab make sure the time filter correctly filters data and that the following panels are visible:
On the Errors tab make sure the time filter correctly filters data and that the following panels are visible:
Click on the Alerts tab.
Alerting page is visible.Private Locations tab and create a private location.Global Parameters tab, create a parameter and use it in one of the monitor's configurations. Link on how to do it here.Data Retention page is visible.Project API Keys page.Follow this docs to set up a project.
To push changes the command to run is:
SYNTHETICS_API_KEY=${API_KEY} npm run push
Alerts and rules dropdown, Monitor status rule and create a rule.Alerts and rules dropdown, TLS rule and create a rule.TLS certificates under Synthetics are visible.Spaces dropdown be sure * All Spaces is selected.Agent policy and Spaces fields are disabled and not editable.Advanced options → Kibana spaces, select both the default space and the non-default space.Management view; under the Spaces column confirm avatars for both spaces are shown.Advanced options → Kibana spaces choose * All spaces.Spaces column should now show a single avatar with *.Advanced options → Maintenance windows click Create.Overview page, the monitor card should display a pause icon.pause icon; a tooltip should explain that the monitor is paused due to the maintenance window.Maintenance windows, edit the window so it is no longer active.Overview page; the pause icon should disappear and the monitor should resume running.